What is VirtuaBox?

VirtualBox is an open source x86 emulator, on Devuan is not possible to install because of systemd dependencies, for this reason I recompiled from source. This post contains an how-to for setting up and using VirtualBox.


Add this to your sources.list:


deb http://hezeh.org/packages ascii main contrib non-free

At this point update your packges list and install:


sudo apt-get update && sudo apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') virtualbox

virtualbox on devuan


You can start VirtualBox in Headless mode using VBoxHeadless like this:


VBoxHeadless -startvm "virtual_machine_name"

You should run this inside a screen instance and detach the screen after starting the VM with Ctrl+a d. At least in version 4.0.x you won’t need to use screen. Just start the vm with:


VBoxManage startvm "virtual_machine_name" --type headless