LoginSignup
8
7

Ubuntuが起動しないときの対処法

Last updated at Posted at 2023-08-20

NVIDIA GPUがある環境でUbuntu22.04をインストールしたら起動画面で固まってしまったので修復方法を共有したいと思います。

各パートで共通のこと

紹介するコマンドはリカバリーモード起動したroot環境で実行することを想定しています。

リカバリーモードの入り方

  1. 電源押したらshift連打
  2. networkをenterインターネットを有効にする。
  3. rootをenterして選択する。
  4. またenterしてshellに入る

まず初めに
apt updateapt upgradeはすると良いと思います

mtd device must be supplied (device name is empty)

apt install --reinstall ubuntu-desktop

👇心配性な人へ

apt purge ubuntu-desktop
apt install ubuntu-desktop

dev/sda1: clean, 1578871/3532952 files, 532523/52352525 blocks

👆ここら辺の数字は適当。環境によって違うはず。

apt purge nvidia*
ubuntu-drivers autoinstall

ACPI error

vim /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT変数にloglevel=3を追加する。

GRUB_CMDLINE_LINUX_DEFAULT='quiet splash loglevel=3'

編集したら以下を実行

update-grub
8
7
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
8
7