Re:Show HN: Zectl – ZFS Boot Environment Manager for Linux
by kevans91 on Wednesday March 18, 2020 @10:57PM
(#22623954)
Presumably it would be like FreeBSD's GELI, where early boot stuff would need to detect that it's looking at an encrypted root and know to prompt. In theory, this is relatively straightforward- with boot environments, the zpool bootfs property indicates the root dataset, so I wouldn't think you need to look too far.
[edit: this is done in our loader, so presumably you'd use grub?]
Re:Show HN: Zectl – ZFS Boot Environment Manager for Linux
by Gigamo on Wednesday March 18, 2020 @07:05PM
(#22622413)
If you're using Arch, the zfs hook that comes with the archzfs package takes care of this:
https://github.com/archzfs/zfs-utils/blob/master/zfs-utils.i...
I only know how to use the systemd-ask-password hack to decrypt non-root datasets, but can’t get my head around how that would work with fully encrypted root dataset.