Hi,
I want to learn about how exactly boot process of FreeBSD 13.1 with GELI + ZFS on Root on UEFI works. I read about loader(), UEFI(), geli() and, still I can not understand it.
Also I have some more specific questions too:
I want to learn about how exactly boot process of FreeBSD 13.1 with GELI + ZFS on Root on UEFI works. I read about loader(), UEFI(), geli() and, still I can not understand it.
Also I have some more specific questions too:
- I have two partitions. EFI and ZFS. The whole root filesystem is in ZFS partition which is encrypted by GELI. AFAIK, loader.conf and kernel modules are in /boot directory and it's encrypted. How does loader find out that the ZFS needs to be decrypted by which keys?
- In handbook Booting Process consists of three stages. I think by using UEFI, we are merging the first and second stage to a single one. The loader is the final stage of the three-stage bootstrap process. It is located on the file system, usually as /boot/loader. But our /boot directory is in ZFS partition which is encrypted by GELI. How does it load?