Installing Virtualbox was a headache.After all these installation process there is an error when launching VB
Code:
WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-dkms package and the appropriate
headers, most likely linux-headers-686.
You will not be able to start VMs until this problem is fixed.
When i run
Code:
apt-get install virtualbox-dkms
i get
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
virtualbox-dkms is already the newest version (4.3.28-dfsg-1kali1+b1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up virtualbox (4.3.28-dfsg-1kali1+b1) ...
insserv: script virtualbox: service vboxdrv already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package virtualbox (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of virtualbox-qt:
virtualbox-qt depends on virtualbox (= 4.3.28-dfsg-1kali1+b1); however:
Package virtualbox is not configured yet.
Package virtualbox-4.3 which provides virtualbox is not installed.
dpkg: error processing package virtualbox-qt (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-dkms:
virtualbox-dkms depends on virtualbox (>= 4.3.28-dfsg-1kali1); however:
Package virtualbox is not configured yet.
Package virtualbox-4.3 which provides virtualbox is not installed.
dpkg: error processing package virtualbox-dkms (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
virtualbox
virtualbox-qt
virtualbox-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
In GUI when i try to start up VMs Get this error
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 reinstall the kernel module by executing
'
Code:
/etc/init.d/vboxdrv setup
'
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.
When '
Code:
/etc/init.d/vboxdrv setup
'
got this
Code:
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modules/etc/init.d/vboxdrv: 302: /etc/init.d/vboxdrv: /usr/share/virtualbox/src/vboxhost/do_dkms: not found
...done.
Trying to register the VirtualBox kernel modules using DKMS/etc/init.d/vboxdrv: 327: /etc/init.d/vboxdrv: /usr/share/virtualbox/src/vboxhost/do_dkms: not found
...failed!
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules ...failed!
(Look at /var/log/vbox-install.log to find out what went wrong)
And this is what in
Code:
/etc/init.d/vboxdrv: 334: /etc/init.d/vboxdrv: /usr/share/virtualbox/src/vboxhost/build_in_tmp: not found