QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 827|回复: 2

编译升级了2.4.22内核之后,挂载不了根文件系统了(救命)

[复制链接]
发表于 2003-10-13 10:34:18 | 显示全部楼层 |阅读模式
我现在的问题是找不到根文件系统了
启动时候出现的问题是
can not 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

这是怎么回事??
我怀疑是我的grub.conf编辑的不对,
其中有一项initrd=
我不知道怎么改,因为没有相关的新内核的这个文件啊??
因此就保留了老的。
是不是这个出了问题啊。

顺便,我现在连软驱都没有,就更别说启动盘了,是不是现在基本上就只有重新装linux了???
发表于 2003-10-13 12:12:05 | 显示全部楼层
grub菜单出来后, 移动选择条到你要启动的那项,按 e 进入编辑状态,编辑以下内容:

kernel /vmlinuz-2.4.22 ro root=/dev/hda1
initrd /initrd-2.4.22.img

将以上的hda1换成你的系统/boot所在卷即可 , 然后回车, 按 b 进行启动 !!!
回复

使用道具 举报

发表于 2003-10-18 14:49:17 | 显示全部楼层
follow the instruction from felix, but remove that initrd... line
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-14 11:09 , Processed in 0.044591 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表