QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 657|回复: 3

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

[复制链接]
发表于 2003-12-24 14:00:11 | 显示全部楼层 |阅读模式
我装的是RH9,grub.conf配置如下:
              [code:1] root (hd0,2)
                   kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
                   initrd /initrd-2.4.20-8.img [/code:1]
系统启动初始化一段之后提示如下:
[code:1]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):[/code:1]
输入root密码进入如下提示符:[code:1](Repair filesystem)1#[/code:1]
取消fstab中文件系统检查项也无法启动。请问如何解决?
发表于 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命令。
回复

使用道具 举报

 楼主| 发表于 2003-12-24 14:52:15 | 显示全部楼层
还是不行,我的分区:/是hdc5,boot是hdc3,交换区是hdc4。
回复

使用道具 举报

 楼主| 发表于 2003-12-24 15:07:14 | 显示全部楼层
谢谢斑竹的提醒,搞定了:-),在此之前运行过e2label命令更改过/的卷标,把/的卷标改为/就好了,e2label /dev/hdc5 /,爽啊,非常感谢斑竹hew!!!
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-30 11:27 , Processed in 0.037140 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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