Forum Thread: Virtual Box Error

Virtual Box Error

So i have been trying to get vmare to work and now virtualbox. Both came up with an error relating kernel driver/headers. So currently the error is:

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.

To begin with i tried finding "vboxdrv setup" however i didn't find it. Following i search up the error and the suggestions where to try run the following command (/Source):

sudo apt-get install linux-headers-3.5.0-17-generic
But when i run that command i get the following error:
Couldn't find any package whose name or description matched "linux-headers-3.5.0-17-generic"
Couldn't find any package whose name or description matched "linux-headers-3.5.0-17-generic"
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

So my question is where can i get the "linux-headers-3.5.0-17-generic", and where should i place them so they run properly?

9 Responses

Try only "linux-headers-generic" as package.

It says that the headers are already the newest version.

UGH I hate issues with the linux headers... Hmm I will look into this.

Let me know what these commands do

sudo aptitude update
sudo aptitude install dkms
sudo /etc/init.d/vboxdrv setup

I know i changed to parrot os to see if i will have any luck but nope, i will get back in a minute

sudo aptitude update
loads a bunch of things and errors start here:
Fetched 12.5 kB in 5s (2,479 B/s)

W: Failed to fetch cdrom://Debian GNU/Linux 2.0.4 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20151006-17:18/dists/jessie/contrib/binary-i386/Packages: Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Debian GNU/Linux 2.0.4 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20151006-17:18/dists/jessie/main/binary-i386/Packages: Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Debian GNU/Linux 2.0.4 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20151006-17:18/dists/jessie/non-free/binary-i386/Packages: Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

E: Some index files failed to download. They have been ignored, or old ones used instead.
E: Couldn't rebuild package cache
sudo aptitude install dkms
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
sudo /etc/init.d/vboxdrv setup
sudo: /etc/init.d/vboxdrv: command not found

It is showing with the first command that you don't have a connection. Do you have an internet connection?

Yup, I am positive :/

Try pinging someone like Google.com also are you on a live USB?

Share Your Thoughts

  • Hot
  • Active