ADD THE SLIDER CODE HERE

2011年4月13日 星期三

[轉]kernel問題

當開機時出現 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
表示需要建立 initrd的image檔


1.if下載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
***11.sudo update-initramfs -c -k 2.6.37.2
12.sudo update-grub
13.reboot



出處: http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?post_id=166134

沒有留言:

張貼留言