Public bug reported: Binary package hint: grub2
I'm trying to migrate my LVs over to a Luks volume (prompt on password at boot). Unfortunately, as soon as I add my luks-encrypted physical volume to my volume group, I'm no longer able to update my grub configuration. I've created and unlocked my encrypted partition with the following: $ sudo cryptsetup -c aes-cbc-essiv:sha256 -y -s 256 luksFormat /dev/sdb1 $ sudo cryptsetup luksOpen /dev/sdb1 crypto_agilityssd My /etc/crypttab looks like this: # <target name> <source device> <key file> <options> # cryptswap1 /dev/dm-2 /dev/urandom swap,cipher=aes-cbc-essiv:sha256 crypto_agilityssd /dev/sdb1 none luks So far so good. The device is accessible in /dev/mapper. I've created a physical volume on the device, as shown: $ sudo pvs PV VG Fmt Attr PSize PFree /dev/dm-4 lvm2 -- 46.00g 46.00g /dev/sda4 vg_thinkpad lvm2 a- 184.69g 31.66g At this point, I can run `sudo update-grub` successfully. However, if I add vgexpand, I can no longer run update-grub: $ sudo vgextend vg_thinkpad /dev/mapper/crypto_agilityssd Volume group "vg_thinkpad" successfully extended $ sudo update-grub Generating grub.cfg ... /usr/sbin/grub-probe: error: Couldn't find PV pv1. Check your device.map. ** Affects: grub2 (Ubuntu) Importance: Undecided Status: New -- update-grub fails when LVM PV exists on an encrypted partition https://bugs.launchpad.net/bugs/667060 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs