I tried installing VirtualBox 5.1 on Kali Linux 2016.2. I did this by running
apt-get install virtualbox
(I'm logged in as root, so no need for sudo). This worked fine, a few errors during the install, but the resulting app worked. I launched it, made a VM, and once I tried to run said VM, it told me it was missing a critical kernel driver (vboxdrv), and that I should run
I did this, and the result was
modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.6.0-kali1-amd64
I tried running
dpkg-reconfigure virtualbox-dkms apt-get --reinstall install virtualbox-dkms service vboxdrv setup apt-get install linux-headers-amd64 /etc/init.d/vboxdrv setup apt-get install linux-headers-$(uname -r)
(Not in that order)
I also tried
dpkg -i virtualbox-5.1_5.1.14-112924~Debian~wheezy_amd64.deb
with the Debian Wheezy .deb file on the VirtualBox site, but that one didn't even start up.
None of these worked. Can anyone help me here?