[問題] linux 編譯核心問題

看板Linux作者 (魏斯通)時間10年前 (2015/04/13 00:25), 編輯推噓2(202)
留言4則, 4人參與, 最新討論串1/1
最近需要重新編譯 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
什麼樣的 kernel panic ? vfs root 掛不起來?
04/13 00:37, 1F

04/13 02:10, , 2F
不知道耶 Reboot 後系統就只Show 出一行Kernel panic
04/13 02:10, 2F

04/13 05:10, , 3F
可能KERNEL有選項有問題,看一下他痛苦前在幹嘛
04/13 05:10, 3F

04/24 10:20, , 4F
http://ppt.cc/zINr 參考這篇
04/24 10:20, 4F
文章代碼(AID): #1LAfoEqL (Linux)