Linux下開機異常(fsck exited with status code 4)
阿新 • • 發佈:2018-12-26
Linux下開機異常
事情是這樣的,本來我呢跑著程式聽著歌,結果忽然就宕機了,我只能強制關機,再次開啟系統的時候,就提示這樣
fsck from util-linux 2.26.2
/dev/sda10 contains a file system with errors, check forced.
/dev/sda10: Inodes that were part of a corrupted prphan linked list found.
/dev/sda10: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
fsck exited with status code 4
The root filesystem on /dev/sda10 requires a manual fsck
查了一個部落格,說是sd卡損壞,磁碟檢測不能通過,可能是因為系統突然斷電或其它未正常關閉系統導致。根據他的方法,
fsck.ext3 -y /dev/sda10
提示fsck.ext3 not found,索性我就改為,
fsck -y /dev/sda10
之後再重新啟動,就可以了。不知道有沒有通用性,大家有這個問題的可以試試。