Small update. After several tests, I found that if I duplicate the
encrypted block device configuration line in /etc/crypttab, the upgrade
is successful.

I.e., in my case:

nvme0n1p3_crypt UUID=c9ffc13a-cad1-49a2-83eb-fb9002b3ebff none luks

changes to

nvme0n1p3_crypt UUID=c9ffc13a-cad1-49a2-83eb-fb9002b3ebff none luks
nvme0n1p3_crypt UUID=c9ffc13a-cad1-49a2-83eb-fb9002b3ebff none luks

I haven't tested if simply updating the timestamp on the file also does
the trick.

Note: if doing this after the upgrade, it requires to re-generate
initramfs.

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

Title:
  VG unavailable after upgrade from 18.04 to 20.04 Cannot process volume
  group vg01 Volume group "vg01" not found

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

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

Reply via email to