|
发表于 2004-7-27 08:10:12
|
显示全部楼层
看来我没有给兄弟解释清楚:sorry
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 filesysyem (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>
超级块可能出问题了
按照提示信息修复的方法
进入rescue模式后,在出现提示信息
不要建立网络连接,
The rescue environment will now attempt to find your Red Hat
Linux installation and mount it under the directory
/mnt/sysimage. You can then make any changes required to your
system. If you want to proceed with this step choose
'Continue'. You can also choose to mount your file systems
read-only instead of read-write by choosing 'Read-only'.
If for some reason this process fails you can choose 'Skip'
and this step will be skipped and you will go directly to a
command shell.
不要自动加载,选择“skip”,
然后ctrl+alt+f2,进入vc2,
使用如下命令:
mount -o ro /
fsck -b 8193 /dev/hda
exit
重启之后,应该可以正常进入rescue模式,
此时再次出现上述信息时,可以选择“continue”
然后chroot /mnt/sysimage
修改/etc/fstab
注意:
vi的使用方法──
vi /etc/fstab --> 打开文件
"i" 进入编辑,在当前位置插入
"ESC" 退出编辑
"Shift+:" vi的命令模式,其中wq写入并退出,q!退出不保存,
建议把你自己所添加的挂载win分区的行都注销(行首添加#号)
保存后退出。
重启进入linux后,请把你的/etc/fstab贴上来,看看什么错误。 |
|