How to Use Recovery Mode on Ubuntu to Troubleshoot Startup Issues

Ubuntu recovery mode is a troubleshooting menu launched from GRUB. It starts Ubuntu with a limited set of services and offers tools for freeing disk space, repairing package work, checking filesystems, refreshing GRUB, or opening a root shell. To enter it, restart the computer, open GRUB, select Advanced options for Ubuntu, then choose a kernel entry ending in (recovery mode).

Recovery mode is useful when a normal startup fails, but it is not a backup or a full live environment. Menu labels can vary by Ubuntu release and installation. If the disk makes unusual noises or disappears intermittently, prioritize copying important files from a live USB or getting help before running repairs that write to the disk.

Boot into Ubuntu recovery mode

  1. Restart the computer. Use the desktop’s restart command if Ubuntu still runs. If it does not, power the machine off normally if possible, then turn it on again.
  2. Bring up GRUB. On many UEFI systems, tap Esc after the firmware screen appears. On legacy BIOS systems, hold Shift during startup. The timing varies, and some computers use a firmware boot-menu key. If Ubuntu starts before GRUB appears, restart and try again.
  3. Open the advanced entries. In the GRUB menu, use the arrow keys to highlight Advanced options for Ubuntu and press Enter.
GRUB menu with Advanced options for Ubuntu highlighted
GRUB’s Advanced options entry opens the list of installed Ubuntu kernels.
  1. Choose recovery mode. Select the Ubuntu kernel entry ending in (recovery mode) and press Enter. If the problem began after a kernel update, an older kernel entry can also help identify whether the new kernel is involved. If Ubuntu uses full-disk encryption, enter the disk passphrase when prompted.
GRUB advanced options with an Ubuntu kernel recovery mode entry highlighted
The kernel version and entry order depend on the Ubuntu installation.

After startup, the Recovery Menu appears. Use the arrow keys and Enter to choose an item. Select one action that matches the problem; running every option is unnecessary. The Ubuntu recovery-mode guide documents the GRUB path and the root shell’s read-only starting state.

What the recovery menu options do

Ubuntu Recovery Menu with the network option highlighted
The Network option enables connectivity when a repair needs to download packages.

Network: connect before package downloads

Choose network when a package repair needs to retrieve files from Ubuntu repositories. A wired connection is often the simplest option in recovery mode. Networking may not work with every wireless adapter or managed network; if the repair cannot reach a repository, note the error and use a live environment or another support path.

Ubuntu Recovery Menu with the clean option highlighted
Clean is intended to make free space on the Ubuntu system.

Clean: address low disk space

clean attempts to free space, which can help when an update or startup failed because a system partition filled up. Read the on-screen summary before confirming any action. It is not a file-recovery tool and will not restore personal documents.

Ubuntu Recovery Menu with the dpkg option highlighted
Dpkg targets broken or unfinished package operations.

Dpkg: repair package-manager problems

dpkg checks for and attempts to repair broken or incomplete package installation state. Review the proposed changes before accepting them; a repair may install, configure, or remove packages. It can need a working network connection if required packages are missing. Ubuntu’s dpkg manual and APT manual explain the underlying package tools.

Ubuntu Recovery Menu with the fsck option highlighted and a filesystem check status line
Fsck checks filesystems; it does not diagnose every physical drive failure.

Fsck: check filesystem consistency

fsck runs filesystem checks and may offer repairs. This is different from scanning a drive for bad hardware, and it cannot guarantee that damaged files will be restored. Let the recovery menu handle the check. Do not run a filesystem checker manually on a filesystem that is mounted read/write; the Ubuntu fsck manual warns against checking mounted filesystems. If the check reports errors it cannot repair, stop and back up data before attempting more changes.

Ubuntu Recovery Menu with the grub option highlighted
Grub refreshes GRUB’s configuration; it is not a general disk-repair option.

Grub: refresh the boot menu

grub refreshes GRUB’s configuration and can help when menu entries are stale or missing. It does not necessarily reinstall a missing bootloader or fix every UEFI boot problem. If GRUB itself cannot start, use Ubuntu installation media and follow a bootloader-specific recovery procedure instead of guessing at disk or EFI partition commands.

Ubuntu root recovery shell showing a root prompt and read-only filesystem notice
The root shell starts with the system filesystem mounted read-only.

Root: use the administrator shell carefully

root opens a command line with administrator privileges. Ubuntu normally mounts the root filesystem read-only in this shell. If you have identified a specific file to edit, the official recovery guide documents remounting it read/write with:

mount -o remount,rw /

Run only commands you understand, because root commands can change or delete system files. If the command fails or the filesystem reports I/O errors, do not force a repair. Choose resume to try a normal boot after a repair, or restart from the shell when appropriate. Recovery mode provides powerful local access, so do not leave the computer unattended at a root prompt.

If recovery mode does not appear

If GRUB is hidden, try the startup keys again or use the computer’s one-time boot menu. If the machine uses another boot manager, the Ubuntu recovery entry may not be available there; boot the Ubuntu installation USB and use its live session to inspect the system. Avoid running fsck against a mounted root partition. For persistent boot failures, save the exact error text and check the disk health before repeating repairs.

Official references

Leave a Comment

How to Share Files Over Bluetooth on Linux with Blueman

How to Share Files Over Bluetooth on Linux with Blueman

Send and receive files over Bluetooth on Linux with Blueman. Install OBEX support, pair devices, choose a file, accept transfers, and fix common issues.

How to Connect to Servers with GNOME Files

How to Connect to Servers with GNOME Files

Connect GNOME Files to SSH/SFTP, FTP, SMB, WebDAV, or NFS with the correct server URI, sign-in details, and fixes for common connection errors.

How to Connect to Servers in Linux With the KDE Dolphin File Manager

How to Connect to Servers in Linux With the KDE Dolphin File Manager

Open SFTP, SSH, SMB, FTP, NFS, and WebDAV locations in Dolphin, sign in safely, transfer files, and save network folders for later.

How to Use a PS4 Controller on Linux: USB, Bluetooth, and Steam

How to Use a PS4 Controller on Linux: USB, Bluetooth, and Steam

Connect a DualShock 4 to Linux by USB or Bluetooth, then check controller detection and configure Steam Input only when a game needs it.

How to Speed Up the Fedora Linux App Installer

How to Speed Up the Fedora Linux App Installer

Use DNF5 parallel downloads to reduce RPM install waits in GNOME Software, then tell when mirror or Flatpak delays need a different fix.

How to Use iCloud on Linux Through Your Web Browser

How to Use iCloud on Linux Through Your Web Browser

Access iCloud on Linux in a current browser. Learn how to sign in, use iCloud Drive and other web apps, and understand the limits of browser access.

How to Back Up the Linux Bootloader to a USB Drive

How to Back Up the Linux Bootloader to a USB Drive

Save GRUB settings, boot files, and UEFI entry details to removable storage, then use rescue media to repair the correct boot path safely.

How to Install and Set Up Bitwarden on Linux

How to Install and Set Up Bitwarden on Linux

Install Bitwarden on Linux with the right DEB, RPM, Snap, Flatpak, or AppImage package, then sign in and set a secure vault timeout.

How to Change the Screensaver on Xfce: Choose a Theme and Set the Idle Time

How to Change the Screensaver on Xfce: Choose a Theme and Set the Idle Time

Pick a screensaver theme in Xfce, preview it, choose when it starts, and configure automatic locking in the separate Lock Screen tab.

How to Disable the Screensaver in GNOME Shell

How to Disable the Screensaver in GNOME Shell

Stop GNOME Shell from blanking or locking your display automatically. Change Power and Screen Lock settings, or use Caffeine for a temporary keep-awake toggle.