Skip to content Skip to sidebar Skip to footer

Fix Emergency Mode Linux Debian 9

Yesterday i made a change of partition using GParted, by shrinking and merging it into another. It's done successfully but once i booted it, it took a long time to show a linux GRUB message and an error message appear : 

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 maintainence
(or type control-D to continue):

It's happened because the UUID of previous partition are still linking to the partition that i deleted so it refers to nothing by now. All i need to do is typing mount -a to see which UUID that has these error. It will show something like this : 

UUID

After figured the UUID, write that number and head to fstab by typing nano /etc/fstab. find that number, and comment it out by giving a hash symbol (#) at the front so it will be looked like this.

Commented UUID

Restart the server and see it fixed.

Reference : Askubuntu.com