[問題] 編譯核心問題
Hi all,
環境:Ubuntu 10.04 LTS
NB:HP Presorio V3000
第一次編譯 linux kerenl,編譯完kernel之後遇到重新開機卻無法順利開機問題。
build steps如下:
1.下載linux-2.6.37.2.tar.bz2
2.cd linux-source
3.cp /boot/config-2.6.32-28-generic .config
4.make clean
5.sudo make menuconfig
6.Load .config file , exit and saved.
7.make-kpkg --revision 0.0.1 --initrd kernel_image kernel_headers
8.build done.
9.dpkg -i linux-headers-2.6.37.2_0.0.1_amd64.deb
10.dpkg -i linux-image-2.6.37.2_0.0.1_amd64.deb
以上,編譯完之後,有產生headers 及image,然後下完指令dpkg -i,reboot 電
腦,選擇Ubuntu,Linux 2.6.37.2 卻無法正常開啟。
顯示的msg如下:
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,0)
圖:http://ppt.cc/a0m9
有先google過此問題,但是討論串有點雜
我該如何去確定這個問題,是否有前輩可以指點迷津。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.36.56.176
→
02/27 00:42, , 1F
02/27 00:42, 1F
hi tdjf:
是這個嗎? 抱歉,我還不知道何謂"kernel cmdline"
menuentry 'Ubuntu,Linux 2.6.37.2' --class ubuntu --class gnu-linux --class
gnu --class os {
recordfail
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set
1a19c7b3-5960-400c-92bb-1f602cbc6423
linux /boot/vmlinuz-2.6.37.2 root=/dev/sda6 ro quiet splash
※ 編輯: braverycloud 來自: 114.36.56.176 (02/27 01:25)
→
02/27 09:21, , 2F
02/27 09:21, 2F
推
02/27 11:58, , 3F
02/27 11:58, 3F
→
02/27 11:58, , 4F
02/27 11:58, 4F
→
02/27 11:59, , 5F
02/27 11:59, 5F
推
02/27 12:18, , 6F
02/27 12:18, 6F
→
02/28 16:28, , 7F
02/28 16:28, 7F
→
02/28 16:28, , 8F
02/28 16:28, 8F
→
02/28 16:29, , 9F
02/28 16:29, 9F
→
02/28 16:29, , 10F
02/28 16:29, 10F
※ 編輯: braverycloud 來自: 114.36.53.187 (02/28 16:40)
討論串 (同標題文章)