topyn 发表于 2003-12-24 14:00:11

RH9 不匹配文件系统,无法启动!

我装的是RH9,grub.conf配置如下:
             root (hd0,2)
                   kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
                   initrd /initrd-2.4.20-8.img
系统启动初始化一段之后提示如下:
Check root filesystem
          Couldn't find matching file system:LABEL=/
          *** An error occurred during the file system check.
          *** Dropping you to a shell; the system will reboot
          *** When you leave the shell.
          Give root password for maintenance
         (or type Control-D to continue):
输入root密码进入如下提示符:(Repair filesystem)1#
取消fstab中文件系统检查项也无法启动。请问如何解决?

hew 发表于 2003-12-24 14:39:36

可能是根分区上没卷标。你的分区是怎样的?

kernel /vmlinuz-2.4.20-8 ro root=LABEL=/

改为
kernel /vmlinuz-2.4.20-8 ro root=/dev/hdx,y(这里是你的根分区的位置)

试试。

修复分区用 fsck命令。

topyn 发表于 2003-12-24 14:52:15

还是不行,我的分区:/是hdc5,boot是hdc3,交换区是hdc4。

topyn 发表于 2003-12-24 15:07:14

谢谢斑竹的提醒,搞定了:-),在此之前运行过e2label命令更改过/的卷标,把/的卷标改为/就好了,e2label /dev/hdc5 /,爽啊,非常感谢斑竹hew!!!
页: [1]
查看完整版本: RH9 不匹配文件系统,无法启动!