天天看點

linux磁盤異常報錯RUN fsck MANUALLY

早上大樓異常斷電,導緻虛拟機啟動磁盤異常報錯

unexpected inconsistency;RUN fsck MANUALLY An error occurred during the filesystem check

Propping you to shell the system will reboot

when you leave the shell

Give root password for mantenna

linux磁盤異常報錯RUN fsck MANUALLY

解決過程如下:

按照系統提示,輸入root使用者的密碼,進入指令行,

1.輸入指令,查找root所在分區是多少:

mount |grep “on/”

根據結果找到root所在分區,我的是/dev/sda3

  1. 然後用指令fsck修複

fsck -y /dev/sda3

注:-y 選項指定檢測每個檔案是自動輸入yes

  1. fsck修複boot分區

fsck -y /dev/sda1

  1. reboot重新開機ok,正常進入系統

繼續閱讀