Results 1 to 2 of 2

Thread: Trouble installing VirtualBox in Kali

  1. #1

    Exclamation Trouble installing VirtualBox in Kali

    Hello everyone, I have taken a liking to Kali and decided to make it my main OS on my laptop, however I love the sdks and developers tool available for windows and I figure I would just run windows in a VM. However I have tried installing virtualbox for debian wheezy however I get an error saying I need libqt4-opengl but when I do a simple apt-get install it is unable to find it. So has someone had success with installing virtualbox? It is making me feel kind of stupid.

  2. #2
    Join Date
    2013-Aug
    Posts
    1
    Hi ,
    Same is her . this what am getting when run Vbox

    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

    '/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.
    after runing /etc/init.d/vboxdrv setup

    [ ok ] Stopping VirtualBox kernel modules:.
    [....] Recompiling VirtualBox kernel modules:
    [FAIL] Look at /var/log/vbox-install.log to find out what went wrong ... failed!

    cat /var/log/vbox-install.log

    Makefile:181: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again

    I google it till i found this " apt-get install dkms build-essential linux-headers-generic " DONT USE it - still don't solve the problem i only got this output
    Package dkms is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    ...Finaly i seached for Kali soure list .. and found this http://docs.kali.org/general-use/kal...t-repositories .
    i opened my source.list .. # nano /etc/apt/source.list and copy all source list from the link above . Now this is how my source.list look like

    ##
    ## Security updates
    deb http://security.kali.org/kali-security kali/updates main contrib non-free
    #deb http://download.virtualbox.org/virtualbox/debian precise contrib
    #deb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free to download VB.
    deb http://http.kali.org/kali kali main non-free contrib
    #deb http://security.kali.org/kali-security kali/updates main contrib non-free
    deb-src http://http.kali.org/kali kali main non-free contrib
    deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
    ...
    again i rund virtual box it show me the same message error ... '/etc/init.d/vboxdrv setup' - again same error . on the same link of the source list there was another link for Kali Linux Virtual Box Guest i open it and copy this apt-get update && apt-get install -y linux-headers-$(uname -r) and run it . Finally i start virutal box and it WORKS fine try i and update us
    .....
    I wrote everything happened to me to make easy for other when they use google .
    p.s. sorry for my terrible english

Similar Threads

  1. Replies: 0
    Last Post: 2017-01-15, 10:39

Tags for this Thread

Posting Permissions

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