LoginSignup
0
0

More than 3 years have passed since last update.

ubuntuで起動時にbusyboxとなり肝を冷やした話。

Posted at

概要

ubuntu18.04を使って開発をしていて、PCがハングしまして、強制終了(ポチッと)しました。
再起動したところ、

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

と出て、ubuntuが起動しなくなりました。
書いたコードはプッシュしておらず、gitには

last commit 5 hours ago

となっており、5時間の作業結果が飛んだのは痛すぎる、、、、
と思っていたのですが、

(initramfs)_

のプロンプト画面に対して、

fsck /dev/sda2

このとき下のようなたくさんエラーの修復を行いますか?というふうに聞かれるので、全てyで答えます。

> group descriptor checksums are invalid. Fix<y>?
> Pass 1: ...
...
> Pass 5: ...
> Block bitmap differences : ...
> Fix<y>?
> Free blocks count wrong for group #1 ...
> Fix<y>?

全ての修復が終わると、
exitとコマンドに入力してエンターを押すことで再起動が始まり、なんとかまたubuntuを起動できました。

よかった。。

おわり。

0
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
0
0