Let’s dual boot Kali Linux and Windows 10 and enjoy both the amazing operating systems at once. Below are all the steps you need to follow in order to do this.
Kali Linux is the first thing which comes to every person who loves testing security measures. If you’re one of them who loves to learn ethical things, then that’s an amazing thing. Kali Linux is the absolutely right choice because it’s developed by offensive security to test and figure out major security breaches.
Hundreds of tools are available for Kali Linux which can do some crazy and unbelievable things. If you’re a beginner then you need to know the procedure to dual boot Kali Linux and Windows 10. It’s because if we install Kali on virtual box, it won’t give us that much flexibility rather than installing it on the hard drive and then booting through it.
Now, it seems like you can’t do something in Windows 10 which Kali is capable of. But, Kali doesn’t have something which Windows 10 have. So, just dual boot Kali Linux and Windows 10 to enjoy both the operating systems using one PC/Laptop.
We’ve shown step by step guide to do this. Users who don’t want to install Kali Linux on USB should use this method. But, if you do have extra USB, then we recommend you to boot into Kali using USB instead of installing it on the hard disk.
2 Methods To Dual Boot Kali Linux and Windows 10
We’ve shown two methods in this tutorial. Both of them are very easy to follow. The first method is for those users who have a USB Pendrive with them. The other one is for those who don’t have USB but they still can dual boot Kali Linux.
Method 1. Using Win32 Disk Imager
This method is just like you install Windows using a USB stick. We’ll first write the Kali Linux files into the UBS stick and will make it bootable. Then we’ll boot through it and by using graphical installation process, we can install Kali on our HDD.
Things You’ll need:
- USB Pendrive Stick (4GB Minimum)
- Kali Linux ISO
- Win32 Disk Imager
- Free 25GB SPace in HDD (25GB Recommended)
Step By Step Process:
- First, download latest Kali Linux ISO from here.
- We need Win32 Disk Imager, it’s completely free and can be downloaded from this link: “https://sourceforge.net/projects/win32diskimager/”
- Now, plug in your USB stick into the USB port.
- Install Win32 Disk Imager.
- Launch it and choose your external USB stick, click on the Folder icon and browse the Kali ISO file.
- Then click on Write button, accept the warning and wait till the process is complete. (Make sure you’ve taken backup of important data in USB)
- We need to create some free HDD space in order to create a new partition where Kali Linux will be installed.
- Right click on My Computer and choose Manage. (Admin privileges required)
- Choose Disk Management option. Now, look for the existing disk partition where a lot of free space is available.
- Right-Click on that partition and select Shrink Volume. We need at least 25 GB of free space to run Kali properly.
- Put the space in MB and 25GB=25600MB and click Shrink. You can now see that 25GB free space is created and marked as Green box.
- Make sure Kali to USB write using Win32 Disk manager is complete. Then Restart your PC/Laptop.
- We now need to boot through that USB stick. So enter into boot device selection menu and choose the USB.
- Wait till computer is booted and choose Graphical Install option.
- You’ll face some confusing option but don’t worry, we’ve attached the screenshots of each step.
- Select your Language and Country and click Next.
- In the network configuration wizard, choose eth0 for LAN connection and wlan0 for WiFi.
- Choose your WiFi network e.g hotspot. If you don’t have the WiFi router, use your mobile hotspot.
- If you’ve enabled password on your WiFi network, then choose WPA/WPA2 PSK option.
- Enter the password of your hotspot and click Continue.
- Wait till network connection is configured properly.
- Enter the hostname, leave the domain name option because we don’t need it.
- Enter your default password.
- Kali will now look for all the disk partitions in HDD, choose the Manual option here.
- You can clearly see that 25GB free disk space is clearly visible here. Click on it and continue.
- Then choose Create New Partition option.
- Set new partition size to 22GB and rest of will go to swap area.
- Set -> New partition type: Logical, Location of new partition: Begining.
- Click on the Bootable Flag and turn it On.
- Select Done setting up the partition and click Continue.
- Now, select pri/log free space which was left and continue.
- Create New Partition>Logical>Use As> Swap Area>Done Setting Up Partition>Continue.
- Then select Finish partitioning and write disk changes to disk.
- Select Yes option and then wait until the Kali Linux system is installed into that partition.
- Set use Network Mirror: No.
- Install GRUB Loader: Yes.
- Select /dev/sda option and Continue.
- Finish the installation by following on-screen guide.
- The system will reboot and while booting again, you” get two option, either to run Kali or Windows, choose Kali Linux.
- Enter the default username: root, and default password: toor.
- That’s all, you can now boot into Kali and Windows at any time. You’ve successfully done all the steps to dual boot Kali Linux and Windows 10.
- If you’re a beginner in Kali, then get a-z Kali Linux commands to learn important commands.
That’s all you need to do, we hope all these steps are understandable to you. Otherwise, you can leave a comment down below and we’ll help you.
Some Common Errors You Might End Up With During Installation
Username Or Password Incorrect:
Most of the users are getting this error while logging into Kali for the first time. It’s a common issue and has a very simple solution.
As we know that during the installation process, Kali asks us to enter username and password.
Instead of using that, we recommend you to use Username: root and Password: toor.
This way you should be able to login to your account. After logging in, add the new user and use that to login later.
GRUB Is Missing:
If you’re getting this error, you’re not alone. Even we also encountered this problem and it takes some research to solve it. It happens with most of the users.
If you’re one of them, then below is the simple solution waiting for you.
Fire up the Kali terminal and execute following commands one by one:
os-prober update grub
The best thing about the method is that you can save all your Kali Linux related data on your HDD. That’s all you need to do for enjoying Kali and Windows 10 in one computer.
But, if we talk about the live booting in Kali, the user can’t save its all the data in the root folder. Rebooting or turning it off will result in loss of all the personal/user-related data and settings.
Not all users want to save their data of Kali, e.g they just want to try and explore Kali. If you’re one of them then try out our second method.
Method 2. Using Unetbootin To Dual Boot Kali Linux and Windows 10
It’s kind of our favorite method because there’s no need to follow all the lengthy steps shown above. It’s like installing Live Kali Linux on Hard Disk.
All the files will be written to your C drive where Windows 10 is installed. Then we can boot to both Windows 10 or Kali Linux as per our needs.
Note: As we’ve told you above that if you tried this method to use Kali and Windows together, you won’t be able to save all the user data and settings. Once rebooted or turned off Kali, all the data will be gone. It’s perfect for those who just want to live test things.
Things You’ll Need:
- Kali Linux ISO Image file.
- Unetbootin Software
- At least 5 GB free space in your C drive where Windows is installed.
- Make sure you’ve ISO image file of Kali.
- Then download UNetBootin from here: “https://unetbootin.github.io/”
- Launch the UnetBootin (Admin privileges required)
- Select the ISO option, click on browse and select your ISO image file.
- Set type to Hard Disk, and select C drive.
- Now, click OK and wait till the process is completed.
- After this, we need EasyBCD to enter a new boot entry. Download EasyBCD from here: “http://neosmart.net/EasyBCD/”
- Launch the EasyBCD utility now.
- Then click on Add New Entry button.
- Choose Linux/BSD tab and set Type: GRUB2.
- Then enter the name as per your needs e.g Kali Linux Live.
- Set Drive: Auto and click Add Entry.
- That’s all, now restart your computer and during the restart process, you’ll get two options either to continue to default OS which is Windows 10 or choose Kali Linux Live to use Kali.
Using these steps, you can fire up Kali anytime and each time you’ll start it everything will be reset automatically. Because no data is saved once Kali is shut down. However, you can set persistence mode but then you should prefer Method1.
We now hope that you’re able to dual boot Kali Linux and Windows 10 using just one computer. Both the methods are pretty much easy to follow. But, if you still have some problems then we’re always available here to help you.
Start the discussion below and we’ll resolve your issue as soon as possible.