FreeBSD: Encrpyted ZFS Root with Geli

ZFS is supposed to support encryption, but it does not yet on FreeBSD. In a previous post I wrote about setting up ZFS on FreeBSD where the root file system uses UFS and the rest goes to logical ZFS volumes. This time I use geli to encrypt a disk partition and use ZFS for the root file system. I encountered a few problems which I’d like to document here. The FreeBSD Handbook section on encrypted disks show how to set up encrypted disks with geom or geli. »