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.

Like Ubuntu 13.10 VirtualBox Error Kernel driver not installed (rc=-1908)

I am also having a problem I keep getting the following error :

Trying to register the VirtualBox kernel modules using DKMSError! Your kernel headers    for kernel 3.8.0-25-generic cannot be found.
Please install the linux-headers-3.8.0-25-generic package,
or use the --kernelsourcedir option to tell DKMS where it's located
 ...failed!
  (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules ...failed!
  (Look at /var/log/vbox-install.log to find out what went wrong)
Processing triggers for ureadahead ...

I am unable to start a Virtual Machine I installed from repository. Any ideas ?

EDIT:

When I start a vm I get :

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.

EDIT

The same errors with VirtualBox4.2 EDIT

sudo apt-get install linux-headers-3.8.0-25-generic

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-headers-3.8.0-25-generic is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package 'linux-headers-3.8.0-25-generic' has no installation candidate

EDIT UPDATE

Manually updated the kernel from 3.8.0.25 to 3.10.0-031000-generic and now it all works !

share|improve this question
    
Please update your question. On which kernel are you currently (uname -a). Does VirtualBox work, or which error message are you getting now? Please take a look at How do I remove or hide old kernel versions, to clean up the boot menu? –  LiveWireBT Jan 15 at 10:22
    
I was on 3.8.0.25 , I have upgraded to 3.11 and all works fine now –  avrono Jan 15 at 13:52

3 Answers 3

up vote 8 down vote accepted

The installed kernel was absolute. Its headers is not any more in the repository. So the best thing to do is to update the kernel to last version in the repository.

Check which kernel running:

uname -a

Update the kernel, linux-generic is a meta package to keep current version of the kernel & its headers:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install linux-generic

Reboot, Check again:

uname -a

If it didn't work, then use Synaptic to install its headers or upgrade/install to the last kernel release (search for "linux").

share|improve this answer

Not an answer, but I can confirm that Virtual Box runs perfectly on Ubuntu 13.10.

Virtual box was installed as a .deb file instead of using the virtual box repository.

$ virtualbox --help | head -1
Oracle VM VirtualBox Manager 4.3.6

$ uname -sri
Linux 3.11.0-15-generic x86_64

$ lsb_release -d
Description:    Ubuntu 13.10

$ modinfo vboxdrv
filename:       /lib/modules/3.11.0-15-generic/updates/dkms/vboxdrv.ko
version:        4.3.6 (0x001a0007)
license:        GPL
description:    Oracle VM VirtualBox Support Driver
author:         Oracle Corporation
srcversion:     1AA7B037C45EF6842CB7222
depends:        
vermagic:       3.11.0-15-generic SMP mod_unload modversions 
parm:           force_async_tsc:force the asynchronous TSC mode (int)

Hope that helps you.

share|improve this answer
    
Thanks @Mark, I tried the .deb too ... still no joy ... will soldier on ... –  avrono Jan 15 at 1:33

Try this?

sudo apt-get install linux-headers-3.8.0-25-generic

then retry.

share|improve this answer
1  
First thing I tried ... Reading package lists... Done Building dependency tree Reading state information... Done Package linux-headers-3.8.0-25-generic is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'linux-headers-3.8.0-25-generic' has no installation candidate –  avrono Jan 15 at 0:27
    
Seems that package list is outdated. Try update your system (kernel). sudo apt-get update; sudo apt-get upgrade . reboot, install the new kernel header. sudo apt-get install linux-headers-generic –  Sneetsher Jan 15 at 0:45
    
Yes, because the Kernel has moved way beyond 3.8 , I think we are at 3.12 now ... don`t see how your suggestion will help –  avrono Jan 15 at 0:57
    
"linux-headers-3.8.0-25-generic is not available" So why not to upgrade to the current kernel which has headers in the repository? So VBox can build its module. –  Sneetsher Jan 15 at 1:02
2  
@Sneetsher you were right, I needed to upgrade, for some reason was not working. I manually updated the kernel and now works fine –  avrono Jan 15 at 2:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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