红联Linux门户
Linux帮助

Linux下的repair filesystem 问题

发布时间:2007-04-27 00:46:38来源:红联作者:xuanchengzi
我在一台机子的硬盘上安装了好几个操作系统,当时我的硬盘显示为hda,我用这个硬盘安装在另外一台机子上时显示为hdc,我用grub的命令行手动启动硬盘上其他的linux系统都没有问题,而启动 位于hdc5 上的Fedora Core3 ,系统启动时出现repair filesystem 问题,用了fsck /dev/hdc5也不管用,具体显示界面如下

checking root file system
fsck.ext3/dev/hda5
The super block could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or somthing else),then the superblock is corrupt,and you might try runnin e2fsck with an alternate superblock;
e2fsck -b 8193 ,device>
:no suck file or directory while trying to open /dev/hda5
*** An error occurred during the filesystem check
*** Droping you to a shell
*** waring --SELinux is active
*** disabing security enforcement for system recovery
*** Run 'setenforce 1'to reenable.
Give root passward for mainteance
(or type control-D to continue

我前几天在摆渡的贴吧里贴出来,后来自己把硬盘的ide插槽换了一个地方,在linux下它显示为hdax,就可以启动了,再也没有出现上述问题,如果有同样问题的朋友不妨试一试,也许会管用。
文章评论

共有 0 条评论