Eu instalei o VirtualBox no meu Kali 4.6.0-kali1-amd64. VB lança, mas quando eu inicio uma VM me dá o seguinte erro:
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.
Eu tentei corrigir isso de várias maneiras, mas eu ainda não consigo executá-lo. Como posso corrigir esse erro para que eu possa executar minha VM?
////////
Removido VB.Downloaded o deb do site do VB. Usando apt-get install dkms build-essential linux-headers-$(uname -r)
retorna o seguinte erro:
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'
Como posso consertar isso?
////////////////// Atualização:
Corrigido o problema dos cabeçalhos, adicionando deb http://mirror.nus.edu.sg/kali/kali kali-rolling main non-free contrib
à minha lista de fontes. VB Reinstalado. Agora eu recebo:
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.
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