Edit: found this for you, it's the closest to a full guide as I could find, and specifical for Arch and Systemd systems if you still need a good detailed step by step guide that is:
https://gist.github.com/kdwinter/2e779a … 928860fbb5
Mod edit: merged accidental quote/edit into original post -- WorMzy
]]>I would like to achieve following setup:
/dev/sda -> ZFS -> rpool -> arch linux dataset (encrypted)
On the rpool also zvol, which would be LUKS encrypted and contain a filesystem with a key for the encrypted dataset/datasets.
Booting would look like:
Boot grub (or systemd-boot or anything else)
Importing the rpool, creating the block device for the LUKS zvol
Starting LAN connection sshd/dropbear
Prompting for password/allowing ssh connection to unlock the LUKS zvol and mount it
Load the key for encrypted dataset(s) from the LUKS filesystem, then ideally closing the LUKS
Mount the encrypted dataset as / (+ any other)
Boot into it.
Has anyone done something similar/can share a guide? The wiki does not exactly cover the steps…
Many thanks…
]]>