Virtual Box

From The World according to Vissie
Jump to navigation Jump to search


This worked for me on Arch Linux:

pacaur -S linux-headers
pacaur -S virtualbox virtualbox-guest-iso

You will be ask for installing the core-packages:

for linux kernel choose virtualbox-host-modules-arch for other kernels choose virtualbox-host-dkms

sudo modprobe vboxguest
sudo modprobe vboxvideo
sudo modprobe vboxsf
sudo modprobe vboxdrv
sudo gpasswd -a username vboxusers

If all fails, reboot.

CLI List all VMs

VBoxManage list vms

List all running VMs

VBoxManage list runningvms

List all running VMs with extended information

VBoxManage list runningvms

Start VM in headless mode

VBoxManage startvm MyVM --type headless

Debian Stretch

I had issues using the packages version.

sudo apt-get install linux-headers-amd64 linux-headers-4.9.0-7-amd64