linux系统启动报错:[contains a file system with errors, check forced]的解决方法

转载自: https://blog.csdn.net/BabyFish13/article/details/51190148

1、解决参考一
Press enter for maintenance
(or type Control-D to continue):
/dev/sda3 contains a file system with errors, check forced.
/dev/sda3: Inodes that were part of a corrupted orphan linked list found.

/dev/sda3: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)

在(or type Control-D to continue)后输入root用户的密码
首先在修复filesystem时要umount掉运行该命令:
如: umount /
运行fsck.ext3(也可使用e2fsck) -p /dev/sda3 ;未能修复
运行fsck.ext3 -y /dev/sda3
或运行fsck.ext3  /dev/sda3


2、解决参考二
\使用fsck命令解决,命令如下:
# fsck -C fd -N /dev/sda3    这之后会有如下提示
[/sbin/fsck.ext3 (1) -- /dev/sda3] fsck.ext2 -C0 /dev/sda3   继续执行命令如下
# fsck.ext3 -C0 /dev/sda3
中间提示是否yes输入y即可,看到结束提示FILE SYSTEM WAS MODIFIED  重启系统后OK!

你可能感兴趣的:(linux系统启动报错:[contains a file system with errors, check forced]的解决方法)