How to exit emergency mode and boot to default mode in Linux? Linux

There would situations when the OS can go into emergency mode due to several reasons. This particular method is when one of the filesystems in corrupted. This document describes how to exit emergency mode and boot to default mode in Linux.

You will see the following screen –

Welcome to emergency mode! After logging in, type “journalctl -xb” to view system logs, “systemctl reboot” to reboot, “systemctl default” or ^D to try again to boot into default mode.

Give root password for maintenance (or type control-D to continue):

The below steps exits emergency mode and boot the server to default mode in Linux

Step 1: Please type in the root password. This may be your password. Reboot the server if required.

Step 2: CTRL+D and try again to reboot if it fails again.

Step 3: Press CTRL+ALT+DELETE which will reboot the server

Step 4: If the above steps do not resolve the issue, restart the server with CTRL+D with the root password and try following commands to reboot the server in default mode.

Step 5: Note down all valid mount points before running the unmount command. The following commands will unmount all the disks

# unmount -a

Step 6: The next step is to edit the fstab file in /etc folder (/etc/fstab).  Comment using the # the unmounted mount points.

Step 7: The next to reboot the server and the system will reboot in default mode.

At Velan, our server support engineers can help you on how to exit emergency mode and boot to default mode for your servers. We troubleshoot problems like these for our clients every day. If you are interested in our service, please fill the Quick connect form to get in touch with us

Credentials

Quick Connect With Us


    captcha
    reload