Install Kali Linux On Windows

Install Kali Linux On Windows Rating: 3,5/5 3183 reviews
  • People usually try to install the Kali Linux inside the virtual environment on their computers stop as to override the installation issues. This could be probably a good way to the software access but the performance inside the virtual system is always way too slow.
  • Recently Kali Linux was released as an application in the Microsoft Store. Through utilization of the Windows Subsystem for Linux (WSL) compatibility layer, its now possible to install Kali in a Windows environment. WSL is a feature in Windows 10 that enables users to run native Linux command-lines tools, Bash.

Kali Linux Dual Boot with Windows

I am installing Kali Linux on my Windows 10 PC according to your instructions.The installation has been going well and it has been installed on the system. It is now installing GRUB, and my problem is with the GRUB installation. It has been stuck in the same position for a good 30 minutes now with the command ‘running “update-grub”‘.

Download

Installing Kali alongside a Windows installation can be quite useful. However, you need to exercise caution during the setup process. First, make sure that you’ve backed up any important data on your Windows installation. Since you’ll be modifying your hard drive, you’ll want to store this backup on external media. Once you’ve completed the backup, we recommend you peruse Kali Linux Hard Disk Install, which explains the normal procedure for a basic Kali install.

In our example, we will be installing Kali Linux alongside an installation of Windows 7, which is currently taking up 100% of the disk space in our computer. We will start by resizing our current Windows partition to occupy less space and then proceed to install Kali Linux in the newly-created empty partition.

Download Kali Linux and either burn the ISO to DVD, or prepare a USB stick with Kali linux Live as the installation medium. If you do not have a DVD or USB port on your computer, check out the Kali Linux Network Install. Ensure you have:

  • Minimum of 20 GB free disk space on Windows
  • CD-DVD / USB boot support

Preparing for the Installation

  1. Download Kali Linux.
  2. Burn The Kali Linux ISO to DVD or copy Kali Linux Live to USB.
  3. Ensure that your computer is set to boot from CD / USB in your BIOS.

Dual Boot Installation Procedure

  1. To start your installation, boot with your chosen installation medium. You should be greeted with the Kali Boot screen. Select Live, and you should be booted into the Kali Linux default desktop.
  2. Now launch the gparted program. We’ll use gparted to shrink the existing Windows partition to give us enough room to install Kali Linux.

  3. Select your Windows partition. Depending on your system, it will usually be the second, larger partition. In our example, there are two partitions; the first is the System Recovery partition, and Windows is actually installed in /dev/sda2. Resize your Windows partition and leave enough space (20 GB minimum) for the Kali installation.

  4. Once you have resized your Windows partition, ensure you “Apply All Operations” on the hard disk. Exit gparted and reboot.

Kali Linux Installation Procedure

  1. The installation procedure from this point onwards is similar to a Kali Linux Hard Disk install, until the point of the partitioning, where you need to select “Guided – use the largest continuous free space” that you created earlier with gparted.

  2. Once the installation is done, reboot. You should be greeted with a GRUB boot menu, which will allow you to boot either into Kali or Windows.

Post Installation

Now that you’ve completed installing Kali Linux, it’s time to customize your system. The Kali General Use section of our site has more information and you can also find tips on how to get the most out of Kali in our User Forums.

If you are planning to start your career as an ethical hacker, or have interest in hacking, you must have heard about Kali Linux. Yes, it is yet another great distribution of Linux, which is targeted to the penetration testers and white hat hackers. Kali Linux is, just like other Linux platforms, an open source project, but is maintained and funded by Offensive Security, which provides a handful of security and penetration testing services. Kali Linux is not the only best available open source penetration testing and ethical hacking distro; there are dozens. So, If you always have been a Windows or Mac user, it will be a tough time to cope with the new user interface and a new set of features and software, available on Linux, and thus, it is not recommended to install Kali Linux, on your system, as the main operating system.

Most users want to know how to install Kali Linux on the virtual machine, and you will get the answer to your question here. There are a number of virtualization platforms, where you can install Kali Linux on top of your Windows or Mac, and even Linux, if you are comfortable with some other Linux distro. I will show the tutorial to install Kali Linux on VirtualBox, as VirtualBox is a virtual machine platform, which is available for Windows, Linux, Mac, and a number of other platforms like Solaris. If you know, how to use other virtual machine platforms like VMWare Player or VMWare Workstation, you can even install Kali Linus, on that, and the process is not going to be too much different. Furthermore, the VirtualBox is also available in a Portable version that can be used directly from to run any operating on any computer without installing the Virtualbox software locally. Here is a tutorial on that– Install Portable Virtualbox on USB to Run Virtual Machines Anywhere.

The step by step process of Kali Linux Installation on Virtual machine given here in this tutorial is same for Window 10, Windows 8, Windows 7, Linux (different flavors & version) including MacOS.

Install Kali Linux on Virtualbox

Download the Kali Linux installer image for a Virtual box.

Your first task would be to download the Kali Linux ISO from the official website of Kali Linux. You can get a list of all the downloadable ISOs here.

You can find a number of ISOs, but I will recommend you to go for a 64-bit edition of Kali Linux. Just go for the one, at the top. You can even download the same ISO image, by clicking here.

*If you think, you are not having enough resources, you can even go for the Light versions, which I haven’t tried though. Ti nspire game download. If you are having an internet connection, offering faster peering, you can even go for the torrent download, instead of the regular HTTP download, recommended for most users.

Configuring the Kali Linux virtual machine

After downloading the image, open VirtualBox, and click on the button saying ‘New’. You will have to set the type to ‘Linux’, and the version to ‘Other Linux (64-bit)’ You can give any name, but I have given the name Kali, to easily recognize it, when there are many virtual machines.

Assigning RAM to Kali Linux on VirtualBox

Now, you will have to choose the amount of memory, you would like to reserve for the virtual machine, or the Kali Linux installation. I will recommend you to go for a minimum of 2 GB or 2048 MB. If you can assign more, it is always a great idea. Click on ‘Next’

Create a virtual hard disk for Kali Linux

Now, choose the option saying ‘Create a virtual hard disk now’, and click on ‘Create’. Now choose VDI or VirtualBox Disk Image. If you know how to use VHD or VMDK, you can even choose them. Click on ‘Next’ once again.

Now, you will have to choose the allocation of the virtual hard drive on your physical disk. I will recommend you to choose the option saying ‘Dynamically allocated’, to allow VirtualBox to allocate the space on your physical disk, smartly. Click on ‘Next’.

Now you will have to choose the size of the disk, or the storage space from your hard drive or SSD, which you want to assign to Kali Linux. I will recommend you to go for 20 GB. But if you are having more room, go for more storage, as well. Do not set the default value, i.e. 8 GB, as it will no install on that little amount of storage. Click on ‘Create’ now.

The creation of the Virtual Machine is complete. Now it is the time to start the real game of installing Kali Linux on the virtual machine created.

Installing Kali Linux on VirtualBox

The process of installing Kali Linux is going to be same for other virtual machine platforms, and it is kind of similar, with some basic differences, in case of installation on a physical machine, as well.

Choose Kali on the left hand side of VirtualBox, and click on ‘Start’.

Select Kali Linux ISO file

Now, you will have to choose the location, where the ISO of the Kali Linux is present. You will have to click on the icon beside the drop-down menu saying Host Drive. Locate the ISO, and click on ‘Start’.

Kali Linux Boot Menu

You will get the following screen, and you will have to select ‘Install’, and hit the enter key. (Use the up and down arrow keys to select, as you will be unable to use the mouse, as long as the installation continues, which you should keep in mind.)

Language Selection

Now, you will have to language. Select your preferred language, which is ‘English’ for me, and hit the enter key. Then, you will have to choose the country, which is ‘India’ for me, and hit the enter key once again.

Now you will have to choose the Keymap, and I am choosing ‘American English’, which can also be different, if you are having a keyboard with some different layout, and hit the enter key.

Network Configuration

Now, you will have to assign a Hostname. You can give any name. I am assigning the name ‘Kali’ to it. Now select ‘Continue’, and hit the enter key. You will get the option to choose the Domain name. Keep this field empty, and carry on. You can change such network settings later on.

Set Kali Linux root password

Now, you will have to enter a password. Just enter the password, and continue. Just like entering passwords in different other places, you will have to enter the password twice, by selecting ‘Continue’.

Partition the disk

Now, you will be asked to partition the disk. I will not recommend you to partition the disk, as we are using a virtual disk. Though you can partition, if you feel like doing that, for a better experience. To skip partitioning, just select ‘Guided – use entire disk’, and hit the enter key.

As you haven’t portioned the disk, there will be a single disk available. Just hit the enter key to carry on. Now, you will get two options. Go for the first option saying ‘All files in one partition (recommended for new users)’, and hit the enter key.

Now select ‘Finish partitioning and write changes to disk’, and hit the enter key.

The installation will start, and if you have followed all the steps properly, the installation will be completed without any issues, and you will get the following message, after the installation is complete. The installation will take few minutes, and I will recommend you not to use your computer, when the installation takes place.

Configure the package manager

Once the files are installed, you will be asked, whether to install a network mirror, in order to configure the package manager. I will recommend you to select ‘No’, and carry on with the installation process.

Install Kali Linux On Windows Xp

Finally, you will be asked, whether to install the GRUB. Just click on ‘Yes’. After that, you will get two options. Go for the second option, which is available.

Now finally select ‘Continue’ in order to start using Kali Linux.

Install

The installation is not complete.

Install Kali Linux On Windows 10

Starting Kali Linux

Once everything is completed, you will be asked to enter the username, which should be ‘root’. Just hit the enter key, and you will asked to enter the password. The password should be that password, which you entered, at the time of installing Kali.

At the time of booting your virtual machine, you will get 2 options. Just go for the option saying ‘Kali GNU/Linux’, to carry on with the process of starting Kali Linux.

After the booting completed, you will get the following screen. Yes, the cool refreshing user interface of Kali Linux. Once you see the image, your hard work is now fruitful.

Install Kali Linux On Windows Subsystem Gui

Now, you can start using Kali Linux, just in the way, you can use any other operating system. Here is a screenshot, showing Mozilla Firefox on Kali Linux, with the homepage of ‘Google’ loaded on it.

Install Kali Linux On Windows 10

You can even install the Virtual Box Guest Additions, if you need that. Moreover, you can also download and install the Virtual Box Guest extension pack in order to get the extra hardware functionalities, which is present on your computer. If you don’t the installation of extension pack then see our article: An easy way to Install VirtualBox extension Pack on Windows, MacOS & Ubuntu Linux.

The installation process is quite easy, and it is going to be the same on all other virtual machine platforms. I have chosen VirtualBox to show the installation of Kali Linux, as the same process can be used to install Kali Linux, on all the operating systems, as VirtualBox is open source, and is available for all platforms, unlike other virtual machine platforms, limited to a certain platform.

Hope the small tutorial on how to install Kali Linux on VirtualBox, was helpful for you, and if you face any kind of troubles at the time of installation, feel free to comment it down below.

ALSO SEE: