Kali Linux, by Offensive Security recently released their new version of penetration testing platform Kali Linux v2018.1 with some new features. Also Microsoft released their most advanced final version of Windows Operating System, Windows 10.
So how it will be when these two killer badass OSs come in same device. In this article we are going to guide you how to dual boot Kali Linux v2018.1 with Microsoft Windows 10. Dual boot means running two separate OS in same HDD.
If you are not a fan of Windows 10, then don’t worry — with this tutorial you can also dual boot Kali Linux with Windows 7/8/8.1.
Before starting tutorial checkout — 5 things to do before dual booting Linux with Windows
Before starting this tutorial first checkout materials required :
- Of course a PC/Laptop .. lol
- 8GB Pendrive (Minimum)
- At lest Dual-Core (either intel or AMD) with minimum 1GB of RAM.
- Windows 10 or any other version of Windows(Already Installed)
- Kali Linux (latest vesrion) → Get It Now
- Rufus → Get It Now
- Some Patience
Video tutorial available at the end of the article.
So lets start:
Also Read : A-Z Kali Commands
• Step 1:
First download Kali Linux latest version ISO file from the above provided link.Download either 32 bit or 64 bit, that’s your choice.
• Step 2:
After downloading Kali Linux the next step is the creation of a bootable USB.For that we need Rufus – a utility that helps format and create bootable USB flash drives.So download it from above link and install.
• Step 3:
Lets start making a bootable USB.
First connect your USB drive.As already said we need minimum 8GB memory pendrive.
Run Rufus and follow steps to create a bootable USB.
• Step 4:
Now you get a screen like below image.
• Step 5:
First check your USB drive is selected. Then click small CD drive icon below (2) and locate Kali Linux iso file that you downloaded from Kali official website. And finally click “Start” and wait for process to complete.
• Step 6:
After process completion you can see a close button to exit from the rufu window, click on it and yes, here is your Kali Linux bootable USB drive.
Other than installing Kali Linux with Windows, you can also use this USB to live boot Kali – means run Kali without installing it (but limited some functions).
Also Read : A-Z Bash Command Line for Linux
• Step 7:
Next we are going to create a separate partition for Kali Linux installation.So open your Disk Management settings in Windows or Run ” diskmgmt.msc ” command.
Create a new partition of size about 15 – 20GB minimum by shrinking any existing volume.Here we created a new partition of size 17GB.
• Step 8:
Initial process all done. Downloaded Kali Linux ISO, Created bootable USB drive and created a separate partition for Kali Linux installation.
Before going on keep in mind always Disable Secure Boot and Fast Boot option in BIOS.
Now Restart your PC/Laptop and go to boot manger and select the option boot as USB.[Options will be different for different brands].Just boot it as USB.Now you will see the installation window of Kali Linux.
There are different options to install Kali Linux.Here choose ” Graphical Install ”
• Step 9:
Choose the language to be used for the installation process.And press ” Continue “.
• Step 10:
Choose your country and ” Continue ” the installation process
• Step 11:
Next set type of keyboard layout.Choose ” American English ” for normal people.
• Step 12:
Next step set IP configurations. You can Configure your network Automatically OR Manually.
• Step 13:
In next it will ask for a Hostname. Set any name you want.
Also Read : The best Linux distro for beginners
• Step 14:
In this step you have to enter a password for ” ROOT User “. After entering Administrative account password click ” Continue “.
• Step 15:
Next choose partitioning method as ” Manual ” and hit ” Continue “.
• Step 16:
Carefully do this step.Only choose the partition that we created earlier for Kali installation and press ” Continue “.
• Step 17:
Then select the option ” Delete the partition ” and hit ” Continue “.
• Step 18:
After above step you can see that your Kali installation partition is now show as “FREE SPACE “.So choose it and ” Continue “.
Also Read : Top Favourite Operating Systems Of Hackers
• Step 19:
Next step it will ask us how to use those ” FREE SPACE “.Choose the option ” Automatically partition the free space ” and ” Continue ” the process.
• Step 20:
Next choose the first option that is recommended for new users and press ” Continue “.
• Step 21:
Finally select the option ” Finish Partitioning and Write Changes to Disk ” and ” Continue “.
• Step 22:
In this step it will ask permission to write changes in disk.Choose ” Yes ” and ” Continue “.
Now the Kali will start the installation process.Wait 10-15 minutes to process completion.
• Step 23:
In the middle of installation it will ask for network mirror,choose ” Yes ” or ” No “.This settings is about update option. So we recommended you to choose ” No ” now. You can later change this option.
• Step 24:
Next it will ask for installing GRUB boot loader, choose ” Yes “.and ” Continue “.
• Step 25:
Next it will ask where to install boot loader.Choose your hard disk, second option. Remember only choose your hard disk to install GRUB. Otherwise after installation of Kali your system will not display option to choose operating system on start up.
• Step 26:
After successful completion of installation process you will see a screen similar to below screenshot. Choose ” Continue “.
• Step 27:
Now Restart your PC/Laptop and eject USB drive.
During Start Up you can see the GRUB Loader of Kali Linux.
Here you can choose ” Kali GNU/Linux ” to boot your PC/Laptop with the new Kali Linux or else choose ” Windows Recovery Environment ” to start as Windows 10.
We hopes you like the article regarding how to install Kali Linux v2018.1 with Windows 10.If you have any doubts or facing any problem during installation please contact us or comment below.We are here to help you.
And wait for some new Kali Linux tutorials 🙂
Check out Video Tutorial ► Dual boot Kali Linux With Windows
[Solution] – Authentication Problem During Kali Linux Start Up
Sometimes after successful installation of Kali Linux many users fails to login into Kali first time. The problem they are facing is authentication.
You must also experienced same problem, even after entering the correct Username & Password (one that provided during installation), you fails to login into Kali Linux. Don’t worry we have a solution for you.
When Kali Linux ask you to enter Username for first time, do not enter the Username you given during installation. Instead of that just type “root” in username field and then enter Password that you set during installation. Yes this will solve your problem.
[Solution] – Missing GRUB in Kali Linux
Some of our readers are reporting a problem, that after installing Kali linux they are unable to boot into Windows. This is because of missing GRUB loader. So to solve this problem you have to reinstall GRUB menu so that it can detect Windows. To do so boot into Kali and open terminal and type following commands :
Solution Source : Kali Forums
[Solution] – After Installing Kali, PC Directly Boots to Windows
Many readers are reporting that even though after successfully installing Kali, every time PC boots automatically to Windows without showing GRUB. This happens due to failed GRUB installation happens because of Bootable flag option is off. GRUB installs successfully only when this option is on.See step 17 you can find bootable flag option.
So this is one of the possible solution for that problem :
- First boot with your Kali USB
- Select “Live” option to boot into Kali Live mode.
- Open Terminal window.
# fdisk -l (First we have to find out the partition Kali is installed on (: /dev/sda1, /dev/sda2, etc) ) # mount /dev/sda1 /mnt (Mount your kali partition) # mount --bind /dev /mnt/dev (You will need to mount the /dev directory into mnt) # chroot /mnt (change the root to the mounted partition to be able to run the command from the mounted partition) # grub-install --recheck /dev/sda (install grub in the HDD sda, not sda1, sda2, etc.., just sda.
- Now reboot the system, you will see your boot-menu showing Window and Kali Linux both simultaneously.
- Now, please issue these 2 commands, if they fail, do not worry, you will have to do it after reboot.. This will make Windows to show up in the grub menu.
# os-prober (looks for partitions in the HDD and register them in the os-prober file. # update-grub (Takes some templates, including the os-prober file and writes them in the menu)
- That is all, once done, reboot..You should see the grub menu. If you do not see the Windows option in the menu, don’t worry, just enter Kali, open up a terminal and run the 2 commands I posted above.
- Reboot again, you should see the Kali and Windows option in GRUB menu
If this method didn’t work out for you then try the below mentioned on.
[Solution] – Adding Kali Linux to Windows Boot Manager using EasyBCD
As we told before, sometimes because of some reason Kali Linux won’t boot after installation and directly opens Windows. And most instance above mentioned method solves this Kali grub not showing on Windows problem.
If you already tried the above solution and still not solved the problem, then probably this method will help you to add Kali Linux bootloader.
In this method, instead of installing GRUB bootloader we are adding Kali Linux boot entry to our Windows boot manager. To do this task, we are using the free edition of a simple tool called EasyBCD. So download and install EasyBCD Community Edition and do as follow :
Open EasyBCD and go to the “Linux/BSD” tab and choose the option “Add New Entry“.
Next, you have to select the type of bootloader for your Linux distribution. Since we are using Kali Linux — choose GRUB2. And next, change the name of the operating system to Kali Linux. And finally set drive option as “Automatically locate and load” and hit “Add Entry” button.
Now you have to set Windows 10 as the default OS, so that your system will boot directly to Windows during startup. So go to “Edit Boot Menu” option and tick Windows 10 or your Windows version and finally hit “Save settings” button. And finally, restart your PC and boot into Kali.
Let us know above mentioned step resolved your issue. If not try this solution.
If you have any doubts or facing any problem during installation please free to comment below !