Download

Choose the suitable image/ISO from OpenBSD, for macOS and VMware Fusion, I used install78.iso and arm64.

Installing

Using VMware Fusion:

Choosing the kernel for the VM

Once the kernel is booted, the installer asks the first question.

...
root on rd0a swap on rd0b dump on rd0b
erase ^?, werase ^W, kill ^U, intr ^C, status ^T

Welcome to the OpenBSD/amd64 7.X installation program.
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell?

Select (I)nstall and answer the questions.

System and Networking

Choose your keyboard layout ('?' or 'L' for list) **default

System hostname? (short form, e.g. ‘foo’) OpenBSD

Available network interfaces are: em0 vlan0. Which network interface do you wish to configure? (or 'done') em0

IPv4 address for em0? (or 'autoconf' or 'none') autoconf

IPv6 address for em0? (or 'autoconf' or 'none') none

Which network interface do you wish to configure? (or 'done') done

Using DNS domainname my.domain
Using DNS nameservers at 192.168.122.1

Users and Logins

Password for root account? (will not echo) = *******************

Password for root account? (again) = *******************

Start sshd(8) by default? = yes

Setup a user? (enter a lower-case loginname, or 'no') = username

Full name for user *username*? = Username

Password for user *username*? (will not echo) = *******************

Password for user *username*? (again) *******************

WARNING: root is targeted by password guessing attacks, pubkeys are safer. Allow root ssh login? (yes, no, prohibit-password) = no

What timezone are you in? ('?' for list) = UTC

Disk Setup

Available disks are: sd0Which disk is the root disk? ('?' for details) = sd0

Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? = auto

File Sets

OpenBSD is broken up into multiple parts called sets. Depending on the intended purpose of the machine, as well as the available space, you can either install all sets or only the required ones. Installing all sets is recommended for new users.

Location of sets? (cd0 disk http nfs or 'done') = cd0

Is the disk partition already mounted? = no

Pathname to the sets? 7.8/arm64

Select sets by entering a set name, a filename pattern or ‘all’. De-select sets by prepending a ‘-’, e.g.: ‘-game*’. Selected sets are labeled ‘[X]’.

[X] bsd           [X] comp6X.tgz    [X] xbase6X.tgz   [X] xserv6X.tgz
[X] bsd.rd        [X] man6X.tgz     [X] xshare6X.tgz
[X] base6X.tgz    [X] game6X.tgz    [X] xfont6X.tgz

Set name(s)? (or ‘abort’ or ‘done’) = done

Directory does not contain SHA256.sig. Continue without verification? = yes

CONGRATULATIONS! Your OpenBSD install has been successfully completed!

Exit to (S)hell, (H)alt or (R)eboot? = reboot