Virtualbox breaks with upgrade from 10.04 to 12.04

Asked by dukeofsuave on 2012-08-30

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:
2012-08-30
Last query:
2012-08-30
Last reply:
2012-08-30

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

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

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