Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
Virtualbox Kernel driver not installed

Recently I updated my kernel to 3.2.0-29-generic. After this, my VirtualBox is not opening and showing up an error message

VirtualBox - Error in suplibOsInit
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.

To make it work, I have to execute the following command each time:

sudo modprobe vboxdrv

as suggested elsewhere.

It is very annoying. Can anybody help on this? So I can run VirtualBox without needing to execute that command after every boot. I must mention that, I tried several other option suggested in various forums (including reinstalling VirtualVox, DKMS package, etc), but nothing gave me permanent solution.

share|improve this question

marked as duplicate by fossfreedom Aug 28 '12 at 20:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
What version of Virtual Box? What's the output of sudo /etc/init.d/vboxdrv setup? –  Takkat Aug 28 '12 at 6:33
    
Did you do as root /etc/init.d/vboxdrv setup? And what version of Virtualbox are you using. all ready been asked: askubuntu.com/questions/41118/kernel-driver-not-installed?rq=1 –  maniat1k Aug 28 '12 at 18:11
add comment

1 Answer 1

You must reinstall the kernel module as requested in the error message.

sudo /etc/init.d/vboxdrv setup

Make sure you have dkms installed and you will not face this problem anymore after kernel upgrade.

sudo apt-get install dkms
share|improve this answer
4  
false, I'm experiencing this problem and I have dkms installed. Furthermore, there is no /etc/init.d/vboxdrv file in (Ubuntu 12.10 at least) –  weberc2 Jan 10 '13 at 23:01
    
I have same problem. there is no vboxdrv in /etc/init.d/. –  shgnInc Apr 7 '13 at 10:29
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.