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
- Download Kali Linux.
- Burn The Kali Linux ISO to DVD or copy Kali Linux Live to USB.
- Ensure that your computer is set to boot from CD / USB in your BIOS.
This installation has the potential to go wrong very easily as it involves editing existing partitions. Be aware of what partitions you are modifying and where you are installing Kali to. Having a backup of your Windows system available is a good idea in the event something goes wrong.
Dual Boot Installation Procedure
- 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.
- 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 three partitions; the first is Window’s boot partition, then Windows is actually installed in
/dev/sda2 , and the final is the System Recovery partition. Resize your Windows partition and leave enough space (20 GB minimum) for the Kali installation. If you are moving past into any non-white in the partition then you are editing a section that is in use. Only remove from the area of the partition that is not in use. It is alright to leave the third partition, and only shrink the actual install.
Kali Linux Installation Procedure
- 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 .
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. One thing that may be worth knowing about is that occasionally the time will get changed between the Windows and the Linux system. To fix this, we can do the following:
[email protected]:~$ timedatectl set-local-rtc 1 --adjust-system-clock [email protected]:~$
To undo this we can simply do:
[email protected]:~$ timedatectl set-local-rtc 0 --adjust-system-clock [email protected]:~$