contains a file system with errors, check forced解决方法
祝嘉懿
2023-12-01
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