I also have this problem (with a LUKS & LVM). As a workaround, I did:

1) boot into live CD, start a terminal and do everything as root (sudo -i)
2) open the encrypted LUKS partition: cryptsetup luksOpen /dev/nvme0n1p3 
nvme0n1p3_crypt

Note that the name (in my case "nvme0n1p3_crypt") must match the name that is 
in the etc/crypttab . Otherwise the later generated initramfs will not work 
correctly.
3) vgscan && vgchange -ay vgubuntu
4) mount /dev/vgubuntu/root /mnt
5) mount /dev/nvme0n1p2 /mnt/boot    # this is my /boot partition
6) mount --bind /dev /mnt/dev && mount --bind /sys /mnt/sys && mount --bind 
/proc /mnt/proc
7) chroot /mnt
8) chmod 755 /usr/share/initramfs-tools/hooks/lvm2
9) update-initramfs -u

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1915579

Title:
  lvm2 version 2.03.11-2ubuntu1 breaks initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1915579/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to