Kali and Virtualbox

Viewing 8 reply threads
  • Author
    Posts
    • #8392
      n37sh@rk
      Participant

      Hello, I am wondering if anyone has had trouble installing virtualbox in Kali and if not I would love to hear how you got it installed. Or if you have had issues let me know I’m at a loss right now. Thanks!

    • #52703
      Jamie.R
      Participant

      I had issue with it too and didn’t have time to sort it out  but maybe if you post bit more information on what you having an issue with. Is it giving you error message ? or not booting so on. also what version of Kali are you using ?

    • #52704
      n37sh@rk
      Participant

      Ok ill do that. I’m running a fresh install because I was doing a bunch of testing and had BT5R3 installed dual boot. I have no need to dual boot anymore so once I am done with the reinstall ill try virtualbox again and post the error codes thanks for the quick response.

    • #52705
      DragonGorge
      Participant

      I used this tutorial:
      http://forums.kali.org/showthread.php?74-Installing-Kali-Linux-as-a-Virtual-Machine-in-Virtual-Box&highlight=virtual

      Went fairly smoothly overall. While Kali seems generally better organized, it’s very slow on my machine compared to BT 5 R3. Despite giving it more resources than I did for the aforementioned.

    • #52706
      n37sh@rk
      Participant

      DragonGeorge,
      Kali is the host OS I am trying to install Virtual box with in Kali. That is a pretty good tutorial for the other way around though unless i completely missed something which is very possible.

    • #52707
      n37sh@rk
      Participant

      [ ok ] Stopping VirtualBox kernel modules.
      [….] Starting VirtualBox kernel modules[….] No suitable module for running k[FAIL found … failed!
      failed!
      invoke-rc.d: initscript virtualbox, action “restart” failed.
      Setting up dkms (2.2.0.3-1.2) …
      Setting up virtualbox-dkms (4.1.18-dfsg-2.1) …
      Loading new virtualbox-4.1.18 DKMS files…
      First Installation: checking all kernels…
      Building only for 3.7-trunk-686-pae
      Building initial module for 3.7-trunk-686-pae
      Error! Bad return status for module build on kernel: 3.7-trunk-686-pae (i686)
      Consult /var/lib/dkms/virtualbox/4.1.18/build/make.log for more information.
      [ ok ] Stopping VirtualBox kernel modules.
      [….] Starting VirtualBox kernel modules[….] No suitable module for running k[FAIL found … failed!
      failed!
      invoke-rc.d: initscript virtualbox, action “restart” failed.
      Setting up virtualbox-qt (4.1.18-dfsg-2.1) …
      Processing triggers for menu …
      That is what i get during the install of the program via apt-get install virtualbox

      Then after i create a VM I get the following.
      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.

      I tried running the command via apt-get but it doesnt work I am not sure what command to run that with. Also i looked at the documentation and it isn’t a supported OS. Any help is greatly appreciated. I’m also going to try to create the VHD on my windows machine and transfer it and see if that works.

      Thanks,

    • #52708
      m0wgli
      Participant

      Have you tried using the latest version of VirtualBox?

    • #52709
      n37sh@rk
      Participant

      Have you tried using the latest version of VirtualBox?

      Doesn’t Apt-get pull the latest version?

    • #52710
      n37sh@rk
      Participant

      Well after some research and a lot of playing around I have got it.  here are the steps i needed to take.

      Download the latest version of virtualbox from http://download.virtualbox.org/virtualbox/4.2.12/VirtualBox-4.2.12-84980-Linux_x86.run

      then once downloaded i needed to use the following commands
      chmod +x VirtualBox-4.2.12-84980-Linux_x86.run
      ./VirtualBox-4.2.12-84980-Linux_x86.run

      After that everything installed correctly and I am not creating the XP VM.

      Thanks for all of your help!

Viewing 8 reply threads
  • You must be logged in to reply to this topic.

Copyright ©2020 Caendra, Inc.

Contact Us

Thoughts, suggestions, issues? Send us an email, and we'll get back to you.

Sending

Sign in with Caendra

Forgot password?Sign up

Forgot your details?