replacing zfs disk (freebsd-boot vs freebsd-efi)
vas at sibptus.ru
Wed Oct 30 16:02:32 UTC 2019
mike tancsa wrote:
> > gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 ada0
> > The above ^^^^^ should be unnecessary. Your UEFI firmware will find the
> > partition of the "efi" type and try to load /EFI/BOOT/BOOTX64.EFI from
> > there, which in turn will sniff your ZFS filesystems for the loader.
> I think FreeBSD's install added it by default. I wonder if that was done
> to make the disks portable between EFI and non EFI systems ? I will have
> to test to see if thats the case.
If you select "GPT (UEFI)" during installation, FreeBSD's install does
not even create a freebsd-boot partition.
If you select "GPT (BIOS)", it may create it, I think.
Victor Sudakov, VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet http://vas.tomsk.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 455 bytes
Desc: not available
More information about the freebsd-questions