Use physdiskwrite
wget https://fleximus.org/mirror/opnsense/releases/mirror/OPNsense-17.1.4-OpenSSL-vga-amd64.img.bz2bzip2 -d OPNsense-17.1.4-OpenSSL-vga-amd64.img.bz2dd if=OPNsense-17.1.4-OpenSSL-vga-amd64.img of=/dev/sda bs=16k
Note: For compatibility with non-UEFU BIOSes, drives can still create a dummy MBR in sector zero, which provides just enough code to read sector 1, parse it, and transfer control to the active partition like a UEFI BIOS would
SizeOfPartitionEntry (usually 128 bytes) * NumberOfPartitionEntries (usually 128 entries)
128 bytes * 128 entries = 16,384 bytes / 512 bytes per sector = 32 whole sectors
128 bytes * 3 entries = 384 bytes / 512 bytes bytes per sector = not even one whole sector
5.3.1 GPT overviewThere is a 32-bit CRC of the GPT Partition Entry Array that is stored in the GPT Header in Partition Entry Array CRC32 field. The size of the GPT Partition Entry Array is Size Of Partition Entry multiplied by Number Of Partition Entries. If the size of the GUID Partition Entry Array is not an even multiple of the logical block size, then any space left over in the last logical block is Reserved and notcovered by the Partition Entry Array CRC32 field.
gptboot: primary GPT table checksum mismatchgptboot: backup GPT table checksum mismatchgptboot: unable to load GPT