Linux 使用的一些常见问题,包括系统,应用程序等! /********** 不定期更新 **********/

双系统 linux引导失败—“/dev/xxx unexpected inconsistency, run fsck manually”的解决

实验室电脑安装了XP和Linux双系统,但是使用一段时间后,突然出现启动失败,具体如下问题:

unexpected inconsistency;RUN fsck MANUALLY
An error occurred during the filesystem check
Propping you to shell the system will reboot
when you leave the shell
Give root password for mantennance

首先,按照提示,输入root用户密码后,进入(repair filesystem )模式系统;
其次,在命令行输入

#mount | grep ''on /''
得到你root用户所在分区/dev/your_partition,然后输入
fsck -y /dev/your_partition
即,检测并修复磁盘/dev/your_partition,-y 选项指定检测每个文件是自动输入yes

系统提示重启,重启后还是不行

在命令行输入

fsck -y /dev/sda1

重启ok。

你可能感兴趣的:(linux)