I might be bailing from Windows, but I still need it for work. Luckily I’ve been using Virtualbox for my work machine (for a variety of reasons I won’t get into here). However, I installed Vbox 5.02 on my Ubuntu MATE laptop, imported my virtual machine, and upon first run was greeted with:
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
as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
I tried what the error said, but no dice. It could not recompile the vboxdrv kernel module. After a bit of searching around I found the following solution:
sudo apt-get install dkms build-essential linux-headers-generic; sudo /etc/init.d/vboxdrv setup