first some intro of my kali linux
Code: Select all
root@Risky:~# uname -a
Linux Risky 4.9.0-kali3-amd64 #1 SMP Debian 4.9.18-1kali1 (2017-04-04) x86_64 GNU/Linux
Code: Select all
root@Risky:~# apt-get install virtualbox
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
virtualbox-qt
Suggested packages:
vde2
The following NEW packages will be installed:
virtualbox virtualbox-qt
0 upgraded, 2 newly installed, 0 to remove and 582 not upgraded.
Need to get 0 B/23.6 MB of archives.
After this operation, 101 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package virtualbox.
(Reading database ... 343130 files and directories currently installed.)
Preparing to unpack .../virtualbox_5.1.18-dfsg-1_amd64.deb ...
Unpacking virtualbox (5.1.18-dfsg-1) ...
Selecting previously unselected package virtualbox-qt.
Preparing to unpack .../virtualbox-qt_5.1.18-dfsg-1_amd64.deb ...
Unpacking virtualbox-qt (5.1.18-dfsg-1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for menu (2.1.47+b1) ...
Setting up virtualbox (5.1.18-dfsg-1) ...
vboxweb.service is a disabled or a static unit, not starting it.
Job for virtualbox.service failed because the control process exited with error code.
See "systemctl status virtualbox.service" and "journalctl -xe" for details.
invoke-rc.d: initscript virtualbox, action "restart" failed.
● virtualbox.service - LSB: VirtualBox Linux kernel module
Loaded: loaded (/etc/init.d/virtualbox; generated; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2017-07-24 09:13:16 IST; 7ms ago
Docs: man:systemd-sysv-generator(8)
Process: 3912 ExecStart=/etc/init.d/virtualbox start (code=exited, status=1/FAILURE)
Jul 24 09:13:16 Risky systemd[1]: Starting LSB: VirtualBox Linux kernel mod…e...
Jul 24 09:13:16 Risky virtualbox[3912]: Loading VirtualBox kernel modules...…ed!
Jul 24 09:13:16 Risky virtualbox[3912]: failed!
Jul 24 09:13:16 Risky systemd[1]: virtualbox.service: Control process exite…us=1
Jul 24 09:13:16 Risky systemd[1]: Failed to start LSB: VirtualBox Linux ker…ule.
Jul 24 09:13:16 Risky systemd[1]: virtualbox.service: Unit entered failed state.
Jul 24 09:13:16 Risky systemd[1]: virtualbox.service: Failed with result 'e…de'.
Hint: Some lines were ellipsized, use -l to show in full.
Processing triggers for systemd (233-9) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for shared-mime-info (1.8-1) ...
Processing triggers for gnome-menus (3.13.3-9) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Setting up virtualbox-qt (5.1.18-dfsg-1) ...
Processing triggers for menu (2.1.47+b1) ...
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.
ok and m like fair enough lets do this.. then it says
Code: Select all
root@Risky:~# sudo modprobe vboxdrv
modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.9.0-kali3-amd64
edit: also when i try to reinstall virtualbox dkms.. i gets..
Code: Select all
root@Risky:~# sudo apt install --reinstall virtualbox-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 588 not upgraded.
Need to get 0 B/659 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 343519 files and directories currently installed.)
Preparing to unpack .../virtualbox-dkms_5.1.18-dfsg-1_all.deb ...
------------------------------
Deleting module version: 5.1.18
completely from the DKMS tree.
------------------------------
Done.
Unpacking virtualbox-dkms (5.1.18-dfsg-1) over (5.1.18-dfsg-1) ...
Setting up virtualbox-dkms (5.1.18-dfsg-1) ...
Loading new virtualbox-5.1.18 DKMS files...
Building for 4.9.0-kali3-amd64
Module build for kernel 4.9.0-kali3-amd64 was skipped since the
kernel headers for this kernel does not seem to be installed.
Job for virtualbox.service failed because the control process exited with error code.
See "systemctl status virtualbox.service" and "journalctl -xe" for details.
invoke-rc.d: initscript virtualbox, action "restart" failed.
● virtualbox.service - LSB: VirtualBox Linux kernel module
Loaded: loaded (/etc/init.d/virtualbox; generated; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2017-07-24 11:16:35 IST; 8ms ago
Docs: man:systemd-sysv-generator(8)
Process: 9962 ExecStart=/etc/init.d/virtualbox start (code=exited, status=1/FAILURE)
Jul 24 11:16:35 Risky systemd[1]: Starting LSB: VirtualBox Linux kernel module...
Jul 24 11:16:35 Risky virtualbox[9962]: Loading VirtualBox kernel modules...No suitable module for running kernel found ... failed!
Jul 24 11:16:35 Risky virtualbox[9962]: failed!
Jul 24 11:16:35 Risky systemd[1]: virtualbox.service: Control process exited, code=exited status=1
Jul 24 11:16:35 Risky systemd[1]: Failed to start LSB: VirtualBox Linux kernel module.
Jul 24 11:16:35 Risky systemd[1]: virtualbox.service: Unit entered failed state.
Jul 24 11:16:35 Risky systemd[1]: virtualbox.service: Failed with result 'exit-code'.