openbsd on a virtual machine

well, here's another blog post from myself. this time: openbsd on a virtual machine!!! it's uncompatible with my main laptop, i tried once but uh, it's generally a mess, missing drivers, hardware not detected and so on.

so i decided to make an install tutorial for openbsd, in this case the 7.6 version, because my artix system's messed up and it doesn't want to update, therefore virt-manager will report 'openbsd 7.6 (openbsd7.6)' if i try to select it, so, whatever, idk.

first create a new vm, give the version, ram, processors and basically resources and stuff like that.

then when it's booted, press 'I' to begin. choose the keyboard layout, in this case, 'es'.

then enter a hostname, then configure the network. for virtio networking it's gonna be 'vio0', so, enter, and press enter again on 'autoconf', then press again when 'none' pops up, then on 'done', again.

set the root password two times, enable sshd if you want, then it asks you for the x window system, press enter if you will run it, otherwise, enter 'no'.

when it asks for changing the default console, press enter on 'no', then enter a lowercase user, full name for it, set up a password, then enable/disable root ssh login if you want.

set the timezone, e.g. 'America/Montevideo'. then press enter on sd0 (sata disk no 0). enable encryption if you want, or just straight 'no'.

enter the disk label, in this case is generic bios/mbr, so i press 'W', and then it asks for a layout, so i press 'a' (automatic layout), you can customize it of course.

then when it asks you for the sets enter 'cd0' (it'll differ if you are using a usb drive, but since this is a vm...), then enter the path (7.6/amd64) by default.

then 'yes' on 'continue without verification'.

enter 'reboot' when done, then just let the installer reboot the machine.

go back to main index

go home...