Give root password for maintenance

lurou發表於2012-10-31
遭遇檔案系統錯誤,報錯:Give root password for maintenance,解決辦法如下,記錄備查。[@more@]

Give root password for maintenance

Your system appears to have shut down uncleanly
press Y within 1 seconds to force file system integrity check…
checking root filesystem
/contains a file system with errors,check forced.
/:
Unattached inode 813065

/:UNEXPECTED INCONSISTENCY;RUN FSCK MANUALLY.
(i.e.,without -a or -p options)
[FAILED]

*** An error occurred during the file system check.
*** Dropping you to a shell; the system will reboot
*** when you leave the shell.
Give root password for maintenance
(or type Control-D to continue):

用以下步驟解決:

步驟一:
輸入root帳戶的密碼,注意輸入密碼的時候沒有顯示的

步驟二:
輸入: df -T
這個命令是顯示所有檔案系統格式,及其Mount point

步驟三:
若有兩個EXT2分割槽
/
/boot

那麼輸入:fsck -y /
處理 / 根目錄

輸入:fsck -y /boot
處理 /boot 目錄

步驟四:
輸入:reboot 
重啟系統

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26006637/viewspace-1059691/,如需轉載,請註明出處,否則將追究法律責任。

相關文章