182 comments on “How to install Kali Linux in Virtualbox : Step-by-step guide.

  1. Pingback: How to create free pentest lab using VirtualBox. | kanishkas how to?

  2. Small mistake “Then execute that file using command ./VBoxAdditions.run.”

    Actually : “Then execute that file using command ./VBoxLinuxAdditions.run”.

  3. Thanks for the guide. I am a little stuck at the end. The guest additions failed and the CD icon is shown on my desktop, as in the image above. However, when I open a terminal and type ‘ls’ it only returns ‘Desktop’ and if I go to ‘cd Desktop’ then ‘ls’ it shows nothing.

  4. Hello i have followed your article , but sadly my linux gets stuck as soon as i select install. Any advice would be helpful thank you . I also would like to know if using the 64 bit version of the linux kernel could also be causing this problem .

  5. Guys, I have problem. I am new to Linux, I used to use Backtrack before (only for penetration testing) now when I got to the point of installing ./VBoxLinuxAdditions.run – the command run something but in the middle I get this: the headers for the current running kernel were not found. if the following module compilation fails then this could be the reason. And then it still executes some more stuff… not sure if those headers are important or not? I just simply want to use Kali in full screen and have full ability for wi-fi penetration etc… Anyone knows if it’s important to have those headers??? Sorry I’m not Linux genius, though Linux seems cool to me, only if I had time to sit down and study about Linux more.

  6. In which screenshot did u enter the username???… I dnt remember entering any username during installation… but now that I successfully installed the OS, I can’t log into the system…

  7. i have an important question : can u tell me what flavour of kali will work on the VB i have win 8.1 (not pro) 64 bit . because i downloaded Kali Linux 1.0.5 64-Bit torrent and tried to run it on VMware player but didnt work

  8. I am using VB 4.3.6, and Kali Linux 1.0.5 and the install simply does not work. Goes through the whole process, then at the end fails to load the boot loader.
    Any assistance would be great

  9. I reached the Kali pre-boot screen (where it asks for Live, install , graphical install etc)
    i hit install and nothing happens (it should show me the languages windows)
    help me please

    • My first problem (kernel needs x86-64 processor, found only i686) was solved by changing Operating System in Settings->General to Debian (64-bit).

      The problem harish and I had (Installing System fails while Copying data) was (for me) caused by trying to set up LVM (usr/var/temp) using guided partitioning. The fix: Guided partitioning, use whole disk, everything on one partition, beginner style.
      I don’t know if manual LVM would work *shrug*

      I hope someone finds this useful.

    • I had the same exact problem. I realized when I created the virtual machine, I had made it with the default of 8GB hard drive. The directions say you need more than 10GB. Other sites I read recommended a minimum of 12. So I created a new virtual machine with 12 GB hard drive and when I installed Kali on the new machine, it worked like a charm.

  10. Reblogged this on daleswifisec and commented:
    Great step by step instructions on how to install Kali Linux in VirtualBox. Plenty of screen shots for those visual people and it really helps tell how the configuration and install should work.

  11. Failed to open the optical disk file C:UsersSiddhant JainDownloadskali-linux-1.0.6-i386.iso.

    Could not get the storage format of the medium ‘C:UsersSiddhant JainDownloadskali-linux-1.0.6-i386.iso’ (VERR_NOT_SUPPORTED).

    Result Code: VBOX_E_IPRT_ERROR (0x80BB0005)
    Component: Medium
    Interface: IMedium {05f2bbb6-a3a6-4fb9-9b49-6d0dda7142ac}
    Callee: IVirtualBox {fafa4e17-1ee2-4905-a10e-fe7c18bf5554}
    Callee RC: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)

  12. Geetings and thank the above for the setup tutor. Iam getting failed attempt at install. I am running Ubuntu 13- from 120gb SSD. I then have a 500GB disk as back up. The back up disk is where I am trying to install the Kali through the Virtualbox from my ISO image When using Virtual Box, that is the only disk that I can choose. Question. does if fail becuase Ubuntu is on SSD, so is VB so does Kali need to install there? PA/NE is checked
    ?? Advice appreciated and welcomed!

  13. I have Unbuntu 64 bit on SSD 120GB drive then a 500 GB storage. Trying to install from ISO image to 500 GB HD with virtualbox. I keep getting to the point where it starts but gives the msg , install failed. Question is does it have to be installed to the SSD? to work?

    If yes to SSD, when I run through Virtualbox setup , it only allows me to select the 500 GB drive —any advice /welcomed/appreciated

  14. Pingback: Install Kali in VirtualBox | dominotips

  15. Hi I am using virtual box on mac, i wanted to install guest additions to enable kali linux in full screen, i tried all your words but could not get it in full screen

  16. I use mac and i have installed kali linux in virtual box followed all the steps, but still the full screen is not enabled

  17. Pingback: How to create free pentest lab with VirtualBox. - Kanishkashowto is now Hackercool

  18. Pingback: How to create free pentest lab in VirtualBox. - Kanishkashowto is now Hackercool

  19. hi there admin !!! pls help me… after installation it doesnt show user id password….it says ” oops something went wrong…pls contact administrator

  20. great tutorial.thank you so much. i have encountered a problem while installing guest additions.everything is working just fine except the part that says “building the main guest additions module ” instead of it being done,its saying failed.please help.

    • @jbie, even if it says failed, just restart the system and check. In many cases it gave the same error but guest additions were installed successfully. If you still face the same problem, try this

  21. Friend please help me i install kali linux 1.0.9 nine times but still it show error (installing the failing item from the menu) plzzzzzzzzzzzzzzzzzzzzz help meeeeeeee.

  22. Pingback: How to create a web application pentest lab

    • @lakshay n, didn’t exactly get your question. If you are in full screen in virtualbox and want to go back to Windows host, try “Right CTRL + F”. then just minimize the Virtualbox.

  23. i am in stuck in the midway of the installation of the linux partioning. after selcecting the gudied partion, a warning comes stating that the entire files on the drive gets erased, so if i continnue will i loose the data or something. please let me know as soon as possible

    • Rohan, since you are doing this installation in a virtual environment, nothing will get erased. So continue your installation.

  24. Hey if you could please help me out. Everything worked great until it got to adding the guest. I got to /media/cdrom# ls but there are no files listed. You say I need to deal with VBoxLinuxAdditions.run but there are no files listed. I have checked spelling and syntax. If you could please assist me in what i should do next, i would greatly appretiate it. Thank You. Please email me at kevinjcave2@gmail.com

  25. i complited all prosess like desplayed here but last time when it ask for boot and enter continue it stuck on black screen and cursor . how to solve that please replay sir

  26. Hi i have some issue, in step where we put “apt-get update && apt-get install -y linux-headers-$(uname -r)”, ask me if apt-transport-https installed. . . .what i do?

  27. I am getting an error stating installation failed.I checked different websites which said that if Network mirrors are chosen as “No” then kali does not get installed. Kanishka please help me!

  28. Dear Sir, sir everything was going fine until finshing of installation. after that it did’t ask me for username and password. now as i open kali on virtualbox one black screen displayed, don’t go ahead. pls suggest….

    Regards

  29. hi

    when i try starting in the host drive ‘D’ it comes up with (fatal: no bootable medium found ! System halted)

  30. Failed to open a session for the virtual machine Kali.

    PIIX3 cannot attach drive to the Secondary Master (VERR_INVALID_PARAMETER).

    Result Code: E_FAIL (0x80004005)
    Component: ConsoleWrap
    Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

    This is the error I encounter when I start the virtual machine. Thoughts?

  31. Wail installing kali, after selecting instal in the vbox its not working for further it just stoped .will i get a suggestion pls ..

  32. After installation the screen just goes black .. And with a cursor blinking for time infinite. Help me out pls.

  33. After typing the three codes and the command to the vi the processes starts correctly at first then it tells me ” Some index files failed to download. They have been ignored, or old ones used instead ” i decided to ignore that and continue following the screen shots but there are codes not appearing and just somethings aren’t correct, excuse me it’s my first time to try the virtual box or even any program as those, i just need your help

  34. Hii I install Kali but not fully install
    it partially install and in mid I off tha lapi and now it show black screen and remain only black screen pLz hpl meee

  35. Great, clear tutorial. One quick question..

    Once I have installed the VM, am I okay to delete the original ISO I used?

    Thanks.

  36. Im stuck at grub bootloader. I installed it fine and selected Kali Linux to open it. It says loading, please wait and gets freeze. I tried to close it and open again. It says to terminate the program. NEED SOME HELP HERE

  37. But when i install that ISO file kali it will not come in OVA file it appear in rar And when i open that rar there are many folders not OVA file

    • @Anonymouse,unzip the contents of the prebuilt virtual image and you will get an ova file. There’s no iso file here.

    • @Morris, the procedure for 32bit and 64bit is same. The only difference is selecting Debian 7 32bit for 32bit installation.

  38. Failed to open a session for the virtual machine Kali-Linux-2016.1-vbox-amd64.

    Unable to load R3 module C:\Program Files\Oracle\VirtualBox/VBoxDD.DLL (VBoxDD): GetLastError=1790 (VERR_UNRESOLVED_ERROR).

    Result Code: E_FAIL (0x80004005)
    Component: ConsoleWrap
    Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

    How to solve this Issue

  39. hey i’m aman while i was installing kali linux in vm box i am not getting my partition disk which i have created … its showing the only disk which is the primary disk for installed windows 8.1 please help me….

  40. hi, i followed this tutorial successfully installed kali linux on virtual box or so i thought because after installation, the machine wouldn’t power on. I get this error Failed to open a session for the virtual machine Kali-Linux-2016.1-vbox-amd64.

    VT-x is not available (VERR_VMX_NO_VMX).

    Result Code: E_FAIL (0x80004005)
    Component: ConsoleWrap
    Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

  41. Please help me bro…

    After installing the pre-built images of kali Linux (32-bit), the Grub said: Loading please wait… It stays like this forever. I’ve checked online for a solution but am now asking for your help. I have also tried using the original iso. but still. Please help me…

    THX FOR READING…

    (If you do!!!)

    • All those users getting “Loading please wait” error, please try this and report me.
      1. start virtual machine
      2. pressing ESC at “GRUB loading please wait”
      3. select “recovery mode”
      4. pressing multiple times (maybe only one is enough)
      5. command prompt is displayed. I executed command:
      dpkg-reconfigure xserver-xorg
      6. xserver console pops-up: I just went through the wizard and select only!!!! default.
      7. After finishing program returns back to command prompt. I executed command: reboot
      8. Kali reboots – don’t touch anything – it reboots fine.

      • So then done what you said but I really couldn’t because you said:

        4. pressing multiple times (maybe only one is enough)

        Pressing what multiple times?

        Thx for reading though but please get back to me as soon as possible

      • I pressed ESC around 52 times (forget my first message)

        Nothing happened though, please help me as soon as possible your the last help I can find…

      • I could not get Kali2016.1-vbox to work for me in VirtualBox I also tried what kanishka10 said on June 21, 2016 at 5:27 am and didn’t work for me. However, I was able get Kali2.0.0
        -vbox to work for me on Virtualbox 5.0.14-105127

  42. I could not get Kali2016.1-vbox to work for me in VirtualBox (I tried the latest version 5.0.22, 5 0.14, 5.0.12, and 4.2.36) They all stay suck at the the “loading please wait” screen after the grub. I also tried what kanishka10 said on June 21, 2016 at 5:27 am and didn’t work for me. I was able get Kali2.0.0-vbox to work for me on Virtualbox 5.0.14-105127. Hopefully, this will help you get Kali w VirtualBox guest additions to work

  43. Hello sir,
    i have error occurred in kali linux 2016.1
    error is:
    LODING PLEASE WAIT…

    and its stuck there. please help me i shall be very thankful to you.

  44. Hello, So Ive tried over and over, Different Fixes, Checked alot of forums for help but none worked or couldnt be done. I am Getting Stuck At a black screen with just a _ at the Top Left. It just gets stuck there, Been fussing around with it for a couple hours now. — http://hackercool.com/wp-content/uploads/2013/09/sanarvb9.png —it gets passed that part where it begins to load up but as soon as it switches to the black, its frozen. Help????

    • @Festive. Have you tried just waiting for sometime at that black screen. If you tried that, is your kali 32bit or 64bit and what’s your OS 64bit or 32bit?

      • Yea I’ve lrft it open for over an hour. I am using the 64 and I believe my computer is 64, I also tried the 32 once but it got a huge list of errors

  45. still cant work out install kali linux in virutabox get a please wait loading screen at the end of graphic install is there a specific version of virutalbox to download

  46. Hey i have insatlled kali linux in virtualbox but none of my commands are working like wlan0. Apt-get install etc.. what should i do hope you reply this time

    • @Charles, sorry for the delay in answering. I didn’t get you when you say none of your commands work. Can you be little more specific? Like whether can you see the command you are typing or whether you can’t even type text on the terminal.

  47. Pingback: How to install Kali Linux  - Pikaro

  48. Help me i run a 32bit linux and then i succesfully installed it.

    But when i boot it linux is stock at Loading: Please Wait.

    I can’t do anything but wait.

    I tried waiting it for an hour but nothing is happening help me.

    • Rashik, can you please send your configuration settings screenshot on my facebook page . We will try to find the final solution to this problem.

  49. kali installed fine but no?w cant get network online did ifconfig and pinged google thatall work now internet wont pleae help?

  50. Can anyone tell me why I don’t get the ova file when I extract. When I download I only have the single folder and the the 7zip file he actually performs the extraction on isn’t an option.

  51. Failed to open a session for the virtual machine Kali-Linux-2016.1-vbox-amd64.

    VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED).

    Result Code: E_FAIL (0x80004005)
    Component: ConsoleWrap
    Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}

    I have this error can you help me.

  52. My error:

    Importazione dell’applicazione
    virtuale /home/luca/Scaricati/Kali-Linux-2016.1-vbox-i686/Kali-Linux-2016.1-vbox-i686.ova
    non riuscita. Could not create the imported medium
    ‘/home/luca/VirtualBox
    VMs/Kali-Linux-2016.1-vbox-i686/Kali-Linux-2016.1-vbox-i686-disk1.vmdk’.
    VMDK: Compressed image is corrupted
    ‘/home/luca/Kali-Linux-2016.1-vbox-i686-disk1.vmdk’ (VERR_ZIP_CORRUPTED).

    Importazione dell’applicazione virtuale /home/luca/Scaricati/Kali-Linux-2016.1-vbox-i686/Kali-Linux-2016.1-vbox-i686.ova non riuscita.

    Could not create the imported medium ‘/home/luca/VirtualBox VMs/Kali-Linux-2016.1-vbox-i686/Kali-Linux-2016.1-vbox-i686-disk1.vmdk’.

    VMDK: Compressed image is corrupted ‘/home/luca/Kali-Linux-2016.1-vbox-i686-disk1.vmdk’ (VERR_ZIP_CORRUPTED).

  53. My OS is Windows 10 Home edition…. Is it possible to install kali Linux on virtual box with this OS? Thank you for your reply…..

    • @Romeo Sarte, Yes you can install Kali in Virtual box on Windows 10. Just download the Virtual box( version 5).

    • @Hemant, this error is displayed when you are trying to install a 64bit guest on 32 bit host. Try the other one.

Leave a Reply

Your email address will not be published. Required fields are marked *