(base) iMac-2019:Downloads XXX$ bzip2 -dc OPNsense-24.1-vga-amd64.img.bz2 | sudo dd of=/dev/disk5 bs=64kPassword:dd: /dev/disk5: Resource busy(base) iMac-2019:Downloads XXX$ bzip2 -dc OPNsense-24.1-vga-amd64.img.bz2 | sudo dd of=/dev/disk5 bs=64kdd: /dev/disk5: Resource busy(base) iMac-2019:Downloads XXX$ bzip2 -dc OPNsense-24.1-vga-amd64.img.bz2 | sudo dd of=/dev/disk5 bs=64kdd: /dev/disk5: end of device15304+997 records in15639+1 records out1024970752 bytes transferred in 277.000384 secs (3700250 bytes/sec)
dal: Serial Number 208411811113ec539406 dad: 48.800MB/s transfersdal: 977MB (2001888 512 byte sectors)dad: quirks=Bx2<NO_6_BYTE>GEOM: daB: corrupt or invalid GPT detected.GEOM: dad: GPT rejected - may not be recoverable.GEOM: diskid/DISK-200411011113ec53940b: corrupt or invalid GPT detected.GEOM: diskid/DISK-208411011113ec53940b: GPT rejected - may not be recoverable. mountroot: waiting for device /dev/ufs/OPNsense_Install...Mounting from ufs:/dev/ufs/OPNsense_Install failed with error 19.Loader variables: vfs.root.mountfrom-ufs:/dev/ufs/OPNsense_Install vfs.root.mountfrom.options-ro.noatimeManual root filesystem specification: <fstype>: <device> Coptions) Mount <device> using filesysten <fstupe> and with the specified (optional) option list. eg. ufs: /dev/daBsla zfs:zroot/ROOT/default cd9660:/dev/cd@ ro (which is equivalent to: mount - cd9660 -0 ro /dev/cd /)? List valld disk boot devices• Yield 1 second (for background tasks)(empty line> Abort manual inputmountroot>
Haven't written an image using dd on macOS for ages, but you may have to use rdisk5 instead of disk5 (see here).But even more important: 2GB USB stick is not big enough, the image is 2.39G unpacked.