{Begin: Running /scripts/local-block ... done, stuck in initramfs} on Ubuntu 17.10 startup

I have a fresh install of Ubuntu 17.10 (erase the entire disk and let the Ubuntu installer does whatever is needed).

It looks something similar to those two questions:

  • Ubuntu drops to shell on 16.04 kernel
  • System no longer boots, gave up waiting for root device, (initramfs), /dev/mapper/gnome-root does not exist

Basically when I start pressing the shift key in order to have access to the grub menu and use the recovery mode, I end up with:

enter image description here enter image description here enter image description here


According to the screenshot, the reason of dropping to initramfs is that root partition was not found. There could be two reasons for that:

  1. UUID is not correct in GRUB's kernel menu for root parameter
  2. LVM has not been loaded by initrd and since your root partition is on an LVM volume it was not able to find it

To verify if it's #1 or #2, run the following commands in initramfs console:

vgchange -ay
blkid | grep <uuid that you see on screen>

If the UUID is found then it's #2 (LVM was not loaded by initrd), and you should follow this link: Can't find LVM root dropped back to initramfs

If UUID was not found, you will simply need to provide the correct UUID in root parameters of your GRUB menu.

To figure out what the right UUID is run blkid to see what is assigned to the root partition. There is usually a 'root' word in the partition mount point, e.g. on my machine blkid would show something like this:

/dev/mapper/ubuntu--server-root: UUID="9daacbc2-160c-..." TYPE="ext4"

I had same problem on Ubuntu 16.04, 4.4.0-116 kernel. I solved problem by installing appropriate linux-image-extra package.