linux启动报错 裸体跪求达人指点 小弟新手,请详细教我

来源:百度知道 编辑:UC知道 时间:2024/05/26 23:07:42
操作系统 Red hat Enterprise Linux As (2.4.21-9.ELsmp)
启动报错:
Your system appears to have shut down uncleanly
Press Y within 1 Seconds to force file system integrity check …
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.
fsck.ext2 : / :
The superblock could not be read or does not describe a correct ext2 file system. If the device is valid and it really contains an ext2 file system (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck –b 8193 <device>
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

很明显了,你的sda7有问题,而你的根目录就在sda7上,所以系统启动不了。你在fsck的时候都没有通过。
#fsck.ext2 /dev/sda7
e2fsck 1.32 (09-Nov-2002)
Couldn’t find ext2 superblock, trying magic number in superblock while trying to open /dev/sda7
The superblock 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 something else), then the superblock is corrupt ,and you might try running e2fsck with an alternate superblock:
e2fsck –b 8193 <device>
而在启动提示中,也说到:
fsck.ext2 : / :
The superblock could not be read or does not describe a correct ext2 file system. If the device is valid and it really contains an ext2 file system (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck –b 8193 <device>
翻译:
超级块无法被读取且没有包含一个正确的ext2文件系统。如果设备是有效的并且确实含有一个ext2文件系统(并且没有swap或ufs等其他东西),那么说明超级块是坏的,你可以尝