This is a tiny tutorial for dual booting Kali Linux 2.0 (sana) with Windows 8/8.1/10 in UEFI Mode.
Note: Your Windows installation has to be in UEFI mode. (To ensure, visit: https://vimeo.com/137618855)
Note: Please make sure you watch the video in at least 480p (1080p is also available).
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: http://cdimage.kali.org/kali-2.0/kal...-2.0-amd64.iso
Step 3. Boot using this media in LEGACY BIOS/CMS 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: http://nchc.dl.sourceforge.net/proje...-x86-4.5.4.iso . You can also use Ubuntu Installation Media. If you choose the latter, you can follow the tutorial: https://vimeo.com/137620480 and if you choose the former, follow the tutorial: https://vimeo.com/137686117
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 the following 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 the following to figure it out.Code:[ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
Step 8. Mount the Kali Linux partition to /mnt. Also mount (in bind mode) /dev /dev/pts /proc /sysCode:gdisk -l /dev/sda
Step 9. Create the directory /mnt/boot/efiCode:for i in /dev /dev/pts /proc /sys ; do mount -B $i /mnt/$i ; done
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/sda1Code:mkdir -p /mnt/boot/efi
Step 11. Chroot into /mnt.HTML Code:mount /dev/sda1 /mnt/boot/efi
Step 12. Add sana repository, using the command: echo "deb http://http.kali.org/kali sana main non-free contrib" >> /etc/apt/sources.listCode:chroot /mnt "/bin/bash"
Step 13. Update apt-get.Code:echo deb http://http.kali.org/kali sana main non-free contrib | tee -a /etc/apt/sources.list
Step 14. Install grub-efi package.Code:apt-get update
Step 15. Setup grub.Code:apt-get install -y grub-efi
Step 16. Reboot, boot into Kali, and run the following again:Code:grub-mkconfig -o /boot/grub/grub.cfg grub-install /dev/sda
Tada! Done!Code:grub-mkconfig -o /boot/grub/grub.cfg