Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
11
rated 0 times [  11] [ 0]  / answers: 1 / hits: 13629  / 2 Years ago, mon, june 20, 2022, 5:29:15

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 !


More From » 13.10

 Answers
0

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").


[#27474] Wednesday, June 22, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
lotceptin

Total Points: 374
Total Questions: 106
Total Answers: 118

Location: The Bahamas
Member since Tue, Apr 27, 2021
3 Years ago
;