Ubuntu is not booting but printing weird things, either
/run/lvm/lvmetad.socket: connect failed: No such file or directory
/sbin/cryptsetup not found
then falls back to busybox after a few minutes (sometimes..).
The error appeared after moving onto a new hard disk where I had to delete an encrypted partition. After
chrooting into the root partition and running
udpate-initramfs -u the error mentioned here popped up:
cryptsetup: WARNING: could not determine root device from /etc/fstab
My setup: I followed the setup proposed here. Now I have a
/ btrfs volume inside LUKS with an unencrypted
/boot partition. All this running on EFI with secure boot disabled.