Dual Boot Kali Linux with Windows - GeeksforGeeks

14 Oct, 2020
Sometimes we came across situations like when we want to start learning Linux and command line stuff but using Linux as a main Operating System without having a basic idea of it is not a good option. So in order to do that we may install the same alongside windows. And choose which Operating System we want to work on at which time. Before proceeding with the tutorial make sure you have backed up your data to an external drive. 
Prerequisites
20gb free disk space on other OS
External Drive to boot Kali Linux
Note: Un allocates a minimum of 20GB of data in your hard disk to Free Space memory.
 
1. Free up some space in the hard drive and open the run dialogue box by pressing the “windows+r” key combination.
2. Enter the following command in the dialogue box
compmgmt.msc

3. Select the “Disk Management” option from the left pane and select the partition you wish to delete and then right-click on the partition and click on delete partition to free up some space. You may also shrink a volume by right-clicking on the volume, select the shrink volume option, and then enter the size to shrink and hit Enter. It should display the free space as highlighted below
1. Download Kali Linux.
2. Burn the Kali Linux ISO to the External Drive from which Kali Linux is to be booted.
3. Open the BIOS settings of the system and change the Boot device to the external device which has Kali Linux image burned and boot from the device.
4. In order to use the Graphical Version to install the OS click on Graphical Installation.
5. The next option is to select a language, So select your desired language and hit enter.
6. The next step is to select a country, territory, or area. So select your respective one.
7. The next step is to configure your keymap. Confirm the keymap you want to use and click Next.
8. In the next step it is asking for a hostname, Enter the same and press the continue button.
9. The next step is to enter the domain name of your choice you may leave it blank if you don’t have any.
10. Enter a strong password for your Kali Linux OS and click continue.
11. The next step is to select a time zone of your choice which you want to use as a default time zone for the Kali Linux machine.
12. Now click on the “Manual” option and press continue to confirm.
13. Now select the Free Space and create a new partition with that and click continue. Also, it is recommended for new users to not use a separate partition for root, home, and swap areas.
14. Now click on create a new partition.
15. Now enter the partition size to be created.
16. Now select the partition type as “Logical”.
17. Now if you are new to Linux then use the following settings for the partition or you may also adjust them as per your need. And then click on “Done setting up the partition“
18. Now just click on finish partitioning and write changes to disk.
19. Now select the “no” option in order to continue.
20. Now in order to write changes to the disk select the “yes” option and then click on continue.
21. Now, wait for a few minutes for the Kali system to be installed alongside the other Operating System.
22. The next option is to select whether to install the GRUB boot loader to the master boot record or not. Click on yes to add the same.
23. Choose your respective hard disk to boot into, from the list of devices.
24. This will start installing the Kali Linux OS and will take a few minutes to completely install the same and will reboot after the successful completion of the installation.
25. Once the complete process is finished successfully, It will give us a choice to boot form 2 Operating System which means the dual boot is successful. 
Kali-Linux
Linux-Unix
Writing code in comment?
Please use ide.geeksforgeeks.org,
generate link and share the link here.
nohup Command in Linux with Examples
scp command in Linux with Examples
Thread functions in C/C++
mv command in Linux with examples
SED command in Linux | Set 2
chown command in Linux with Examples
Docker - COPY Instruction
Array Basics in Shell Scripting | Set 1
Basic Operators in Shell Scripting
nslookup command in Linux with Examples