免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1585 | 回复: 6
打印 上一主题 下一主题

系统启动无法找到引导文件,请帮忙 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 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=/)
还是不行,但是我不知道如何修改了,请高手指点一下。

论坛徽章:
0
2 [报告]
发表于 2007-01-02 22:23 |只看该作者
我的电子信箱是wuyou1224@163.com

论坛徽章:
0
3 [报告]
发表于 2007-01-03 00:31 |只看该作者
晕阿,高手快来

论坛徽章:
0
4 [报告]
发表于 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?

论坛徽章:
0
5 [报告]
发表于 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吧?

论坛徽章:
0
6 [报告]
发表于 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)

论坛徽章:
0
7 [报告]
发表于 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=/   ?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP