Public bug reported:

I have a system with a full-disk encryption installed with 23.10. After
doing an upgrade to 24.04 from command line using `do-release-upgrade`
(everything went without a problem), I rebooted and got a initramfs
prompt complaining about root filesystem not being available.

I was able to boot using the kernel from the previous version (6.5.0)
and after inspecting the system, I found that the `cryptsetup-initramfs`
package was not installed. After installing it, it produced a new and
slightly larger initramfs. With it, I was able to boot with the 6.8.0
kernel.


From the upgrade logs, I can see the following:

```
Investigating (0) cryptsetup-initramfs:amd64 < 2:2.7.0-1ubuntu4 @ii gK Ib >
Broken cryptsetup-initramfs:amd64 Depends on cryptsetup:amd64 < 
2:2.7.0-1ubuntu4 @ii pgP > (>= 2:2.7.0-1ubuntu4)
  Considering cryptsetup:amd64 10000 as a solution to 
cryptsetup-initramfs:amd64 0
  Removing cryptsetup-initramfs:amd64 rather than change cryptsetup:amd64
```

Which I think is the culprit of the problem.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: ubuntu-release-upgrader-core 1:24.04.18
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
NonfreeKernelModules: zfs nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CrashDB: ubuntu
CurrentDesktop: MATE
Date: Thu May 30 16:37:39 2024
InstallationDate: Installed on 2024-02-25 (95 days ago)
InstallationMedia: Ubuntu-MATE 23.10 "Mantic Minotaur" - Release amd64 
(20231010)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: Upgraded to noble on 2024-05-30 (0 days ago)
VarLogDistupgradeXorgFixuplog:
 INFO:root:/usr/bin/do-release-upgrade running
 INFO:root:No xorg.conf, exiting

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug dist-upgrade noble

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

Title:
  cryptsetup-initramfs disappeared during upgrade from 23.10 to 24.04
  leading to failing boot

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2067622/+subscriptions


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

Reply via email to