Virtualbox breaks with upgrade from 10.04 to 12.04

Asked by dukeofsuave

Upgraded from 10.04 to 12.04 today and was prompted to upgrade virtualbox.

After upgrade virtualbox does not work and gives 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 reinstall the kernel module by executing: '/etc/init.d/vboxdrv setup' 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."

Tried to reinstall and tried solution from JonCage:

 - https://forums.virtualbox.org/viewtopic.php?f=7&t=51191.

Any help appreciated.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu virtualbox Edit question
Assignee:
No assignee Edit question
Solved by:
dukeofsuave
Solved:
Last query:
Last reply:
Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#1

while you are waiting for a good answer please read the already answered questions here:
https://answers.launchpad.net/ubuntu/+source/virtualbox

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#2

The site you quoted , mentions VB 3.1.8 in the title.

The newest version of VB now is 4.1.20 : https://www.virtualbox.org/wiki/Downloads

I will suggest to purge the virtualbox you have and then install the package DKMS (if you not have it) and download and install the newer version.

Of course you will lose your VirtualBox O.S you previously setup , but this is the price for a new and worked VB.

You can wait for a more appropriate answer, if you want.

If you decide to move with purging , do not forger to remove the VirtualBox(unhidden) and .VirtualBox(hidden) folders from your home, manually.

Thanks

Revision history for this message
dukeofsuave (dukeofsuave) said :
#3

Here is what worked for me:
Source: http://ubuntuforums.org/showthread.php?t=1988724 (Thanks Umor)
sudo apt-get install linux-image-generic-pae
sudo apt-get install linux-headers-generic-pae