Minimum size of freebsd-boot

Matthias Fechner idefix at
Sat Jun 23 07:24:09 UTC 2018

Am 21.06.2018 um 18:15 schrieb Manish Jain:
> Under GPT, FreeBSD needs a freebsd-boot partition of max size 512 KB.
> Is there a minimum size too ? 

I use:

gpart add -a 4k -s 128M -t efi ada0
gpart add -a 4k -s 256K -t freebsd-boot -l boot0 ada0
gpart add -a 4k -t freebsd-zfs -l zroot0 ada0

This will create a 128MB partition to use EFI if wanted.
Create a 256KB boot partition which is more than enough.
Use the rest for a ZFS setup.



"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook

More information about the freebsd-questions mailing list