2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

LinuxPCを使っていたらerrorが出てREAD Onlyになってしまった。。contains a file system with errors, check forced

Posted at

LinuxPCを使っていたらerrorが出てREAD Onlyになってしまった。。
再起動したらこのようなメッセージが出る

/dev/sda5 contains a file system with errors, check forced.
/dev/sda5:
Inodes that were part of a corrupted orphan linked list found.

/dev/sda5: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
(i.e., without -a or -p options)
Fsck exitted with status code 4
The root filesystem on /dev/sda5 requires a manual fsck

BusyBox v1.30.1 (Ubuntu 1:1.30.1-4ubuntu6.3) buult-in shell(ash)
Enter 'help' for a list of built-in commands.

以下の手順で復旧

(initramfs) fsck /dev/sda5

以下のようなメッセージが出るが全てyes(結構たくさん出るが焦らずyes)

Error reading block 1027 (Attempt to read block from filesystem resulted in short read).  Ignore error? yes
Force rewrite? yes

無事に修復されたようで、exitで再起動すると無事に起動した。

…
***** FILE SYSTEM WAS MODIFIED *****
(initramfs) exit

参考

Ubuntuがブート時にmanual fsckが必要だとしてinitramfsで止まった時
2013年秋のファイルサーバHDD障害発生

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?