Booting into rescue,emergency or recovery mode on ubuntu
Booting into rescue,emergency or recovery mode on ubuntu
Ubuntu 22.04
Rescue Mode
-
Hold Shift (for BIOS) or press Esc (for UEFI) during boot to access the GRUB menu.

-
In GRUB, highlight the kernel like Ubuntu and press e to edit.
-
Find the line starting with linux and append:
systemd.unit=rescue.target

-
Press Ctrl + X or F10 to boot.

-
Remount root filesystem as read-write.
mount -n -o remount,rw /
Emergency Mode
-
Hold Shift (for BIOS) or press Esc (for UEFI) during boot to access the GRUB menu.

-
In GRUB, highlight the kernel like Ubuntu and press e to edit.
-
Find the line starting with linux and append:
systemd.unit=emergency.target

-
Press Ctrl + X or F10 to boot.

-
Remount root filesystem as read-write.
mount -n -o remount,rw /
Recovery Mode
-
Hold Shift (for BIOS) or press Esc (for UEFI) during boot to access the GRUB menu.

-
In GRUB, highlight the kernel like recovery mode and press enter to boot.

-
Choise root option to open a shell prompt.

-
Remount root filesystem as read-write.
mount -n -o remount,rw /