PDA

View Full Version : [ubuntu] The vboxdrv kernel module is not loaded


pHuXx
June 2nd, 2009, 09:40 AM
I updated to Jaunty and am getting this:

q@q-desktop:~$ sudo VirtualBox
[sudo] password for q:
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (2.6.28-11-generic) or it failed to
load. Please recompile the kernel module and install it by

sudo /etc/init.d/vboxdrv setup

You will not be able to start VMs until this problem is fixed.

When i do sudo /etc/init.d/vboxdrv setup:

q@q-desktop:~$ sudo /etc/init.d/vboxdrv setup
* Stopping VirtualBox kernel module * done.
* Recompiling VirtualBox kernel module
* Look at /var/log/vbox-install.log to find out what went wrong

So what should i do.
Please help.

bluefrog
June 3rd, 2009, 12:10 PM
* Look at /var/log/vbox-install.log to find out what went wrong
as said

Perryg
June 3rd, 2009, 12:13 PM
I would suggest that you do what the message is telling you to do.
Look at /var/log/vbox-install.log to find out what went wrong

Probably you need the kernel-headers for you Linux version, but this will be in the last few lines of the log.

pHuXx
June 3rd, 2009, 07:28 PM
"Look at /var/log/vbox-install.log to find out what went wrong"

This is var/log/vbox-install.log:

/etc/init.d/vboxdrv: 342: /usr/share/virtualbox/src/vboxdrv/build_in_tmp: not found


So what should i do.

squareff255
February 11th, 2010, 04:20 AM
I FOUND THE SOLUTION! You just need to use the following commands


cd /etc/init.d

and then...

sudo mv vboxdrv.dpkg-bak vboxdrv

and finally...

sudo /etc/init.d/vboxdrv setup

Then, if you have any virtualbox anything running, shut it off and turn it back on. Worked for me on Ubuntu 9.10 Karmic Koala with VirtualBox 3.1.2

ntitdost
May 16th, 2010, 05:51 AM
I

sudo mv vboxdrv.dpkg-bak vboxdrv


My system don't have file vboxdrv.dpkg-bak, I use 10.04. Maybe have any mistake here?

jospehko
September 18th, 2011, 05:28 AM
sudo /etc/init.d/vboxdrv setup
solved my problem....


Thank you.
Joseph