DEV Community

Stack All Flow
Stack All Flow

Posted on • Originally published at stackallflow.com on

How to fix ‘modprobe vboxdrv’ error in virtualBox?

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?

Accepted Answer

As the first step run this command:

sudo modprobe vboxdrv

Enter fullscreen mode Exit fullscreen mode

If it’s not helpful run these commands:

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

Enter fullscreen mode Exit fullscreen mode

Then reboot your system and after reboot run this command:

sudo modprobe vboxdrv

Enter fullscreen mode Exit fullscreen mode

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.

The post How to fix ‘modprobe vboxdrv’ error in virtualBox? appeared first on Stack All Flow.

Discussion (0)