-
To start offf: However, I'm stuck on checking if I properly secured my keyfile. Hope someone can help me out - please add code snippets I can run to check, I'm just learning about initramfs/kernels/etc. I installed ZFS on Root with ZBM by following the main guide guides/ubuntu/noble-uefi with these options:
The questions I have:
This is still in the live environment; wouldn't you need to set it while chrooted?
However, in native-encryption this is shown:
Wouldn't that put the key in the ZBM? As warned in another info-block slightly above it:
Also, isn't the initramfs on an unencrypted boot partition, readable to everyone? To me it feels like the ubuntu-guide and the native-encryption pages contradict each other a bit. Granted, I don't really understand initramfs, so maybe I'm missing something obvious here.
How do I check this? This is my
And
On advice of the almighty ChatGPT I also ran
And also
Hope anyone can shed some light on this for the less advanced users. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The key has to be created in the live environment because you're also creating the pool with your encryption root in the live environment. When you get further along in the install process, one of the steps is to copy /etc/zfs into the chroot. The file will not be part of ZFSBootMenu initramfs or EFI file if you're using Dracut, because ZFSBootMenu doesn't use the system-wide dracut configuration directory, nor does it use the Dracut ZFS module. The directions work as written. |
Beta Was this translation helpful? Give feedback.
/boot
is a directory under/
. It's encrypted if your root dataset is encrypted.