-
Notifications
You must be signed in to change notification settings - Fork 5
Description
First off, I 100% know this is my issue, I am just not understanding the requirements correctly.
After generating the EFI image and putting it in place I get prompted for my password on system boot. ZFSBootmenu loads as normal and hands off to the OS. However, no matter what variation I try I end up either
A) Not unlocking the volume
B) Get an error that the keyfile is not found and it drops back to the password
C) I get a password prompt without trying the keyfile
I note that when I get dropped into the emergency shell the file is indeed created at /etc/cryptsetup-keys.d/luks-$UUID.key
This I have tried:
- Setting the bootoptions with keyfile:
zroot/ROOT/default org.zfsbootmenu:commandline ZFS=zroot rw cryptdevice=UUID=9471eed2-09f4-4f2d-9323-9ac4b814c4b4:cryptroot cryptkey=/etc/cryptsetup-keys.d/luks-9471eed2-09f4-4f2d-9323-9ac4b814c4b4.key local
This causes me to get prompted for the password after the keyfile fails
-
setting without the keyfile
This is the same as above but ommitting the cryptkey option -
Setting the /etc/crypttab
cryptroot UUID=9471eed2-09f4-4f2d-9323-9ac4b814c4b4 /etc/cryptsetup-keys.d/luks-9471eed2-09f4-4f2d-9323-9ac4b814c4b4.key luks
I'm not exactly sure what I am doing wrong and was hoping to get some guidance.
Thank you