Monday, 1 February 2010

Virtualbox module needs recompiling after every reboot

Karmic would give me the message:

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. Re-setup the kernel module by executing

'/etc/init.d/vboxdrv setup'
Every time a virtualbox was initialised after rebooting. This would require the command given to be run with sudo privileges every single time, a lengthy and irritating wait.

This can be simply solved by adding the line "vboxdrv" to /etc/modules

So, in the terminal:

sudo gedit /etc/modules

Copy paste "vboxdrv" (without quotes) onto a line at the bottom of the file
Save and exit

Voila, hopefully problem solved!


  1. Thank You! It's been driving me nuts...
    Ubuntu 10.04 and VBox 3.2.

  2. Perfect! Worked like a charm here! Thank you so much!
    Ubuntu 10.10 and VBox 4.0 B)

  3. Thanks a lot, it worked on a Debian Mint!!


  4. This happens, for example, if you install the VMWare Workstation on the same host as Virtualbox.
    Your solution works perfectly. Thank you!

  5. Nice, thanks for sharing.

  6. Thanks. I ran into this on Debian 7 when installing the latest Virtualbox from Oracle as a replacement for the older OSE version from the stable debian repositories.

  7. Worked perfectly on Ubuntu 15.04 with Oracle VB 5.0.2, Win7 guest OS. Thanks a lot, was driving me crazy.