tested on macos 27 and openbsd 8.0
download and verify the installer:
$ cd /tmp $ x=https://cdn.openbsd.org/pub/OpenBSD/8.0/amd64 $ curl -Os $x/SHA256 $ curl -Os $x/install80.img $ shasum -c SHA256 --ignore-missing install80.img: OK $
plug in an empty usb flash drive and find its identifier:
$ sudo diskutil list | grep external | cut -f1 -w /dev/diskX $
replace /dev/diskX with the identifier of the drive.
warning! all data on /dev/diskX will be erased.
$ sudo diskutil unmountDisk /dev/diskX Unmount of all volumes on diskX was successful $ sudo dd if=install80.img of=/dev/diskX bs=1m 850+1 records in 850+1 records out 891781120 bytes transferred in 37.531646 secs (23760778 bytes/sec) $
see also