Virtualbox Error - Kernel driver not installed (rc=-1908)
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Virtualbox Error - Kernel driver not installed (rc=-1908)
Hi,
I've googled this a lot, and cannot find anything that works for me.
Whenever I try to start one of my virtual machines virtualbox gives two errors:
Quote:
Failed to open a session for the virtual machine MS-Dos 6.22.
Virtual machine 'MS-Dos 6.22' has terminated unexpectedly during startup.
Details:
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Machine
Interface: IMachine {540dcfda-3df2-49c6-88fa-033a28c2ff85}
Quote:
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. Re-setup the kernel module by executing
'/etc/init.d/vboxdrv setup'
as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
If I run that script it outputs:
Quote:
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
/var/log/vbox-install.log:
Quote:
Attempting to install using DKMS
removing old DKMS module vboxdrv version 3.0.8
------------------------------
Deleting module version: 3.0.8
completely from the DKMS tree.
------------------------------
Done.
Error! Your kernel source for kernel 2.6.30.8-64.fc11.i586 cannot be found at
/lib/modules/2.6.30.8-64.fc11.i586/build or /lib/modules/2.6.30.8-64.fc11.i586/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Failed to install using DKMS, attempting to install without
Makefile:147: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
I have reinstalled more than once, this doesn't work either.
If this does not work, you need the Virtual Box kernel, or if you have a rc.vboxdrvnew or with a 1 on it, Replace that over your old one. I had this same issue and thats what mine was
[root@desktop-fedora callum]# yum install kernel-headers-2.6.30.8-64.fc11.i586
Loaded plugins: refresh-packagekit
adobe-linux-i386 | 951 B 00:00
updates/metalink | 15 kB 00:00
updates | 4.4 kB 00:00
updates/primary_db | 4.1 MB 00:10
Setting up Install Process
Package kernel-headers-2.6.30.8-64.fc11.i586 already installed and latest version
Nothing to do
Quote:
Originally Posted by THCsphere
If you did infact install the whole thing
go to /etc/rc.d/ and boot rc.vboxdrv
If this does not work, you need the Virtual Box kernel, or if you have a rc.vboxdrvnew or with a 1 on it, Replace that over your old one. I had this same issue and thats what mine was
in /etc/rc.d/ there is no file called rc.vboxdrv, or anything to do with virtualbox. In /etc/rc.d/init.d there is a file called vboxdrv, that one?
Sorry, but what's the Virtual Box kernel? I'm pretty new to Linux, and really new to Fedora.
Problem is back with a new install of Fedora. Done everything I can think of. One thing I noticed:
Quote:
Originally Posted by vbox-install.log
Error! Your kernel source for kernel 2.6.29.4-167.fc11.i586 cannot be found at
/lib/modules/2.6.29.4-167.fc11.i586/build or /lib/modules/2.6.29.4-167.fc11.i586/source.
You can use the --kernelsourcedir option to tell DKMS where it's located.
Those files/directories do not exist. This is also not the latest kernel, how do I get it to use the most recent kernel?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.