Installation steps for running Arch Linux with root on ZFS using UEFI and systemd-boot. All steps are run as root.
Requires an Arch Linux image with ZFS built-in (see 16, 17).
If using KVM, add a Serial number for each virtual disk and reboot the VM. The disks should now be available in /dev/disk/by-id as virtio-<Serial>.