- 论坛徽章:
- 0
|
小弟用vmware6装了RedHat9
昨天准备将内核从2.4.20-8升级到2.6.26,编译通过,最后重启却进不去新系统
显示如下:
VFS: Cannot open root device "sda2" or unknown-block(0,0)
Please append a correct "root=" boot option;here are the available partition 0b00 1048575 sr0 driver: sr
kernal panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
grub.conf如下 :
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.6.26)
root (hd0,0)
kernel /vmlinuz-2.6.26 ro root=/dev/sda2
initrd /initrd-2.6.26.img
title Red Hat Linux (2.4.20-
root (hd0,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
因为用命令df 查看根路径是/dev/sda2,所以将上面2.6内核设置成root=/dev/sda2 ,但是启动的时候进不去,提示
VFS: Cannot open root device "/dev/sda2" or unknown-block(0,0)
哪位大侠指点一下,谢谢。。。和虚拟机有关系吗? |
|