Ubuntu 18.04 can't boot (emergency mode)
This happened to me too, and it took me a bit of time to realize it was due to a bad entry in my /etc/fstab
... I was setting up multiple OSes on different partitions, and at some point one of the partitions' UUID changed, so when I booted a previously working OS, it failed because it didn't find the UUID defined in /etc/fstab.
To fix it I simply commented out using #
the unmountable partition, then rebooted. I later was able to remount the desired partition.
Related videos on Youtube
Haithem Chagwey
Updated on September 18, 2022Comments
-
Haithem Chagwey almost 2 years
After shutting down the PC too many times while the kernel is loading my Ubuntu 18.04 doesn't boot anymore. It falls into emergency mode the grub wasn't showing before:`
The black screen after I select Ubuntu from the grub boot menu:
I ran
journalctl -xb
and this is what I got:I don't know what's causing these errors, but after reading some questions here I think that the problem is related to disk partitions. after running
cat /etc/fstab
:after running
lsblk -f
:-
user535733 over 5 yearsLooks like you damaged your filesystem. That can happen when you shutdown uncleanly (don't do that anymore). Look up how to run
fsck
to repair your filesystem.
-