Results 1 to 50 of 64

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

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    2015-Aug
    Posts
    26

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

    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:
    Code:
     [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
    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:
    gdisk -l /dev/sda
    Step 8. Mount the Kali Linux partition to /mnt. Also mount (in bind mode) /dev /dev/pts /proc /sys
    Code:
    for i in /dev /dev/pts /proc /sys ; do mount -B $i /mnt/$i ; done
    Step 9. Create the directory /mnt/boot/efi
    Code:
    mkdir -p /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
    HTML Code:
    mount /dev/sda1 /mnt/boot/efi
    Step 11. Chroot into /mnt.
    Code:
    chroot /mnt "/bin/bash"
    Step 12. Add sana repository, using the command: echo "deb http://http.kali.org/kali sana main non-free contrib" >> /etc/apt/sources.list
    Code:
    echo deb http://http.kali.org/kali sana main non-free contrib | tee -a  /etc/apt/sources.list
    Step 13. Update apt-get.
    Code:
    apt-get update
    Step 14. Install grub-efi package.
    Code:
    apt-get install -y grub-efi
    Step 15. Setup grub.
    Code:
    grub-mkconfig -o /boot/grub/grub.cfg
    grub-install /dev/sda
    Step 16. Reboot, boot into Kali, and run the following again:
    Code:
    grub-mkconfig -o /boot/grub/grub.cfg
    Tada! Done!
    Last edited by nehaljwani; 2015-08-29 at 17:24. Reason: Added Tutorial Link for creating bootable media for SystemRescueCD.

Similar Threads

  1. Problem with graphical install in UEFI mode for dual boot
    By Anaesthesia in forum Installing Archive
    Replies: 8
    Last Post: 2018-08-15, 11:55
  2. UEFI Dual Boot Kali Linux 1.0.9 with Windows 8.1
    By kingoking in forum Installing Archive
    Replies: 10
    Last Post: 2016-09-10, 21:43
  3. Kali and Windows 8.1 dual boot install in UEFI easy solution
    By mercyfuldeath in forum How-To Archive
    Replies: 1
    Last Post: 2015-04-30, 10:20
  4. Dual Boot Kali Linux with Windows 8.1 (UEFI and SECURE BOOT)
    By sentostv in forum Installing Archive
    Replies: 2
    Last Post: 2015-01-01, 02:53

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •