I install virtualBox on Ubuntu 16.04, but after install and create new virtual Host shows this 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 install virtualbox-dkms package and load the kernel module by executing

modprobe vboxdrv

as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT. 

How to address this modprobe vboxdrv error?

  • Do you try ‘sudo modprobe vboxdrv‘ ? – Ali Razmdideh May 31 '17 at 11:01
  • See this question is exactly the same just a few hours ago. Maybe one of the comments will help you aswell since Jimmi hasn't said yet what helped him. – Ziazis May 31 '17 at 11:17
up vote 32 down vote accepted

As the first step run this command:

sudo modprobe vboxdrv

If it's not helpful run these commands:

sudo apt update
sudo apt install --reinstall linux-headers-$(uname -r) virtualbox-dkms dkms

Then reboot your system and after reboot run this command:

sudo modprobe vboxdrv

And if it doesn't work you must disable Secure Boot in your BIOS/UEFI settings because Secure Boot prevents unsigned modules from being loaded.

  • 3
    Hi, After run sudo modprobe vboxdrv, show this error: modprobe: ERROR: could not insert 'vboxdrv': Required key not available – mySun May 31 '17 at 13:08
  • @mySun Is your problem solved ? If my answer is not be helpful , please read this post instructions to solve Required key not available issue : askubuntu.com/questions/760671/… – Ali Razmdideh May 31 '17 at 13:39
  • I read this post and find my problem :-) Thank you. – mySun May 31 '17 at 15:19
  • I didn't need to reboot but your apt install method did work. – flyingdrifter Nov 6 '17 at 2:58
  • What's the best way to automate it at boot? Should I put it into /usr/lib/modules-load.d? – yuranos87 Jul 18 at 15:34
  1. Uninstall virtualbox-dkms and its configurations by running the below commands:

    sudo apt-get remove virtualbox-dkms
    sudo apt-get remove --purge virtualbox-dkms
    
  2. Install Linux headers and Linux image by running the below command:

    sudo apt-get install -y linux-headers-amd64 linux-image-amd64
    
  3. Install virtualbox-dkms

    sudo apt-get install -y virtualbox-dkms
    
  • My system cannot find linux-headers-amd64 or linux-image-amd64 Trying apt dist-upgrade instead. – david.perez Jun 4 at 9:26
  • linux header installation has to be generic sudo apt install --reinstall linux-headers-$(uname -r) virtualbox-dkms dkms – Nav Nov 23 at 3:16

In my case it has to do with UEFI being active. In that case, unsigned kernel modules like vboxdrv aren't loaded.

More info here: Could not load 'vboxdrv' after upgrade to Ubuntu 16.04 (and I want to keep secure boot)

protected by Community Jan 31 at 14:28

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.