Ubuntu: VirtualBox “Kernel driver not installed” error despite running /sbin/vboxconfig



Question:

When starting a VirtualBox VM, I get:

VirtualBox - Error in suplibOsInit

Running sudo /sbin/vboxconfig does not fix the problem.
How to fix that?

VirtualBox 5.0.10 r104061


Solution:1

same problem with me, abort it if you not use vagrant.

the output when i run vagrant up:

The provider 'virtualbox' that was requested to back the machine  'default' is reporting that it isn't usable on this system. The  reason is shown below:    VirtualBox is complaining that the kernel module is not loaded. Please  run `VBoxManage --version` or open the VirtualBox GUI to see the error  message which should contain instructions on how to fix this error.  

output VBoxManage --version:

WARNING: The vboxdrv kernel module is not loaded. Either there is no module           available for the current kernel (3.19.0-47-generic) or it failed to           load. Please recompile the kernel module and install it by               sudo /sbin/rcvboxdrv setup             You will not be able to start VMs until this problem is fixed.  5.0.14r105127  

output sudo /sbin/rcvboxdrv setup:

Bad argument setup  

My problem solved after run this command sudo /usr/lib/virtualbox/vboxdrv.sh setup

$ sudo /usr/lib/virtualbox/vboxdrv.sh setup  Stopping VirtualBox kernel modules ...done.  Recompiling VirtualBox kernel modules ...done.  Starting VirtualBox kernel modules ...done.  $ VBoxManage --version  5.0.14r105127  


Solution:2

I found the following virtualbox dkms related packages:

  • virtualbox-dkms
  • virtualbox-guest-dkms

Did you install these packages?


Solution:3

You can always use modprobe to add a kernel module. I solved the same problem on my server by doing:

[root@mageia5][/home/afk]# modprobe -a vboxdrv  


Solution:4

This seems to be a known bug.
Running the following commands fixes the problem:

sudo /sbin/vboxconfig  sudo /sbin/rcvboxdrv setup  

Unfortunately, you will have to run these commands after each reboot.


Solution:5

WARNING: The vboxdrv kernel module is not loaded. Either there is no module available for the current kernel (4.7.1-1-ARCH) or it failed to load. Please recompile the kernel module and install it by sudo

/sbin/vboxconfig

You will not be able to start VMs until this problem is fixed.

The fix for this for me was to install the linux-headers package


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »