Failed to connect to lvmetad - Stuck on boot

I upgraded my PC to Ubuntu 17.10, and now that I've restarted my PC I get this message:

Failed to connect to lvmetad.
Falling back to device scanning.
/dev/mapper/ubuntu--vg--root: clean, 500699/15081472 files, 9150222/60315648 blocks

It gets stuck on this.

What's the problem and how can I fix it?


I had a very similar experience, not sure if it'll help you though. My computer had some updates installed, needed a reboot but hey, nobody got time for that. Well along came a power outage and forced me to reboot. When I turned on my machine, I got just the same message you saw. Crap. I couldn't even get into virtual terminals 1 or 2 either which was really weird. Anyway, I somehow found your post and read that switching the kernel version made everything work. So I went and tried that out and sure enough, what you said applied to me too.

With my primitive knowledge of linux commands, I did get an idea of how to fix this. So I rebooted into the newest kernel, then switched to the virtual terminal ctrl+alt+f3 <- had to use the third because 1 and 2 weren't working. From here I ran sudo apt-get update && sudo apt-get upgrade -y to get everything up to date. Then ran sudo apt-get autoremove to remove the older kernels. Then I re-installed the current kernel (get the version from uname -r) and then I ran sudo apt-get install --reinstall linux-image-4.13.0-32-generic to reinstall the current kernel and rerun all the building of things that might not have been run since I didn't switch to this kernel properly. Finally, I restarted again.

After the restart I was having the same problem still. Welp, maybe it has to do with my graphics drivers? So I went ahead and purged my nvidia drivers sudo apt-get purge nvidia-* and reinstalled the drivers sudo apt-get install nvidia-387 ~ Granted, I don't know what version of their driver I should be using, nvidia afik doesn't have just a standard package that you can install that follows the latest - but this one installed just fine for me... After that super slow install, I restarted again.

And my computer came back to life. Woohoo. I genuinely hope this helps someone. It took me 4 hours of frustrated pounding to get my desktop back and I really hope I can save someone else from that. Thanks for your post and your update, you gave me the lead that I needed to solve this for myself.


The accepted answer helped me quite a lot (thank you!)

Though in my case neither booting with an older kernel nor the nvidia driver could solve it... it just turned out my disk had run full (as I saw with df). I could delete files by booting into recovery mode and from then on boot normally again :)

I hope this hint is useful to anyone stuck in this situation


In my case I saw this error after apt upgrade, and when I use recovery mode to reinstall the kernel(get version by uname -r), I finally see some error of hdaudio.

Then, I check dpkg logs by

cat /var/log/dpkg.log | grep "xorg-xserver-video*"

and found that the earliest, working version of drivers are HWE versions(have "-hwe" in name), but now dpkg -l | grep xorg-xserver-video shows that it is not installed(not in ii state, maybe removed by apt upgrade).

So I enable the network in recovery mode, installed them back(actually only xorg-xserver-video-all-hwe-18.04), along with xorg-xserver-input-all-hwe-18.04(drivers for input, as during the first successful boot I cannot use mouse nor keyboard), and reboot. Good again.

Thanks! I will never upgrade Intel or Nvidia drivers again. I guess that lvmetad never worked from the beginning, but it does not prevent the OS from boot so we never saw it, until the failure of video driver brings us to the black screen, thus the wrong impression.