Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 50

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

  1. #11
    Member
    Join Date
    Dec 2015
    Location
    Germany
    Posts
    33
    If i start from USB following appears. I can choose from these 3 actions. If i click Continue, nothing happens and iam back into the Boot Manager.
    What does it mean?
    Legacy is disabled, and Secure Boot disabled.

    i created folder EFI\Boot\ with BOOTX64.efi, grub.cfg, grubx64.efi, MokManager.efi inside.
    inside my Grub is this:
    ----------------------------------------------------------------------
    # Config file for GRUB2 - The GNU GRand Unified Bootloader
    # /boot/grub/grub.cfg

    # DEVICE NAME CONVERSIONS
    #
    # Linux Grub
    # -------------------------
    # /dev/fd0 (fd0)
    # /dev/sda (hd0)
    # /dev/sdb2 (hd1,2)
    # /dev/sda3 (hd0,3)
    #
    # root=UUID=dc08e5b0-e704-4573-b3f2-cfe41b73e62b persistent

    set menu_color_normal=yellow/blue
    set menu_color_highlight=blue/yellow

    function load_video {
    insmod efi_gop
    insmod efi_uga
    insmod video_bochs
    insmod video_cirrus
    insmod all_video
    }

    load_video
    set gfxpayload=keep

    # Timeout for menu
    set timeout=5

    # Set default boot entry as Entry 0
    set default=0
    set color_normal=yellow/blue

    menuentry "Kali - Boot Non Persistent Mode" {
    set root=(hd0,1)
    linuxefi /live/vmlinuz boot=live noconfig=sudo username=root hostname=kali
    initrdefi /live/initrd.img
    }

    menuentry "Kali - Boot Persistent" {
    set root=(hd0,1)
    linuxefi /live/vmlinuz boot=live noconfig=sudo username=root hostname=kali persistence
    initrdefi /live/initrd.img
    }

    menuentry "Kali Failsafe" {
    set root=(hd0,1)
    linuxefi /live/vmlinuz boot=live config memtest noapic noapm nodma nomce nolapic nomodeset nosmp nosplash vga=normal
    initrdefi /live/initrd.img
    }

    menuentry "Kali Forensics - No Drive or Swap Mount" {
    set root=(hd0,1)
    linuxefi /live/vmlinuz boot=live noconfig=sudo username=root hostname=kali noswap noautomount
    initrdefi /live/initrd.img
    }

    menuentry "Kali Graphical Install" {
    set root=(hd0,1)
    linuxefi /install/gtk/vmlinuz video=vesa:ywrap,mtrr vga=788
    initrdefi /install/gtk/initrd.gz
    }

    menuentry "Kali Text Install" {
    set root=(hd0,1)
    linuxefi /install/vmlinuz video=vesa:ywrap,mtrr vga=788
    initrdefi /install/initrd.gz
    }

    --------------------------------------------------------
    Following appears if i boot from my USB:

    Shim UEFI key managment

    Continue boot
    Enroll key from disk
    Enroll hash from disk

  2. #12
    Junior Member
    Join Date
    Apr 2017
    Posts
    22
    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. #13
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    508
    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 02:53 PM.

  4. #14
    Junior Member
    Join Date
    Apr 2017
    Posts
    22
    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 AM.

  5. #15
    Junior Member
    Join Date
    Apr 2017
    Posts
    22
    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 AM.

  6. #16
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    508
    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.

  7. #17
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    508
    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.

  8. #18
    Junior Member
    Join Date
    Apr 2017
    Posts
    22
    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 PM.

  9. #19
    Senior Member
    Join Date
    Oct 2016
    Location
    /dev/sda
    Posts
    508
    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

  10. #20
    Junior Member
    Join Date
    Apr 2017
    Posts
    22
    Quote Originally Posted by _defalt View Post
    Don't login to your kali. Disable Legacy BIOS and Secure BOOT
    If I disable legacy bios and use uefi it won't read the Live Kali CD. I'm forced to use Legacy
    Quote Originally Posted by _defalt View Post
    and boot kali live from bootable USB
    I'm using a Live Kali CD
    Quote Originally Posted by _defalt View Post
    and then run those commands.
    Run those commands when I get into terminal inside the Live Kali CD?
    Quote Originally Posted by _defalt View Post
    Replace * in sudo mount /dev/sda* /mnt with your linux partition assigned value. Like mine is /dev/sda5
    I have a few linux partitions I created, which one? I have : /dev/sda5 root /dev/sda6 boot /dev/sda 8 home /dev/sda 9 opt

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
  •