[Bug 1771000] Re: do-release-upgrade on a server with encrypted swap does not boot

Benjamin Drung 1771000 at bugs.launchpad.net
Fri Sep 20 12:49:49 UTC 2024


Thank you for taking the time to report this bug and helping to make
Ubuntu better.

Ubuntu 18.04 (bionic) reached end-of-standard-support on May 31, 2023.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested
in discussing it anymore. But if you are then please upgrade to the
latest Ubuntu version and re-test. If you then find the bug is still
present in the newer Ubuntu version, please add a comment here telling
us which new version it is in.

** Changed in: initramfs-tools (Ubuntu)
       Status: New => Incomplete

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

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

Status in initramfs-tools package in Ubuntu:
  Incomplete

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1771000/+subscriptions




More information about the foundations-bugs mailing list