Recompiling Virtualbox Kernel Module
July 7th, 2008If after installing a new kernel you may get an error message when you try to start Virtualbox saying something like ‘The vboxdrv kernel module was either not loaded…’. If you then read the logs the solution is actually written there.
Re-setup the kernel module by executing ‘/etc/init.d/vboxdrv setup’ as root.
Sure enough this command fixes the problem and rebuilds the kernel module for the currently running kernel.
# /etc/init.d/vboxdrv setup Stopping VirtualBox kernel module [ OK ] Recompiling VirtualBox kernel module [ OK ] Starting VirtualBox kernel module [ OK ]
July 19th, 2008 at 1:50 pm
This is what I get…
# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [ FAILED ]
Starting VirtualBox kernel module [ FAILED ]
Am running Fedora 9 64 on a AMD AM2
September 4th, 2008 at 1:41 pm
Hi All, I got the same error . I ‘m running FC9 . I got eh following error msg , Can some one please let me know what is the prob…..I use the following link for installing vbox ,
http://spoilt.blogsite.org/wordpress/index.php/2008/05/06/how-to-install-virtualbox-on-fedora-8
Error: sudo /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
Thanks in App.
October 26th, 2008 at 4:06 pm
In FC9, I uninstall the VirtualBox and then I install it again. I don’t lose any file.
December 3rd, 2008 at 12:25 am
sudo /etc/init.d/vboxdrv setup
worked form me. AMD Athlon 5000+ 64 Ubuntu Kernel 2.6.27-9-generic
When I tried previously it said vboxdrv setup could not be found. But it worked today.
Thanks.
January 10th, 2009 at 4:52 pm
“sudo /etc/init.d/vboxdrv setup ”
This doesn’t work in Fedora 10. If fails to recompile the VirtualBox kernal module.
January 20th, 2009 at 4:55 am
I have Fedora 10 64 and this work for me. Thanks.
February 17th, 2009 at 10:12 am
On Ubuntu Hardy – after installing 2.6.24-23-generic, my error message said:
VERR_VM_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’
as root. Users of Ubuntu or Fedora should install the DKMS package at first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
So I installed the DKMS package and then ran
sudo /etc/init.d/vboxdrv setup
worked fine!
March 4th, 2009 at 4:30 pm
Thanks
sudo /etc/init.d/vboxdrv setup
worked fine!!!!! werry fine!!!
March 9th, 2009 at 4:14 am
Good tip !!! Really help me :-) Thanks.
I use Fedora 10 x64,
I think the other users who had problems does not have the kernel-headers
As root:
# yum -y install kernel-headers
April 25th, 2009 at 8:04 am
I upgraded from Ubuntu 8.04 to 8.10 and Virtualbox wouldn’t start. I’ve tried reinstalling it several times but no joy until I renamed the .VirtualBox folder in my home folder and reinstalled. I kept getting the message that it couldn’t convert the XML from version 1.7 (that’s not verbatim…) and suggesting I run /etc/init.d/vboxdrv setup. Problem is when I do that it says setup is not a valid option! The only valid options are start, stop, restart and status. If I try any of the others I get a message saying “No suitable module for running kernel found.” After I reinstalled after renaming .Virtual box it starts but I get the 1908 error also mentioned in this thread. I have DKMS installed, and it was from the start. I would really like to get back my version of Virtualbox I had running under 8.04 as I had installed and used some Windoze programs, and there is some data in there. Any chance of that happening?…
Thanks,
Ian
May 12th, 2009 at 1:31 pm
Many thanks – that saved me some effort :)
August 6th, 2009 at 9:13 pm
i keep getting this no matter what!
“barclay@barclay-laptop:~$ /etc/init.d/vboxdrv setup
* Stopping VirtualBox kernel module
*(<–this star is red) Cannot unload module vboxnetadp
barclay@barclay-laptop:~$ "
things in () dont appear in kernel just extra info
February 25th, 2010 at 1:02 am
The solution that works for me is this:
#yum install kernel-PAE-devel
#/etc/init.d/vboxdrv setup
Fedora 12.
I hope this can help you.
March 26th, 2010 at 10:47 pm
Thanks a lot davidDAE, installing kernel-PAE-devel worked for me.
June 9th, 2010 at 11:27 pm
Thanks, kernel-PAE-devel worked always on Fedora 13.
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [ OK ]
Starting VirtualBox kernel module [ OK ]
June 9th, 2010 at 11:28 pm
Thanks, kernel-PAE-devel worked always on Fedora 13.