I read gptboot(8) and gpart(8). So I'm confused. Is /boot/pmbr a bootstrap code that will be embedded in a protective MBR? Or is /boot/pmbr the protective MBR image that will be embedded in the first sector of the disk?
Thanks.
Thanks.
The code in /boot/pmbr and /boot/mbr is stored in the same place, the 512 bytes inside the partition table. They function differently though, /boot/mbr looks for a partition/slice that's marked active whereas pmbr looks for a freebsd-boot partition and starts the /boot/gptboot or /boot/gptzfsboot code that's stored inside it.