ExlionS NOTE

Exlion's ROOMの離れ日記

foltiaで停電した時に出るエラーの対応 fsck処理

2018-07-03 21:24:18 | PC

こんなんが出た時の自分用メモ

UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)

*** 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):


Give root password for maintenance
(or type Control-D to continue): ←パスワード


>mount

/dev/sda1 on / type ext4 (rw)

こんな感じで出てくるんで

> fsck -t ext4 /dev/sda1

こんな感じで復旧する


/で始まる上のようなデバイスとか
/bootとしてマウントされているものとかを対象にfsckを試すと良いっぽい。

不正確だけど、まぁ動くようになるから深く考えないでおこう