Kali Linux

How to dual-boot Windows 10, Kali Linux 2 on a PC with UEFI firmware

Step 6Create the Swap Partition:
And that last partition will be used as swap space. You know the drill by now. Continue.

Kali Linux 2 create partition
Figure 16: Creating new disk partition on Kali Linux 2

For the size of the swap partition, 4 GB is now standard on 64-bit-capable computers, which is what I assigned to it on the test system. Continue.

Kali Linux 2 swap partition size
Figure 17: Specify swap partition size on Kali Linux 2

Stick with the default. Continue.

Kali Linux 2.0
Figure 18: Specify location of the swap partition of Kali Linux 2

The default settings for this partition need to be modified. To make the change, double-click on the Use as setting, or select it and click the Continue button.

Kali Linux 2 swap space
Figure 19: Swap partition details on Kali Linux 2

Then select swap area. Continue.

Kali Linux 2 swap partition
Figure 20: How to use a partition as swap space on Kali Linux 2

Select Done setting up the partition. Continue.

Swap space on Kali Linux 2
Figure 21: Finished creating swap space on Kali Linux 2

Step 7Complete Related and Important Installation Tasks:
Back for the last time at the main disk partitioning window, you need to check that the EFI Boot Partition, which is partition #2 on the system used for this tutorial, was detected as the device for boot loader installation by the installer. That’s necessary because in previous editions of Kali Linux, the EFI Boot Partition was never detected, which led to installation failures.

To check the partition, select it, then click Continue.

Kali Linux 2 Boot EFI partition
Figure 22: Boot EFI partition on Kali Linux 2

Cool! The installer correctly detected it as the device for boot loader installation, so you don’t have to make any changes. Select Done setting up the partition. Continue.

Boot EFI partition on Kali Linux 2
Figure 23: Verifying the Boot EFI partition on Kali Linux 2

Select Finish partitioning and write changes to disk. Continue.

Dual-boot Windows 10 Kali Linux 2
Figure 24: Finished creating partitions for installing Kali Linux 2

Yes, Continue.

Format disk partitions Kali Linux 2
Figure 25: Confirming disk partition formatting for Kali Linux 2

You can complete the installation without using a network mirror, but if you have a working Internet access, it’s best to select Yes here, then click Continue.

Kali Linux 2 network mirror
Figure 26: Configure network mirror for Kali Linux 2

After a successful installation, the computer, by default, should reboot into Kali Linux 2. And at the GRUB menu, you can select the Windows Boot Manager entry to boot into Windows 10.

Kali Linux 2 GRUB boot menu
Figure 27: Kali Linux 2 GRUB boot menu

And if you access the computer’s boot menu, you should see an entry for Kali Linux 2.

Kali Linux 2 GRUB boot manager
Figure 28: Kali Linux 2 GRUB boot manager on computer boot menu

That’s the end. Hope you completed it without errors.

LinuxBSDos needs your donation to continue!

I hope this article has saved you valuable time and effort to fix a problem that would have taken more time than is necessary. That makes me happy, and why I love doing this. But because more people than ever are reading articles like this with an adblocker, ad revenues have fallen to a level that's not enough to cover my operating costs. That's why I want to ask you a favor: To make a one-time or recurring donation to support this site and keep it going. It's a small favor, but every one counts. And you can make your donation using Patreon or directly via Paypal. Thank you for whatever donation you're able to make.

Donate via Patreon. Donate via Paypal.

Aside from donation, you may also signup to receive an email once I publish new content. Your email will not be shared or traded to anyone. And you can unsubscribe at any time.

Please share:

We Recommend These Vendors and Free Offers

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.


  1. I don’t have any file called EFI system partition I only have a FAT32 file that’s the same size as your EFI system partition

    • If you don’t have an EFI partition, then it’s likely that Windows was installed on an MBR partitioning scheme. In that case, install GRUB in the MBR.

      But if you version of Windows is 10, are you really sure that you don’t have a EFI system Partition. From Windows, open the partition manager and check what system partition you have.

      • Verenmanta

        Hello, thanks for the help so far. When partitioning the disks in the installer is says I have an FAT32 type partition (though the name is EFI System Partition). When checking in windows it says it is an EFI partition. But in the kali linux installer I can’t choose the option to use as EFI System partition. I am using Windows 10 and the latest version of Kali Linux. I am kind of stuck on this for some time now

        • OK, so you do have an EFI System Partition.

          Did you disable Secure Boot, if not do so, then continue from where you left off, or restart the installation. Then pay attention to the Figures 22-23 of this guide.

          How to disable Secure Boot depends on the PC brand, but see this guide and this one for help.

          • I messed around a bit and now I don’t have an EFI partition nor a fat32 partion of that size. Only 500MB of free space. I whiped my drive and reïnstalled windows before. Is it possible my MBR should be repaired? (if so I know how to ) or what could I do? I can’t assign the EFI partition style to the free space. I am trying the manual installation right know in the hope that it will magically work

          • It worked! Thanks so much for the tut and the help. Greatly appreciated

  2. So my computer will not go into grub bootloader i followed everything very precisely and have done this twice now.. I need help ive been working on this for a week now and live usb persistence is to slow for me

    • First, did you disable Secure Boot? How you accomplish that depends on your computer, but generally it follows the method given in here and here.

      When you’re sure that’s done, make sure that you point Kali to the EFI System Partition before installing packages. That refers to figures 22-24 in step 7.

      • i got it to work although i didnt ask me where to install the GRUB bootloader….. all i had to do was go to bios and disable secure then a option opened where i can select a trusted EFI file to boot into and i went into that and went to hdd0 then kali the clicked grub64x.efi and it showed up in my boot manager and clicked it and BAM it worked

  3. I installed kali linux successfylly alongside my windows 10, but after restarting it does not ask for choosing between kali linux and windows 10, and bu default loads windows 10.
    Note that I tried installing EasyBCD but it says EFI detected.
    Also I tried to enable Legacy and disable UEFI.

    • If the new system boots into Windows 10, then you did not complete the tasks shown in Figures 22-23. The Use as option must be EFI System Partition for the system to complete successfully and boot into Kali Linux.

    • Please, I am facing problems trying to install kali alongside my windows 10. Can you recommend a solution or tutorial to follow? Thanks.

  4. When I check the EFI system partition, under “Use as:” it says “do it use”. What should I change this to?

  5. Hey everyone, I tried lots of other posts and videos nothing seems to be working for me on Windows 10. Doesn’t show Kali Linux on boot menu after I press f9, I tried disabling secure boot, enabling legacy, trying the EFI/boot/grub.cfg and also trying other software to install the iso to usb but nothing seems to be working for me. Also changed boot order too still nothing.

  6. Sean Chandler

    After hours of trying to get my USB to boot (I used Rufus to make it), I finally found out that instead of creating my own /EFI/Boot and grub.cfg etc etc like I had read in other articles, going into the boot folder one the newly created USB..use 7zip to extract the files from the EFI.img. then just copy the extracted folder named “EFI” into the root of your USB and wallah. It was smooth sailing from there on so I hope that helps someone.

  7. Only tutuioral that worked for me after struggling for 2 days

    Thanks a bunch

  8. Usman Munir

    When ever I started dual boot installation through Pendrive, after setting up language and keyboard, setup shows a window that their is no CD in CD-ROM please insert CD to mount!!! what will I do?

  9. Nope, Kali is not UEFI-compatible.

  10. I am trying to boot Kali from a DVD that I burned. I had to disable secure boot because if I boot from DVD with secure boot on. It throws an error. But when I boot from DVD (UEFI mode) with secure boot disabled, I don’t see anything on the screen. Is Kali UEFI compatible? Any help would be highly appreciated.

  11. Just wondering what did you do with the remaining 96 GB of space remaining after you setup the partitions?

  12. i did everything as instructed and when i checked the USB from windows it shows “Run Debain GNU/Linux ” but when i reboot the PC its says (i tried pressing F12 too) no operating system found
    please help fast
    and please try to be as specific as possible because i am new to all this 😐

    • No OS found points to the system could not read from the EFI system partition.

      1. Did you disable Secure Boot? See this guide

      2. From the computer’s boot menu (accessed via F2 or some other F-key), do you see an entry for Kali?

      3. When setting up Kali, did you verify the EFI system partition was recognized by the installer?

Leave a Comment

Your email address will not be published. Required fields are marked *