Results 1 to 2 of 2

Thread: Error launching Virtualbox on kali 2

  1. #1
    Join Date
    2016-Feb
    Posts
    2

    Error launching Virtualbox on kali 2

    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

  2. #2
    Join Date
    2016-Feb
    Posts
    2
    okay seems like VB dont go up with kali.. so i just switched

Similar Threads

  1. bug launching kali linux 2021.1
    By goodmusic01 in forum Installing Archive
    Replies: 1
    Last Post: 2022-11-23, 03:57
  2. Replies: 0
    Last Post: 2019-12-04, 16:08

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •