月別アーカイブ 2018年10月31日

VMWare上のDebian8を起動時に UNEXPECTED INCONSISTENCY で起動しない

VMwareでLinuxを使用していると、ファイルシステムに以上がでることがたまにあります。

電源が突然落ちた時など、
ファイルシステムに整合性がなくなった状態になることがあります。
その場合、以下ようにLinux 起動時にエラーで止まります。

Your system appears to have shut down uncleanly
Press Y within 3 seconds to force file system integrity check…
Checking root filesystem

/dev/sd1: 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 for normal startup):

fsckを手動で実行します。

fsck -t ext3 /dev/sd1