···3939# Format the boot partition
4040mkfs.vfat -F32 /dev/sda1
41414242+# Swap
4343+mkswap /dev/sda2
4444+swapon /dev/sda2
4545+4246# Create the pool on the drive, use reasonable settings
4347echo "Creating zroot..."
4448zpool create -f $ZFS_OPTS zroot /dev/sda3
···4953mount /dev/sda1 /mnt/boot
50545155# This create the zvols used in this cluster
5252-zfs create -o mountpoint=none zroot
5356for zvol in "tmp" "nix" "cache" "persist"; do
5457 zfs create -o mountpoint=legacy zroot/$zvol
5558 mount -t zfs zroot/$zvol /mnt/$zvol