在某些情况下,非正常关机可能造成文件系统的损坏,甚至无法正常启动系统。比较常见的系统提示是:
MOUNTING USB filesystem: OK
CHECKING ROOT FILESYSTEM
/ CONTAINS A FILE SYSTEM WITH ERRORS CHECK FORCED
/ : |===========================
ERROR READING BLOCK 2129978 (ATTEMPT TO READ BLOCK FROM FILESYSTEM
RESULTED IN HORT READ)WHILE DOING INODE SCAN
UNEXCECTED INCONSISTENCY; RUN FSCK ANUALLY
(i.e.,without -a or -p options)
……
Give root password for maintenance
(or type Control-D for normal startup):
这时可以直接输入root密码,然后回车进入修复模式,运行:
fsck /dev/hda1
fsck /dev/hda2
……
一般只需要检查Linux根分区,如果系统最终提示passed,说明检查和修复通过。重新启动即可正常进入Linux。
Linux非正常关机之后系统文件错误无法进入系统的
内容版权声明:除非注明,否则皆为本站原创文章。
转载注明出处:https://www.heiqu.com/89ab9c5c50399fcd2d31ef0756d89aa1.html