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

Ubuntuで「UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.」と出て起動できない時の対応方法

Posted at

image.png

VMWare上のUbuntuを起動しようとした際に、以下のようなエラーメッセージが表示され、起動できなくなりました。

[    2.529603] piix4_smbus 0000:00:07.3: SMBus Host Controller not enabled!
/dev/mapper/vgubuntu-root contains a file system with errors, check forced.
/dev/mapper/vgubuntu-root:
Inodes that were part of a corrupted orphan linked list found.

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

BusyBox v1.30.1 (Ubuntu 1:1.30.1-7ubuntu3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)

環境

  • VMWare Workstation 15
  • Ubuntu 22.04

手動でファイルシステムの修復を実行する

ファイルシステムに不整合があり、自動修復ができなかったようです。

↓エラーメッセージのこの部分

/dev/mapper/vgubuntu-root: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.

(UNEXPECTED INCONSISTENCYは日本語で「予期せぬ矛盾」)

手動でファイルシステムの修復を実行すると直りました。

  1. initramfsシェルでfsck実行

    以下のコマンドでファイルシステムのチェックを実行します。

    fsck /dev/mapper/vgubuntu-root
    

    何度か修復するかどうかを聞かれるので、全部 y を打ちました。

  2. 再起動

    reboot コマンドを打っても再起動しなかったので、VMWareから仮想マシンを再起動しました。

    よく考えるとinitramfsに入っていたので、exit を打てばよかったかもしれません。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?