Chinaunix

标题: 系统启动无法找到引导文件,请帮忙 [打印本页]

作者: yl_xyz    时间: 2007-01-02 22:21
标题: 系统启动无法找到引导文件,请帮忙
启动系统时报以下信息
VFS:Cannot open root device "LABEL=/" or 00:00
Please append a correct "root=" boot option
Kernel panic:VFS:Unable to mount root fs on 00:00
因为系统的根目录在/dev/sda5上,所以我修改了grub.conf中
root (hd0,0)
              kernel /vmlinuz-2.4.21-20.Elsmp ro root=/dev/sda5(这里原来是ro root=LABEL=/)
还是不行,但是我不知道如何修改了,请高手指点一下。
作者: yl_xyz    时间: 2007-01-02 22:23
我的电子信箱是wuyou1224@163.com
作者: yl_xyz    时间: 2007-01-03 00:31
晕阿,高手快来
作者: briangao    时间: 2007-01-03 01:18
Did you use LVM for your / partition? Can you try root="LABEL=/" instead of /dev/sda5 ? If it doesn't work, can you boot from your cd and go into rescue mode, use fdisk -l to find all your partitions and  do e2label ( such as e2label /dev/sda1 ) on each one of them to find where is your root partition?
作者: shanya    时间: 2007-01-03 11:02
原帖由 yl_xyz 于 2007-1-2 22:21 发表
启动系统时报以下信息
VFS:Cannot open root device "LABEL=/" or 00:00
Please append a correct "root=" boot option
Kernel panic:VFS:Unable to mount root fs on 00:00
因为系统的根目录在/dev/sda5上,所以我修改了grub.conf中
root (hd0,0)
              kernel /vmlinuz-2.4.21-20.Elsmp ro root=/dev/sda5(这里原来是ro root=LABEL=/)
还是不行,但是我不知道如何修改了,请高手指点一下


应该是问题所在吧.

1,明明是sda5.为何root(hd0,0)?
2,grub下.如果你是sda5.那么应该是sda4吧?
作者: yl_xyz    时间: 2007-01-03 23:51
(hd0,0)指/boot分区,/sda5(也就是(hd0,4))指/ 分区,这两天我查找了一下资料,感觉不应该是grub.conf,不过有可能如4楼所说,label有问题,但我怀疑/boot里文件有问题,因为引导kernel文件应该无误,所以恐怕还是/boot/grub/目录中不太合理,请教一下,/boot/grub/下,menu.lst必须有么,(redhat as3.5)
作者: briangao    时间: 2007-01-04 04:25
from the message you posted, it seems that the boot loader has successfully found the kernel file. So it should not be your kernel file problem. However, it doesn't hurt to double check it. The menu.lst file should present. It is a symbolic link to your grub.conf file. But it should not be the cause of your problem. Have you tried: kernel /vmlinuz-2.4.21-20.Elsmp ro root=LABEL=/   ?




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2