linux系統啟動報錯:[contains a file system with errors, check forced]的解決方法參考【ZT】
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、解決參考二
機房一臺Centos的server無法正常啟動,檢查後應該是/dev/sda3這塊硬碟的邏輯卷無法載入所致,使用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!