Thursday, May 27, 2010

VirtualBox, OpenBSD and VT-x extensions

So OpenBSD requires VT-x extensions, which VirtualBox can happily pass through to it, so long as the underlying CPU has such extensions. My desktop doesn't, so on booting the VM, it segfaults everywhere. Someone here had a neato solution:

# get the UID of the OpenBSD VM
VBoxManage list vms
# now start that with no raw IO
VBoxSDL -norawr0 -vm UID

For me, problem solved!


  1. I now have a machine with a VT-x enabled CPU, so I no longer need this hack.

  2. The fix still works. (OpenBSD 5.1, VirtualBox 4.1.14 r77440)