[問題] linux 編譯核心問題
最近需要重新編譯 linux kernel
不過發生了一個嚴重的問題
就是我安裝好新的kernel 之後重開機
會有kernel panic 的問題
不曉得我的步驟是否正確
os: ubuntu 14.04
kernel version : 3.13.0-49-generic
步驟如下:
1. sudo apt-get install fakeroot build-essential kernel-package libncurses5
libncurses5-dev
2. cd /usr/src
sudo apt-get source linux-source-3.13.0
3. cd linux-source-3.13.0
make menuconfig
load /boot/config-3.13.0-49-generic
save file .config
exit
make-kpkg clean
fakeroot make-kpkg --initrd kernel_image kernel_headers
4. cd ..
dpkg -i linux-image-XXXX.Custom_i386.deb
dpkg -i linux-headers-XXXX.Custom_i386.deb
參考網頁:http://it.livekn.com/2013/01/compile-kernel.html
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 101.3.47.240
※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1428855950.A.D15.html
推
04/13 00:37, , 1F
04/13 00:37, 1F
→
04/13 02:10, , 2F
04/13 02:10, 2F
推
04/13 05:10, , 3F
04/13 05:10, 3F
→
04/24 10:20, , 4F
04/24 10:20, 4F