[Bug 2119293] Re: Failure to boot after installing using zfs+encryption on a small disk - cryptsetup not present in initramfs
Olivier Gayot
2119293 at bugs.launchpad.net
Tue Oct 7 12:01:35 UTC 2025
Tested using the 25.10 server RC ISO. The cryptoswap partition is not
present (because I gave my VM a small disk), but the system still boots.
** Changed in: subiquity
Status: Fix Committed => Fix Released
** Changed in: subiquity (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/2119293
Title:
Failure to boot after installing using zfs+encryption on a small disk
- cryptsetup not present in initramfs
Status in curtin:
Fix Committed
Status in subiquity:
Fix Released
Status in subiquity package in Ubuntu:
Fix Released
Status in subiquity source package in Noble:
New
Bug description:
I am installing Ubuntu desktop 24.04 on a VM using a daily ISO
(20250729) and refreshing the ubuntu-desktop-bootstrap snap to
revision 413 (c5e4e62ce) to get the fix for bug 2107381.
The installation succeeds but then the system fails to boot afterwards
and drops me into an initramfs prompt.
``` (output is mangled)
Key load error: Failed to open key material file: No such file or directory
Command: mount -o zfsutil -t zfs rpool/ROOT/ubuntu_umzabf /root//
Message: zfs_mount_at() failed: encryption key not loadedzfs_mount_at() failed: encryption key not loadedmount: mounting rpool/ROOT/ubuntu_umzabf on /root// failed: Permission denied
Error: 2
Failed to mount rpool/ROOT/ubuntu_umzabf on /root//.
Manually mount the filesystem and exit
Busybox v1.36.1 (Ubuntu 1:1.36.1-6ubuntu3.1) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs)
```
$ kvm-test --install --boot --iso /srv/iso/noble-desktop-amd64.iso
--profile desktop --recreate-target
Interestingly, running the same test on an XPS 9320 succeeds.
To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/2119293/+subscriptions
More information about the foundations-bugs
mailing list