Install Kali Linux 2.0 (Sana) in UEFI Mode (Dual Boot Windows 8/8.1/10)

Install Kali Linux 2.0 (Sana) in UEFI Mode (Dual Boot Windows 8/8.1/10)

If you think this video is helpful, you can encourage me to make more of these videos by helping me at

Inner Light (9:36) by Kevin MacLeod is licensed under a Creative Commons Attribution license (

Smooth Sailing (with Guitar) (5:36) by Audionautix is licensed under a Creative Commons Attribution license (

This is a tiny tutorial for dual booting Kali Linux 2.0 Sana with Windows 8/8.1/10 in UEFI Mode.

Step 1. Make some space in Windows for installing Kali LInux.
Step 2. Create Bootable Installation Media (Use Win32 DiskImager in Windows or use dd in Linux) I used the disk:…
Step 3. Boot using this media in LEGACY BIOS/CSM mode. I know, that Kali Linux 2.0 claims to support UEFI, but for me, it didn’t work. Even the hypervisors Qemu and VMWare segfaulted.
Step 4. Create at least two partitions (I created swap and one for /). DO NOT create any bios_grub partition and DO NOT setup any boot loader. Continue with the installation, but skip setting up boot loader.
Step 5. Create Bootable Installation Media for any Linux Distribution, which is UEFI compatible, and supports live mode. I prefer System Rescue Disk: . You can also use Ubuntu Installation Media.
Step 6. Boot using this media in UEFI mode. Make sure it is UEFI, otherwise it won’t work. Once booted, fire up a terminal and type [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS to confirm.
Step 7. Use gdisk to figure out which partition contains your Kali Linux installation. For me, it was /dev/sda4. Might be different for you. Type gdisk -l /dev/sda to figure it out.
Step 8. Mount the Kali Linux partition to /mnt. Also mount (in bind mode) /dev /dev/pts /proc /sys
Step 9. Create the directory /mnt/boot/efi
Step 10. Mount the EFI partition to the newly created directory. Use gdisk -l /dev/sda to figure that out. For me, it was /dev/sda1
Step 11. Chroot into /mnt.
Step 12. Add sana repository, using the command: echo “deb sana main non-free contrib” | tee /etc/apt/sources.list
NOTE: If you are using Kali Roling, then using the command: echo “deb kali-rolling main contrib non-free” | tee -a /etc/apt/sources.list
Step 13. Update apt-get. apt-get update
Step 14. Install grub-efi package. apt-get install -y grub-efi
Step 15. Setup grub. grub-mkconfig -o /boot/grub/grub.cfg ; grub-install /dev/sda
Step 16. Reboot, boot into Kali, and run grub-mkconfig -o /boot/grub/grub.cfg again
Tada! Done!

Note: If you get ‘unable to resolve’ errors, please type:
echo “nameserver” | sudo tee /etc/resolv.conf

Some machines have weird UEFI implementation, and grub-install doesn’t work from under a chroot environment, because it throws the error:
efibootmgr: Skipping unreadable variable “Boot0005”: Input/output error
efibootmgr: Could not prepare boot variable: Input/output error
In such cases, after you do grub-mkconfig -o /boot/grub/grub.cfg , just come out of chroot by typing exit, and then type:
efibootmgr -c -d /dev/sda -p 1 -l /EFI/kali/grubx64.efi -L “KaliLinux” #Replace 1 with the partition number of the EFI partition.

If you have an Acer Laptop, please go through:

Video Install Kali Linux 2.0 (Sana) in UEFI Mode (Dual Boot Windows 8/8.1/10)

Share for free by Nehal J Wani and

Leave a comment

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