PDA

View Full Version : Problem with VirtualBox on Kali



spider81man
2017-06-20, 11:03
Hi guys,
I install VirtualBox on my Kali Version Version 3.22.2, Architecture 64 bit, on my PC Latitude E6230 by command "apt-get install VirtualBox" and all was fine, after the installation i start VirtualBox and try to install a Windows Sistem on the machine but the system reply:




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 virtualbox-dkms package and load the kernel module by executing

'modprobe vboxdrv'

as root.

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

So what I must do?
Thanks
spider81man

duxim
2017-06-20, 18:45
install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

sudo apt-get install dkms
and then run

sudo /etc/init.d/vboxdrv setup
and write your password.

spider81man
2017-06-20, 20:37
I install the dkms but I don't find "vboxdrv setup" on inutile.d fodera. Why??

Adel Alsharafi
2017-12-13, 13:56
Uninstall virtualbox-dkms and its configurations by running the below commands:

sudo apt-get remove virtualbox-dkms
sudo apt-get remove --purge virtualbox-dkms

Install Linux headers and Linux image by running the below command:

sudo apt-get install -y linux-headers-amd64 linux-image-amd64

Install virtualbox-dkms

sudo apt-get install -y virtualbox-dkms

AFAQUE JAYA
2018-06-11, 04:18
# sudo /etc/init.d/vboxdrv setup

# sudo: /etc/init.d/vboxdrv: command not found

(help me on this to fix problem)