Convalesco

Current revision: 0.11

Last update: 2026-05-12 08:59:55 +0000 UTC

Kindness is a language the dumb can speak and the deaf can hear and understand.

Christian Nestell Bovee , Thoughts, Feelings, and Fancies - 1820-1904 AD


Running OpenBSD 7.8 in UTM

Date: 12/05/2026, 11:25

Category: technology

Revision: 1



UTM is a great open source application that enables macOS users to run guest operating system through emulation or virtualisation. OpenBSD 7.8 is supported but the configuration requires some tweaking. I’m sharing the options I’ve used to run OpenBSD 7.8 with internet connectivity.

System

QEMU

Devices

Drives

Then you can proceed with the standard installation process.

Post Installation

After the installation has been complete, you can remove the CD/DVD from Drives -> USB Drive -> Clear. On the first boot there’s probably no internet connectivity. The ethernet device should be available under em0. Make sure you enable dhcp:

vm01# echo 'dhcp' > /etc/hostname.em0
vm01# sh /etc/netstart em0
vm01# ifconfig em0
em0: flags=808843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,AUTOCONF4> mtu 1500
        lladdr 0e:8b:01:94:86:01
        index 1 priority 0 llprio 3
        groups: egress
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
        inet 192.168.64.2 netmask 0xffffff00 broadcast 192.168.64.255
# ping -c 3 www.openbsd.org
PING www.openbsd.org (199.185.178.80): 56 data bytes
64 bytes from 199.185.178.80: icmp_seq=0 ttl=240 time=166.079 ms
64 bytes from 199.185.178.80: icmp_seq=1 ttl=240 time=173.314 ms
64 bytes from 199.185.178.80: icmp_seq=2 ttl=240 time=168.283 ms

--- www.openbsd.org ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 166.079/169.226/173.314/3.028 ms

Enjoy!