Results 1 to 50 of 54

Thread: How to EFI install Kali Linux (Beginner Ways)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Since the release of 1.0.8, Kali now has EFI support out of the box!
    For more information: http://www.kali.org/news/kali-1-0-8-...-boot-support/
    This is a Kali-Linux support forum - not general IT/infosec help.

    Useful Commands: OS, Networking, Hardware, Wi-Fi
    Troubleshooting: Kali-Linux Installation, Repository, Wi-Fi Cards (Official Docs)
    Hardware: Recommended 802.11 Wireless Cards

    Documentation: http://docs.kali.org/ (Offline PDF version)
    Bugs Reporting & Tool Requests: https://bugs.kali.org/
    Kali Tool List, Versions & Man Pages: https://tools.kali.org/

  2. Quote Originally Posted by g0tmi1k View Post
    Since the release of 1.0.8, Kali now has EFI support out of the box!
    For more information: http://www.kali.org/news/kali-1-0-8-...-boot-support/
    Are you certain of that because I just downloaded the Kali iso about 3 weeks ago and had to set it to Legacy in order to install. Under UEFI it was just hanging on the computer brands logo for minutes on end. What's the solution for someone using a CD with UEFI computer? The CD/DVD works fine, tested. Windows 8 UEFI computer with Kali iso

  3. #3
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Quote Originally Posted by Make Kali Great Again View Post
    Are you certain of that because I just downloaded the Kali iso about 3 weeks ago and had to set it to Legacy in order to install. Under UEFI it was just hanging on the computer brands logo for minutes on end. What's the solution for someone using a CD with UEFI computer? The CD/DVD works fine, tested. Windows 8 UEFI computer with Kali iso
    It's because your kali linux must have efi boot files to be recognized by UEFI during boot. If you don't have bootia32.efi and bootx64.efi in your kali image you can't boot in UEFI. Either you should download kali weekly image which is the latest version of kali by offensive security or add those files manually in your bootable USB. Follow this thread how to add them manually though i would still suggest you to use the weekly image.

    The guide in this thread is applicable only till kali rolling 2016.2. Later weekly images of kali don't require these things to continue.
    Last edited by _defalt; 2017-04-05 at 14:53.

  4. Quote Originally Posted by _defalt View Post
    you should download kali weekly image
    What should I do with the legacy Kali OS on my hard drive (that works only under Legacy)? Should I delete the legacy Kali OS or just format the partitions containing it to make way for the new uefi weekly kali install? What's the best way to delete Legacy Kali OS that's on my hard drive?
    Last edited by Make Kali Great Again; 2017-04-08 at 11:13.

  5. #5
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Quote Originally Posted by Make Kali Great Again View Post
    What should I do with the legacy Kali OS on my hard drive (that works only under Legacy)? Should I delete the legacy Kali OS or just format the partitions containing it to make way for the new uefi weekly kali install? What's the best way to delete Legacy Kali OS that's on my hard drive?
    You don't have to erase it if you have already installed. Just install grub in your EFI partition because UEFI reads from EFI boot sector. Boot into kali-live (in legacy or in UEFI doesn't matter but if you boot kali live in UEFI again that problem efi boot files are required). Run these commands after booting kali-live:

    sudo mount /dev/sda* /mnt
    sudo mount --bind /dev /mnt/dev
    sudo mount --bind /proc /mnt/proc
    sudo mount --bind /sys /mnt/sys
    sudo mount /dev/sda** /mnt/boot/efi
    sudo chroot /mnt
    grub-install /dev/sda
    exit
    sudo umount /mnt/dev
    sudo umount /mnt/proc
    sudo umount /mnt/sys
    sudo umount /mnt/boot/efi
    sudo umount /mnt

    Replace * in sudo mount /dev/sda* /mnt with your linux partition assigned value. Like mine is /dev/sda5
    Replace ** in sudo mount /dev/sda** /mnt/boot/efi with your EFI partition assigned value. Mine is /dev/sda1
    Use fdisk -l to list all partitions.


    Then switch to UEFI after installation of grub.

  6. Quote Originally Posted by _defalt View Post
    You don't have to erase it if you have already installed. Just install grub in your EFI partition because UEFI reads from EFI boot sector.
    Under disk management in Windows I can see an EFI partition. This was factory shipped as EFI Partition. You mean the code you supplied will install Grub there? Will it be Grub 1 or 2 that's going to install? What should I do with the Grub that was installed on my MBR when I did the legacy install prior? Delete it?

    I log in with my username and password and then type those commands you provided in terminal?
    Last edited by Make Kali Great Again; 2017-04-11 at 12:55.

  7. #7
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Quote Originally Posted by Make Kali Great Again View Post
    Under disk management in Windows I can see an EFI partition. This was factory shipped as EFI Partition. You mean the code you supplied will install Grub there? Will it be Grub 1 or 2 that's going to install? What should I do with the Grub that was installed on my MBR when I did the legacy install prior? Delete it?

    I log in with my username and password and then type those commands you provided in terminal?
    Yeah, grub2 will be installed in EFI partition. You can delete the MBR once you install grub. Grub1 became obsolete long ago before kali rolling was released.

    Don't login to your kali. Disable Legacy BIOS and Secure BOOT and boot kali live from bootable USB and then run those commands.

    Follow my this post to install grub: https://forums.kali.org/showthread.p...l-dummy-failed

  8. Quote Originally Posted by _defalt View Post
    [B]sudo mount /dev/sda* /mnt
    sudo mount --bind /dev /mnt/dev
    sudo mount --bind /proc /mnt/proc
    sudo mount --bind /sys /mnt/sys
    Is there a space before and after --bind?

    Quote Originally Posted by _defalt View Post
    grub-install /dev/sda
    Do I need to be connected online to internet for this bit?
    Prior to this I already had Kali installed on my hard drive.
    Last edited by Make Kali Great Again; 2017-04-19 at 13:35.

  9. Quote Originally Posted by _defalt View Post
    [B]sudo mount /dev/sda* /mnt
    sudo mount --bind /dev /mnt/dev
    sudo mount --bind /proc /mnt/proc
    sudo mount --bind /sys /mnt/sys
    sudo mount /dev/sda** /mnt/boot/efi
    sudo chroot /mnt
    grub-install /dev/sda
    After this I got:
    Installing for i386-pc platform
    grub-install warning: This GPT partition label contains no BIOS Boot Partition, embedding won't be possible.
    grub-install warning: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are Unreliable and their use is discouraged.
    grub-install error: will not proceed with blocklists

  10. Quote Originally Posted by _defalt View Post
    Either you should download kali weekly image i would still suggest you to use the weekly image.
    Which download from that link do you recommend for an UEFI computer? I would like a full version of Kali on a CD.
    What are differences between KDE, xfce, mate, lxde, sha1sums? Which one should I pick?
    Are the downloads torrents from http://cdimage.kali.org/kali-images/kali-weekly/?
    Last edited by Make Kali Great Again; 2017-04-08 at 11:09.

  11. #11
    Join Date
    2016-Oct
    Location
    /dev/sda
    Posts
    1,012
    Quote Originally Posted by Make Kali Great Again View Post
    Which download from that link do you recommend for an UEFI computer? I would like a full version of Kali on a CD.
    What are differences between KDE, xfce, mate, lxde, sha1sums? Which one should I pick?
    Are the downloads torrents from http://cdimage.kali.org/kali-images/kali-weekly/?
    This one kali-linux-2017-W14-amd64.iso ..They should be available for torrents but they are standard http link.

Tags for this Thread

Posting Permissions

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