Kernal driver not installed rc=1908
-
- Posts: 10
- Joined: 1. Jul 2010, 04:07
- Primary OS: Ubuntu 8.04
- VBox Version: OSE Debian
- Guest OSses: Win XP
Kernal driver not installed rc=1908
I installed a new hard drive and installed Mint 12 KDE and installed VB and got an error saying the kernal driver was not installed and to run etc/init.d/vboxdrv setup as sudo. I read a few threads here and re-installed dkms then ran the set up and still no luck running a VM. I have a small amount of VB knowledge so any help would be great. Thanks
sudo sudo apt-get install dkms
[sudo] password for jma:
Reading package lists... Done
Building dependency tree
Reading state information... Done
dkms is already the newest version.
dkms set to manually installed.
The following package was automatically installed and is no longer required:
libvncserver0
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
sudo /etc/init.d/vboxdrv setup
* Stopping VirtualBox kernel modules [ OK ]
* Uninstalling old VirtualBox DKMS kernel modules [ OK ]
* Trying to register the VirtualBox kernel modules using DKMS Error! echo
Your kernel headers for kernel 3.0.0-12-generic cannot be found at
/lib/modules/3.0.0-12-generic/build or /lib/modules/3.0.0-12-generic/source.
* Failed, trying without DKMS
* Recompiling VirtualBox kernel modules
* Look at /var/log/vbox-install.log to find out what went wrong
sudo sudo apt-get install dkms
[sudo] password for jma:
Reading package lists... Done
Building dependency tree
Reading state information... Done
dkms is already the newest version.
dkms set to manually installed.
The following package was automatically installed and is no longer required:
libvncserver0
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
sudo /etc/init.d/vboxdrv setup
* Stopping VirtualBox kernel modules [ OK ]
* Uninstalling old VirtualBox DKMS kernel modules [ OK ]
* Trying to register the VirtualBox kernel modules using DKMS Error! echo
Your kernel headers for kernel 3.0.0-12-generic cannot be found at
/lib/modules/3.0.0-12-generic/build or /lib/modules/3.0.0-12-generic/source.
* Failed, trying without DKMS
* Recompiling VirtualBox kernel modules
* Look at /var/log/vbox-install.log to find out what went wrong
-
- Oracle Corporation
- Posts: 3362
- Joined: 7. Jun 2007, 09:11
- Primary OS: Debian Sid
- VBox Version: PUEL
- Guest OSses: Linux, Windows
- Location: Dresden, Germany
- Contact:
Re: Kernal driver not installed rc=1908
Seems that the kernel headers corresponding to your currently running kernel are not present.
-
- Posts: 10
- Joined: 1. Jul 2010, 04:07
- Primary OS: Ubuntu 8.04
- VBox Version: OSE Debian
- Guest OSses: Win XP
Re: Kernal driver not installed rc=1908
Hi Frank and thanks for the reply, I am not so sure that is the issue. Prior to this I installed of Fedora 16 and installed the version of VB for Fefora 16 and I sti l got the same error.
I am wondering if there is a BIOS setting or user credential missing? Previously I ran Ubuntu with VB on this same hardware and never had an issue with VB or Linux. John
I am wondering if there is a BIOS setting or user credential missing? Previously I ran Ubuntu with VB on this same hardware and never had an issue with VB or Linux. John
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Kernal driver not installed rc=1908
This means what it says. The running kernel and headers (if you installed them) do not match or are missing.Your kernel headers for kernel 3.0.0-12-generic cannot be found at
Compare the running kernel to the headers and see if they match.
-
- Posts: 10
- Joined: 1. Jul 2010, 04:07
- Primary OS: Ubuntu 8.04
- VBox Version: OSE Debian
- Guest OSses: Win XP
Re: Kernal driver not installed rc=1908
Thanks for the reply. If I look in my lib/module path I have a folders 3.0.0-12-generic and 3.0.0-22-generic.
I have not installed enything other than Mint 12 and VB. When I have done this in the past I would install VB and the USB packagee and additions and then add myself to the VB user group and eveything wold work fine.
I also looked in my user/group and I did not have a VB user group...
I have not installed enything other than Mint 12 and VB. When I have done this in the past I would install VB and the USB packagee and additions and then add myself to the VB user group and eveything wold work fine.
I also looked in my user/group and I did not have a VB user group...
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Kernal driver not installed rc=1908
Code: Select all
sudo apt-get install dkms build-essential linux-headers-generic
If you want further granularity you can install the headers as such:
Code: Select all
sudo apt-get install linux-headers-$(uname -r)
-
- Posts: 10
- Joined: 1. Jul 2010, 04:07
- Primary OS: Ubuntu 8.04
- VBox Version: OSE Debian
- Guest OSses: Win XP
Re: Kernal driver not installed rc=1908
I used the 1st command and it installed a bunch of headers. Prior to that I had installed the 3.0.0-12 header in package manager and also set my BIOS to enable virtualization.
After that I still get the same error when start a VM in VB and if I run sudo /etc/init.d/vboxdrv setup I stell get the error below.
Also, I do not have a /build or /source folder in my 3.0.0-12-generic folder...
Your kernel headers for kernel 3.0.0-12-generic cannot be found at
/lib/modules/3.0.0-12-generic/build or /lib/modules/3.0.0-12-generic/source.
After that I still get the same error when start a VM in VB and if I run sudo /etc/init.d/vboxdrv setup I stell get the error below.
Also, I do not have a /build or /source folder in my 3.0.0-12-generic folder...
Your kernel headers for kernel 3.0.0-12-generic cannot be found at
/lib/modules/3.0.0-12-generic/build or /lib/modules/3.0.0-12-generic/source.
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Kernal driver not installed rc=1908
Run the second command. Then install VirtualBox again do not run the setup from init.d
-
- Posts: 10
- Joined: 1. Jul 2010, 04:07
- Primary OS: Ubuntu 8.04
- VBox Version: OSE Debian
- Guest OSses: Win XP
Re: Kernal driver not installed rc=1908
THANK YOU!!! That did the trick... I now have a build folder in my kernel folder.. Installing an OS right now...
-
- Posts: 4
- Joined: 22. Sep 2012, 00:12
Re: Kernal driver not installed rc=1908
I think I have the same problem, but when I'm trying to run the second command:
I'm getting:
In the /lib/modules I have the directory 3.0.0-26-generic, but the latest seem to be 3.2.0-30-generic .
Code: Select all
sudo apt-get install linux-headers-$(uname -r)
Code: Select all
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-3.0.0-26-generic
E: Couldn't find any package by regex 'linux-headers-3.0.0-26-generic'
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Kernal driver not installed rc=1908
@Workaround,
It would be easier if you said what the host and guest is.
If you ran the command and failed to get a response then the repo does not have the headers that match your running kernel. Post the above information and lets see what you are working with.
It would be easier if you said what the host and guest is.
If you ran the command and failed to get a response then the repo does not have the headers that match your running kernel. Post the above information and lets see what you are working with.
-
- Posts: 4
- Joined: 22. Sep 2012, 00:12
Re: Kernal driver not installed rc=1908
The host is Ubuntu 12.04 (the problem started when I upgraded from 11.04 to 12.04) the guest is Windows Xp.Perryg wrote:@Workaround,
It would be easier if you said what the host and guest is.
If you ran the command and failed to get a response then the repo does not have the headers that match your running kernel. Post the above information and lets see what you are working with.
-
- Site Moderator
- Posts: 34369
- Joined: 6. Sep 2008, 22:55
- Primary OS: Linux other
- VBox Version: OSE self-compiled
- Guest OSses: *NIX
Re: Kernal driver not installed rc=1908
Check your Ubuntu repo settings. They should have updated during the upgrade but there might be a possibility that they disabled it and did not turn it back on.
Then do a apt-get update, then run the command again.
Then do a apt-get update, then run the command again.
-
- Posts: 4
- Joined: 22. Sep 2012, 00:12
Re: Kernal driver not installed rc=1908
Excuse me, for what I should check my Ubuntu repo settings?Perryg wrote:Check your Ubuntu repo settings. They should have updated during the upgrade but there might be a possibility that they disabled it and did not turn it back on.
Then do a apt-get update, then run the command again.
-
- Posts: 4
- Joined: 22. Sep 2012, 00:12
Re: Kernal driver not installed rc=1908
I fixed my problem, it was in grub, I had been upgrading my system for a long time and it had a grub version 1, now it seems new ubuntu kerneles were added only to grub 2, so when I upgraded to 12.04 it was showing only kernels old enough for version 11.10 (I didn't notice it untill today), after upgrading to grub 2 and then uninstalling and reinstalling virtualbox I was able to load my windows image.