do-release-upgrade on a server with encrypted swap does not boot

Bug #1771000 reported by Frédéric Grosshans
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

I’ve upgraded a server to bionic beaver, and it couldn’t boot anymore. Using the “recovery boot” option hanged a long time with the message "waiting for resume device".

Some googling lead be to the bug #206358, and I deduced that do-release-upgrade “messed with my swap” (as said by @aldebx on there). This was a LVM set-up with an encrypted swap, which may explain the bug.

My workaround, form the root login of the recovery mode was the following
1. comment out the RESUME line in /etc/initramfs-tools/conf.d/resume
2. rebuild the initramfs with update-initramfs -u
3. mount the /boot partiton to actually put the initramfs on the correct place

Now the systems boots again, but this problem shouldn’t have happened in the first place.

Tags: bionic
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.