FreeBSD on ZFS without using the whole drive

After trying freeBSD13.2 on a thumb drive I decided to install it on a hard drive, but I don't want to use the whole hard drive! The only way to do that is to manually partition the drive. Following this guide, Root On ZFS /GPT ZFS Boot, I first tested the process on Oracle's VM VirtualBox. The whole installation process went just fine, but I get this message when booting:
# No booting medium found!
I booted with installation image again, went to shell and ran: gpart show and everything looks the way it should. I mounted the efi partition and all the directories (EFI and BOOT) are there with the correct efi binary file. I have no idea the reason it didn't work? Any clues?
 
System not UEFI booting but set to CSM boot? This uses the freebsd-boot partition. If that's missing you can't boot it that way. So verify if the system has actually been configured to UEFI boot. With VirtualBox you have to enable EFI under the system settings of the VM.
 
Have you set in the VirtualBox Manager the guests System, Motherboard, Extended Features: Enable EFI (special OS only)?

Change also the chipset from PIIX3 to ICH9, otherwise the FreeBSD VM doesn't power off.
 
Have you set in the VirtualBox Manager the guests System, Motherboard, Extended Features: Enable EFI (special OS only)?

Change also the chipset from PIIX3 to ICH9, otherwise the FreeBSD VM doesn't power off.
I missed that setting, it worked.
 
Back
Top