Set up tschingel host with encrypted ZFS, measured boot and disko VM test #126
Loading…
Reference in a new issue
No description provided.
Delete branch "tschingel-setup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Sets up the new tschingel host (ThinkPad X1 Gen13) with a native-ZFS encrypted disko layout, TPM-based measured boot, and an on-demand VM test for the disk layout.
Host setup
Disko/ZFS VM test
New
tests/directory with a disko install test for tschingel's full disk layout (format, mount idempotency, install, real encrypted boot, assertions on pools/datasets/mounts/swap/LUKS). Runs on demand vianix run .#slow-checks— deliberately not part ofnix flake check. The disko config is parameterized (dotfiles.tschingel.disko.*) so the test uses small disk sizes.Bugs the test caught (all would have broken the real install/boot)
zpool import -lcould not find the ZFS keyRequiresMountsFor=/keystorechained up throughsysroot.mount, so the initrd-switch-root conflict withkeystore.mountmade systemd unmount /sysroot and drop the switch-root job — boot hung foreveroptions, so disko-zfs stripped them every boot (unmounting /home)A follow-up TPM2/lanzaboote reboot test is designed in
TPM_TEST.mdfor a future session.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.