LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 536|回复: 3

删掉/root中的一些文件后, redhat 9不能启动,出现以下一些提示:

[复制链接]
发表于 2004-9-9 14:55:47 | 显示全部楼层 |阅读模式
Checking root file system
WARNING:Your /etc/fstab does not contain the fsck passno field. I will kludge around things for you, but you should fix your /etc/fstab file as soon as you can.

/:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and if really contains an ext2 filesystem (and not swap or ufs or something else), the superblock is corrupt, and you might try running e2fsck with an alternate superblockZ:
  e2fsck -b 8193 <device>

fsck.ext2: Is a directory while trying to open /           [FAILED]

*** 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 password 后, 出现:
bash: id: command not found
bash: id: command not found
bash: id: command not found
bash: [:  too many arguments

(Repair filesystem) 1 #

请问这是怎么回事? 应该如何恢复正常使用?
谢谢
发表于 2004-9-9 18:30:08 | 显示全部楼层
Seems like an mis-configured fstab.
发表于 2004-9-9 18:32:30 | 显示全部楼层
1,删除了哪些文件是否记得?
2,把/etc/fstab内容贴上来
 楼主| 发表于 2004-9-10 20:07:26 | 显示全部楼层

谢谢大家

由于我急着用电脑, 所以又重装系统了, 是在不好意思,谢谢大家了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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