Fixing Virtualbox error “Kernel driver not installed rc= 1908”

The error

When you try to start Virtualbox you get the following runtime error:

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing


sudo apt install dkms

Once you have the dkms package installed:

sudo /etc/init.d/vboxdrv setup

Alternative Solution

You can try to install dkms manually:

sudo apt-get remove virtualbox-dkms
sudo apt-get install virtualbox-dkms

Enable manually by executing:

sudo modprobe vboxdrv
sudo modprobe vboxnetflt