Minimalist installation of OpenBSD on a Raspberry Pi 4
- Raspberry Pi 4 Model B
- OpenBSD 7.3 arm64 image
- 1 USB flash drive
- 1 ssd
- USB to TTL Serial Adapter
- Done with a macOS Ventura 13.5.1 box, but almost any would do
- Follow the intructions to Download the OpenBSD arm64 image or get it from your favorite mirror
% curl -O https://ftp.eu.openbsd.org/pub/OpenBSD/7.3/arm64/miniroot71.img % curl -O https://ftp.openbsd.org/pub/OpenBSD/7.3/arm64/SHA256 % shasum -a 256 -c --ignore-missing SHA256
- Create the install media:
- identify the USB flash with
diskutil list
- unmount it
diskutil unmountDisk disk4
, obviouslly disk4 was my case not necessary yours # dd if=miniroot.img of=/dev/disk4
-
Prepare the RP3 with the USB drives connected and the internet connection ready
-
Connect the USB Serial Adapter to your computer this way:
-
Access to the terminal with
# cu -l /dev/cu.usbserial-110 -s 115200 | tee /tmp/cu.log
-
Start the RP3 and follow the OpenBSD install instructions
Welcome to the OpenBSD/arm64 7.3 installation program. (I)nstall, (U)pgrade, (A)utoinstall or (S)hell?
- Notice that once installed not all USB drives are fast enought to boot OpenBSD on a RP4
- find out your usbserial typing and using the tab on
/dev/cu.usbserial