You need the following hardware:
- a computer
- USB to RS232 (serial) cable with DB9 connector or adapter
- USB drive
- apu4d4 or other apu2 system
Connect the USB drive to your computer. Use
dd to copy the OpenBSD image onto it:
user@host ~$ dd if=installXX.fs of=/dev/sdX
Make sure you use the correct devices.
Unmount the USB drive, disconnect it from your computer and connect it to the apu2.
Connect your serial cable setup to your computer and the apu2. Power the apu2 up.
On Linux connecting to the serial console works like this:
user@host ~$ screen /dev/ttyS0 115200
On macOS it works like this:
user@host ~$ ls /dev/cu.usbserial* /dev/cu.usbserial /dev/cu.usbserial-1234 user@host ~$ screen /dev/cu.usbserial-1234 115200
PuTTY should work on Microsoft Windows.
You should see a boot menu prompt:
Select your USB drive.
boot> prompt is being displayed, type:
stty com0 115200
Press enter, then type:
set tty com0
Press enter to execute the command. The baud rate for
com0 has been set to
115200, as required by the APU2, and
com0 has been activated as text terminal for the installation.
Press enter again to start the boot process. The OpenBSD installation should begin.
Two options need to be set during installation to make the serial console work on the soon-to-be-installed system:
- Accept (or set)
vt220as terminal type.
- Change the default terminal to
com0and set the speed to
After the system has been installed, unplug the USB drive and reboot into your fresh OpenBSD installation. Remember to run