Upgrading from 18.04 to 20.04 encrypted installation with LUKS and LVM makes it unbootable without manual intervention

Bug #1877473 reported by Serhiy
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lvm2 (Ubuntu)
New
Undecided
Unassigned
ubuntu-release-upgrader (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Volume Group metadata had to be upgraded manually with

vgck --updatemetadata yourvgname

The VG name was somehow changed from lvm-name to just name and I had to edit /etc/crypttab and update-initramfs -u -k all

Also cryptsetup-initramfs package was deleted for some reason, had to re-install it in chroot. Maybe it happened because I have disabled installing recommended and suggested packages or maybe because none of *buntu-desktop packages are installed on my system. Not sure if I have to report it as a separate problem, please advise.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: lvm2 2.03.07-1ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-29.33-generic 5.4.30
Uname: Linux 5.4.0-29-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: KDE
Date: Fri May 8 01:35:04 2020
SourcePackage: lvm2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Serhiy (xintx-ua) wrote :
Serhiy (xintx-ua)
summary: Upgrading from 18.04 to 20.04 installation requires manual intervention
- for system to be bootable
+ for system with LUKS and LVM to be bootable
summary: - Upgrading from 18.04 to 20.04 installation requires manual intervention
- for system with LUKS and LVM to be bootable
+ Upgrading from 18.04 to 20.04 encrypted installation with LUKS and LVM
+ unbootable without manual intervention
Serhiy (xintx-ua)
summary: Upgrading from 18.04 to 20.04 encrypted installation with LUKS and LVM
- unbootable without manual intervention
+ makes it unbootable without manual intervention
Revision history for this message
Brian Murray (brian-murray) wrote :

Please include the log files from your upgrade, which can be found in '/var/log/dist-upgrade', to this bug report. Running 'apport-collect 1877473' should do this automatically. Thanks in advance!

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Incomplete
Revision history for this message
Serhiy (xintx-ua) wrote :

Can't. /var/log is in tmpfs and I didn't save them unfortunately. Feel free to close this as a duplicate of https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1874381

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.