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!

9 comments:

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

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

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

    Ugo

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

    ReplyDelete
  5. Nice, thanks for sharing.

    ReplyDelete
  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.

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

    ReplyDelete
  8. Hello There. I found your blog using msn. This is a really well written article. I will make sure to bookmark it and come back to read more of your useful information. Thanks for the post. I will definitely return.
    skip bin hire brisbane

    ReplyDelete
  9. Read here carefully to know about the ultimate destination to sell your unwanted vehicles. According to auto wreckers, Brisbane registered around 19.8 million cars and a 1.5 per cent increase in the national fleet as of 31st January 2020. Providing their exemplary car removal services for several years, Car Wreckers Brisbane gives you an impressive amount of cash in exchange for your unwanted cars.

    ReplyDelete