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?

GRUB shell から Ubuntu をレスキューモードで起動する

0
Last updated at Posted at 2026-02-07

クラウドとかでもレスキューモードに入りたい時ってあるじゃないですか。
でもタイミングがシビアすぎて連打しまくってたら GRUB shell にドロップしてしまって、再起動の繰り返し……
マジでつらい。

なんか全然検索しても全然出てこないので、とりあえず自分の環境(Oracle Cloud Infrastructure の
VM.Standard.A1.Flex インスタンス。Ubuntu 22.04)で動いたコマンドを置いておきます。
Tab で補完が効くので、バージョンとかよく分からなかったら手当り次第 Tab を連打すればモーマンタイです。

set root=(hd0,gpt1)
linux /boot/vmlinuz-6.8.0-1042-oracle root=/dev/sda1 ro single
initrd /boot/initrd.img-6.8.0-1042-oracle
boot
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?