1

I installed VirtualBox on my Kali 4.6.0-kali1-amd64. VB launches but when I start a VM it gives me the following error:

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

'/sbin/vboxconfig'

as root.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT. 

I have attempted to fix this through multiple ways but I still cant get it to run. How can I fix this error so the I can run my VM?

////////

Removed VB.Downloaded the deb from the VB website. Using apt-get install dkms build-essential linux-headers-$(uname -r) returns the following error:

E: Unable to locate package linux-headers-4.6.0-kali1-amd64 E: Couldn't find any package by glob 'linux-headers-4.6.0-kali1-amd64' E: Couldn't find any package by regex 'linux-headers-4.6.0-kali1-amd64'

How can I fix this?

////////////////// Update:

Fixed the headers issue by adding deb http://mirror.nus.edu.sg/kali/kali kali-rolling main non-free contrib to my sources list. Reinstalled VB. Now I get:

RTR3InitEx failed with rc=-1912 (rc=-1912)

The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing

'/sbin/vboxconfig'

may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox.

where: supR3HardenedMainInitRuntime what: 4 VERR_VM_DRIVER_VERSION_MISMATCH (-1912) - The installed support driver doesn't match the version of the user. 
0

2 Answers 2

2

There seems to be a fault in the Virtual Box install log.

  1. Remove VirtualBox and reboot the host.
  2. Make sure everything is up to date.
  3. Install the following packages.(sudo apt-get install dkms build-essential linux-headers-$(uname -r))
  4. Get Virtual Box .deb or wget it from official source.

Hope this helps your problem :)

24
  • I tried this before. Did it again. I get the errors: E: Unable to locate package linux-headers-4.6.0-kali1-amd64 E: Couldn't find any package by glob 'linux-headers-4.6.0-kali1-amd64' E: Couldn't find any package by regex 'linux-headers-4.6.0-kali1-amd64' @MichaelMMeskhi
    – farewaybros
    Oct 26, 2016 at 2:48
  • @fareewaybros : Don't make people read thru a growing trail of comments for the complete story on your problem. This info should be included in the body of your Q above. Good luck.
    – shellter
    Oct 26, 2016 at 3:32
  • Problem maybe of your x32 and x64 architecture. Do this: Oct 26, 2016 at 19:40
  • Update your system 'sudo apt-get update' next, 'sudo apt-get upgrade' Oct 26, 2016 at 19:41
  • These solutions aren't very bold but usually weird problems are simply solved by updates. Try that and can you dump your 'uname -ax' output. Oct 26, 2016 at 19:42
1

To fix the header and kernel issues I added deb http://mirror.nus.edu.sg/kali/kali kali-rolling main non-free contrib to my sources list. Because I was installing the deb package of VB, I was getting:

RTR3InitEx failed with rc=-1912 (rc=-1912)

The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing

'/sbin/vboxconfig'

may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox.

where: supR3HardenedMainInitRuntime what: 4 VERR_VM_DRIVER_VERSION_MISMATCH (-1912) - The installed support driver doesn't match the version of the user.

I'm not sure what was causing this issue, but I fixed it by purging the deb installation and reinstalling VB with apt-get install virtualbox.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .