Kali Linux virtualboxrc=1908 error Resolution:
when I try to start VirtualBox prompt:
Kerneldriver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either no loaded or there is a permission problem with/dev/vboxdrv. Please reinstall the kernel module byexecuting
'/etc/init.d/vboxdrv Setup '
As Root. If it isavailable in your distribution, you should install the DKMS Packagefirst. This is keeps track of Linux kernel changes andrecompiles the Vboxdrv kernel module if necessary.
but run /etc/init.d/vboxdrvsetup time didn't show up vboxdrv This module, the reason is dkms is not installed.
apt-getinstall dkms # installation dkms
lsmod| grep-i VBox # The output should not be the same as mine, because I am the solution error before executing this command, but can # Find module on it.
Vboxpci 23077 0
VBOXNETADP 25443 0
Vboxnetflt 27420 0
Vboxdrv 344380 4 Vboxnetadp,vboxnetflt,vboxpci
Execute again /etc/init.d/vboxdrvsetup If the following error occurs, it is because linux-headers is not installed.
Stoppingvirtualbox kernel modules ... done.
Uninstallingold VirtualBox DKMS kernel modules ... done.
Tryingto Register the VirtualBox kernel modules using dkmserror! Echo
Yourkernel headers for kernel 3.18.0-kali3-amd64 cannot is found at
/lib/modules/3.18.0-kali3-amd64/buildor/lib/modules/3.18.0-kali3-amd64/source.
... failed!
(Failed, trying without DKMS)
Recompilingvirtualbox kernel modules ... failed!
(Look at/var/log/vbox-install.log to findout, what went wrong)
Install the kernel header file by executing the following command:
Uname-r # View kernel version
apt-getinstall linux-headers-' uname-r ' # the symbol here is not a single quote, but a keyboard The symbol above the TAB key.
Execute again /etc/init.d/vboxdrvsetup still appears the following prompt:
Stoppingvirtualbox kernel modules ... done.
Uninstallingold VirtualBox DKMS kernel modules ... done.
Tryingto Register the VirtualBox kernel modules using dkmserror! Echo
Yourkernel headers for kernel 3.18.0-kali3-amd64 cannot is found at
/lib/modules/3.18.0-kali3-amd64/buildor/lib/modules/3.18.0-kali3-amd64/source.
... failed!
(Failed, trying without DKMS)
Recompilingvirtualbox kernel modules ... failed!
(Look At/var/log/vbox-install.log-Find out-what went wrong)
later found linux-headers installed a number of, and no effect, so re-uninstall all linux-headers, and then reinstall the corresponding linux-headers kernel header file.
Apt-getpurge linux-headers*
apt-getinstall linux-headers-' uname-r ' # here is not a single quote, is The symbol above the TAB key.
after the execution of the /etc/init.d/vboxdrvsetup
/etc/init.d/vboxdrvsetup # No error message, compiled successfully module, and then you can open # It's VirtualBox.
Hope to help everyone.
PS: vmwareworkstation boot prompt is also required to install linux-headers the corresponding version of the kernel header file, you can solve the startup problem.
Reference article:
http://forum.ubuntu.com.cn/viewtopic.php?f=65&t=298405
https://forums.virtualbox.org/viewtopic.php?f=7&t=61773
This article is from the "Bckong" blog, make sure to keep this source http://bckong.blog.51cto.com/5092126/1654929
Kali Linux VirtualBox rc=1908 Error resolution