Last updated: July 3, 2022
As you know, from time to time I share tutorials on Ethical Hacking with you. In these tutorials I often work with the distribution Kali Linux successor to Backtrack.
However, I have found that many of my readers do not yet know how to install Kali Linux on their machine while leaving Windows intact.
Today I decided to write a tutorial on how to install Kali Linux on your Windows machine using the VirtualBox or VMWare program.
How you already know, Kali Linux is the best operating system for penetration testing. The objective of Kali Linux is to provide a distribution grouping together all the tools necessary for the security tests of an information system.
And VirtualBox and Vmware player are programs that use virtualization. It is a technique that allows the creation of one or more virtual machines within the same operating system (generally Windows).
It is possible to run multiple virtual machines at the same time, the limit corresponding to the performance of the host computer.
Install Kali Linux on Windows 10 and Windows 7 with VirtualBox
In this video, I will show you how to install Kali Linux with Virtualbox on Windows: step by step. This is a detailed guide on installing Kali Linux on VirtualBox.
Create a Kali Linux virtual machine on Windows with Vmware
Here we will see how install Kali Linux on your Windows system with VMWare software.
Step 1:
Start by download vmware. VMWare player is free but not free, you will still have to register to generate an activation key which will be requested during installation.
Then download kali linux iso file. The file occupies more than 3 GB. We save the file which can be reused in a special directory called “Disk Image” for example.
Once downloaded Vmware, start the installation by double clicking on the executable. Continue the steps by clicking Next Next, Finish. Vmware Player is now installed on your computer. Open Vmware and click on "Create New Virtual Machine".
Step 2:
Select "Install disc image file (iso)", then select the kali linux ISO file you downloaded. Click on "Next".
Step 3:
In this step, select the type of operating system to install and then enter the name of the virtual machine. In my case, I'll name it "Funinformatique Kali Linux ". Also choose the location, I recommend that you create a folder named" Virtual machines "in my Documents. Then click on Next.
Step 4:
Then you have to select the maximum size of the storage space you want to use for kali linux. I recommend using 30 GB. After changing the next option to "Store virtual disk as a single file" and click on Next.
Step 5:
In the next window, we must configure the virtual hardware that we are going to use in Kali linux. So click on the button "the Customize Hardware.
Select "Memory", and choose the memory size you want to give to the kali linux system. For me, since I have 4 GB in my computer, I will choose 2 GB's (2048 Mb's).
Then click on Network Adapter. In this part, we are going to tell Vmware to use our computer's wifi card.
To do this, select the option Bridged and click on the "Configure Adapters" button.
In the new window, deselect everything except your WIFI network card and click OK. You can now click Close at the bottom of the hardware window and click Finish.
Step 6:
Congratulations ! The new virtual machine file is now properly configured and is added to the VM library.
Now all you have to do is start your virtual machine! To do this, click on the name of the newly created virtual machine, then click on Play virtual machine.
After starting your virtual machine, you will have two possibilities: either start the linux system live, or install it on the hard disk of the virtual machine.
Live mode has the particularity of being able to launch a Linux system without installation on the hard disk. The advantage live mode is that it allows you to test the system before installing it.
Its disadvantageis that it is generally not possible to directly save the modifications made during the session. That is to say once you shut down the system all the documents created and the software that you would have installed will be lost.
So it is better toinstall on your virtual machine.
How to install kali linux under VMWARE?
Step 1:
In the boot menu of kali Linux, choose the option "Graphic install" and click on Enter. In the next window, you will be asked to choose the system language.
Step 2:
Then choose your location. Then you have to choose the language of your keyboard. Click on next, wait a few seconds, the time that kali linux detects the hardware of your computer. Then you would have a window that asks you to enter the name of your machine. Enter the name that best suits you /
Step 3:
Kali Linux will now ask you to enter a password for the root user. Make sure you can easily remember this password, if you forget it you will have to reinstall Kali Linux. Click continue after you have entered and re-entered the password of your choice.
Step 4:
Here, select the option "Assisted - use whole disk" and click on continue. Another window will ask you to confirm your choice. Click on continue.
Step 5:
Then select the first option "All in one partition". Click on continue. Another window will ask you to confirm your choice. Click on continue again.
Step 6:
Last question! Confirm that you really want to make these changes by selecting the Yes option and clicking Continue.
The installation of Kali linux will now begin. On average, installation takes 30 min.
After a few minutes the installer will ask you if you want to install the GRUB boot loader. Click Yes and continue. Finally select dev / sda and click continue.
After restarting, enter the login (root) and password.
Here you are with Kali in a virtual machine, ready to test your networks.
I have a problem, during the partitioning, it does not advance. I am given lines of: scsi(…)-512.0B just that, so step 6 does not come. Can you help me?
Hello and thank you for this tutorial, I have a problem installing the software. First, during the steps, there is a moment where I am told that the internet setup failed, I have the option to continue the steps so I continue until the end. The download supposed to last 30 minutes blocks my pc.
Is there an explanation?
I hope you can help me.
Hello Lihre,
It is possible that your computer freezes while downloading due to several reasons. Here are some suggestions that might help you solve the problem:
1) Check internet connection
2) Check if you have enough disk space available on your computer
3) Try temporarily disabling security programs to see if that fixes the problem.
EVERYTHING IS OK . I was even able to enlarge the kali linux screen; with the following command: apt-get install open-vm-tools-desktop fuse
please
FIRST OF ALL I CONGRATULATE YOU FOR THIS SITE AND GOOD COURAGE
THE PROBLEM ? IS THAT WHEN I ENTER THE PASSWORD? I HAVE THIS MESSAGE: Sorry; that
did not work . Please try again. and yet I don't dabble in the code.
please
Your keyboard should definitely be QWERTY.
Hello Mokhtar, the error message states that your computer does not support hardware virtualization, which is required to run the virtual machine. To resolve this issue, you can try the following steps:
1) Check if hardware virtualization is enabled in your computer's BIOS. To access the BIOS, restart your computer and press the indicated key to enter the BIOS setup menu.
2) Next look for Hardware Virtualization Settings, which may be called Intel VT-x, AMD-V, or Virtualization Technology.
3) Make sure these settings are enabled.
Finally restart your computer.
AND FOR WIFSLAX HOW WE CAN DO IT
THANK YOU
Hello,
Me it stutters when I do; Play virtual machine. It gives me a message » This host does not support Intel VT-x. This host does not support “Intel EPT” hardware assisted MMU virtualization. Module 'CPUIDEarly' power on failed. Failed to start the virtual machine. *
What should I do please??
Thank you very much Mr EL JAOUARI
hello, great tutorial thank you.
On the other hand when I want to install kali linux, after step 3 I have a problem... I have a "detection of hard disks" screen and the system tells me that it does not detect any hard disk and that I need to know the name of my hard drive driver to continue. Only, impossible to find this info 🙁
I'm on a Macbook pro 2017 (2 usb-c ports) 14,1 SSD 128GB with vmware fusion 10
I searched in google how to do it but without success...
Thanks for your help
Kali has changed from is that I download kali there is no iso file and when I try to link VMware to the iso file it does not find anything thank you for your answer 🙂
No license needed
The OS to choose is Debien 8.x 64Bit
To be updated with VMWare's request for the system wanting to be installed and also the "forced" installation of Grub by Kali.
hello me when I launch play it refuses completely I can not start
For those who have problems don't forget to activate virtualization in the BIOS
hello MELIODAS how to activate virtualization in the bios?
Hi david, to enable virtualization in the bios, follow these steps: https://www.pcastuces.com/pratique/windows/virtual_pc/page2.htm
it's cool
Good evening Ahmed, I need the installation license of Vmware player 12.5
Hello Ahmed,
I followed your procedure, but I had difficulties during the dhcp configuration, so I entered a static ip in ipv4, but I have no internet access. I don't ping mm my default gateway.
can you help me about this?
thank you in advance
please help me ahmed i can't login to kali linux. thank you for all you do for us aspiring computer science.
for my part VMware was free no license needed thank you anyway
good evening Ahmed, just a question, on the version of Vmware that I downloaded, there is a step where I am asked which system will I install on my virtual machine, what should I choose?
Personally I took Ubuntu 64bis