Hi,
I have some problems when I try to install virtualbox on kali.
When i start the installation with apt.an error appears:Code:apt-get install virtualbox
Code:Job for virtualbox.service failed because the control process exited with error code.
See "systemctl status virtualbox.service" and "journalctl -xe" for details.
Code:root@kali:~# systemctl status virtualbox.service
● virtualbox.service - LSB: VirtualBox Linux kernel module
Loaded: loaded (/etc/init.d/virtualbox; generated; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2016-06-01 16:04:16 UTC; 2min 59s ago
Docs: man:systemd-sysv-generator(8)
Jun 01 16:04:16 kali systemd[1]: Starting LSB: VirtualBox Linux kernel module...
Jun 01 16:04:16 kali virtualbox[6546]: Loading VirtualBox kernel modules...No suitable module for running kernel found ...
Jun 01 16:04:16 kali virtualbox[6546]: failed!
Jun 01 16:04:16 kali systemd[1]: virtualbox.service: Control process exited, code=exited status=1
Jun 01 16:04:16 kali systemd[1]: Failed to start LSB: VirtualBox Linux kernel module.
Jun 01 16:04:16 kali systemd[1]: virtualbox.service: Unit entered failed state.
Jun 01 16:04:16 kali systemd[1]: virtualbox.service: Failed with result 'exit-code'.
When i try to start virtualbox anyway, the following error shows up:Code:root@kali:~# journalctl -xe
--
-- Unit virtualbox.service has begun starting up.
Jun 01 16:04:16 kali virtualbox[6546]: Loading VirtualBox kernel modules...No suitable module for running kernel found ... failed!
Jun 01 16:04:16 kali virtualbox[6546]: failed!
Jun 01 16:04:16 kali systemd[1]: virtualbox.service: Control process exited, code=exited status=1
Jun 01 16:04:16 kali systemd[1]: Failed to start LSB: VirtualBox Linux kernel module.
-- Subject: Unit virtualbox.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit virtualbox.service has failed.
--
-- The result is failed.
Jun 01 16:04:16 kali systemd[1]: virtualbox.service: Unit entered failed state.
Jun 01 16:04:16 kali systemd[1]: virtualbox.service: Failed with result 'exit-code'.
Jun 01 16:04:16 kali systemd[1]: Reloading.
Jun 01 16:04:27 kali sudo[5937]: pam_unix(sudo:session): session closed for user root
Jun 01 16:05:01 kali CRON[6620]: pam_unix(cron:session): session opened for user root by (uid=0)
Jun 01 16:05:01 kali CRON[6621]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jun 01 16:05:01 kali CRON[6620]: pam_unix(cron:session): session closed for user root
Jun 01 16:09:01 kali CRON[6635]: pam_unix(cron:session): session opened for user root by (uid=0)
Jun 01 16:09:01 kali CRON[6636]: (root) CMD ( [ -x /usr/lib/php5/sessionclean ] && /usr/lib/php5/sessionclean)
Jun 01 16:09:02 kali CRON[6635]: pam_unix(cron:session): session closed for user root
And when I try to start a VirtualMachine this one shows up:Code:root@kali:~# virtualbox
WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-dkms package and the appropriate
headers, most likely linux-headers-amd64.
You will not be able to start VMs until this problem is fixed.
Qt WARNING: libpng warning: iCCP: known incorrect sRGB profile
When i do "modprobe vboxdrv"Code: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 install virtualbox-dkms package and load the kernel module by executing
'modprobe vboxdrv'
as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
I've already tried to downloaded debian packages from the virtualbox HP, and include the sana sources to install missing packages for the "original" .deb from the homepage.Code:modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.3.0-kali1-amd64
Still dont work.
Ive already tried "dpkg-reconfigure" with virtualbox-dkms and virtualbox and restart after every action but nothing changes.
"apt-get install linux-headers-$(uname -r)" does not find a fitting package.
Hope you can help me.