Ubuntu 18.04 can't boot (emergency mode)

7,832

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.

Share:
7,832

Related videos on Youtube

Haithem Chagwey
Author by

Haithem Chagwey

Updated on September 18, 2022

Comments

  • Haithem Chagwey
    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:`

    enter image description here

    The black screen after I select Ubuntu from the grub boot menu:

    the screen after I select Ubuntu from the grub

    I ran journalctl -xb and this is what I got:

    error1

    error 2

    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 cat /etc/fstab

    after running lsblk -f:

    after running lsblk -f

    • user535733
      user535733 over 5 years
      Looks 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.