grub forgets to ask for passphrase of encrypted zfs partition

Bug #2064597 reported by geole0
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
subiquity
New
Undecided
Unassigned

Bug Description

Good morning
I have just painfully installed ubuntu in an experimentally encrypted ZFS disk. see this discussion:
https://bugs.launchpad.net/subiquity/+bug/2061302

But the installation crashes at startup in busybox with the message
cryptsetup: warning: dm_crypt-0 couldn't determine devicetype. assuming defaul
t (plain)
 cryptsetup: warning: Option 'cipher' missing in crypttab for plain dm-cryp mapp
ing dm_cript-0. Please read /user/share/docs/cryptsetup-initramfs/README.intiramfs
.gz and add the correct 'cipher' option to your crypttab(5).
cryptsetup: warning: Option 'size' mssing in crypttab for plain dm-cryp mappin
q dm_cript-0. Please read /user/share/docs/cryptsetup-initramfs/README.intiramfs.g
z and add the correct 'size option to your crypttab(5).

Command: /sbin/zpool import -c /etc/zfs/zpool.cache -N 'rpoll
Message; cannot import 'rpool':: pool was previously in use from another system.
Last acceded by ubuntu (hostid=38138694) at Wed 1 13:52:31 2024
The pool can be imported, use 'zpool import -f' to import the pool.
cachefile imprt failed.rerying
Error: 1

Failed to import poot 'rpool' and exit

Busybox v1.36.1 (ubuntu 1:1.36.1-6ubuntu3) builtin shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)

So i do
zpool import bpool -f
zpool import rpool -f
no error are detected

Then I decide to reboot. My secret phrase is then requested The boot then goes perfectly well

I would like to point out that during installation, the software asked me to "continue testing" and that I answered yes.
I had only looked at the contents of the EFI partition.

I am now logged in and a software problem has occurred....

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.