Ubuntu is known for its stability and reliability, but occasionally, you may run into issues that prevent your system from booting properly. In such situations, Ubuntu offers a powerful tool called Rescue mode.

Whether you’re a seasoned Linux user or a newcomer facing a system hiccup, Rescue mode can be your lifeline to get your Ubuntu installation back on track. Here’s how to boot your Ubuntu system into Rescue or Emergency mode.

Rebooting the Ubuntu System

Boot Into Rescue Mode on Ubuntu

To boot into Rescue or Emergency mode, first,reboot your Linux system. Consequently, you will see the following GRUB menu:

Highlight theUbuntuentry and hit theEkey to edit its boot parameters.

Adding the following text to boot into Rescue Mode on Ubuntu

When usingUbuntu on VirtualBoxor VMware, press theEsckey after reboot to view the GRUB menu.

Now, use the arrow keys to move to the end of the file and find the line starting withlinux. Then, add this:

Adding the text to boot into Emergency Mode on Ubuntu

To boot into Emergency mode, add:

PressCtrl + XorF10to boot into your preferred mode.

PressCtrl + DorEnterfor maintenance. For instance, now you may mount the root file system with:

Moreover,view and analyze system logswith:

Booting into Rescue Mode on Ubuntu

Exiting Rescue Mode or Emergency Mode

To exit from the Emergency or Rescue mode, pressCtrl + Dor run:

After some time, the system will boot normally.

After reboot, the GRUB boot parameters will be automatically reverted.

Get Back on Track With Ubuntu’s Rescue Mode

With Rescue Mode, you have the means to recover your Ubuntu system and keep it running smoothly. Whether you’re facing a minor glitch or a major system error, mastering Linux troubleshooting is an essential skill that can save the day when your Ubuntu installation faces adversity.

viewing the system logs using the journalctl command on Ubuntu