Installing OpenBSD snapshot (using a 4.6 iso)
I wanted to install the most recent version of OpenBSD in a KVM virtual machine.
Unfortunately, the only iso provided by the hosting company was the 4.6 version.
So here is how I installed the latest version of OpenBSD:
(This assumes you have access to the console and a working network connection)
-
Configure the KVM to use ide and e1000 emulation
-
Attach the 4.6 iso. Boot the machine and install 4.6
-
Once the 4.6 system is running and networking is up, download the newer bsd.rd from an OpenBSD mirror.
-
Move this file to the root of the filesystem, e.g.
mv bsd.rd /bsd53.rd
-
Shutdown the virtual machine
-
Replace the ide and e1000 devices with their virtio counterpart
-
Boot the virtual machine
-
At the
boot>
prompt enter: boot bsd53.rd
-
Proceed with installation of the 5.3 version using ftp or http as the media source
-
Reboot and done