I was trying to install Kali Linux from a live USB to an 1TB external hard disk. At first I was unable to boot the live USB with my H2O Insyde BIOS. Then I converted my pen drive partition table to GPT and created a 500MB FAT32 partition labeled EFI and copied BOOTX64.efi and grubx64.efi to the directory boot inside my EFI partition. I created the live USB using a Ubuntu in a VirtualBox (when i created with unetbootin and universal installer, it doesn't boot.) and then only I succeeded to boot the live USB.Then I tried to install Kali Linux in my external hard disk. the whole installation procedure succeeds with both guided partition and manual partition, but GRUB installation fails. I referred online forums and wikis to fix that, but nothing works.I tried to install GRUB-EFI manually from terminal using the live USB. I followed wiki.archlinux.org and How to reinstall GRUB2 EFI?, but both have failed. for the 1st link, i'm succeeding but same unable to boot to Kali linux. For the second, when I try to install grub-efi package after mounting the partitions and doing chroot, it asks to insert the Kali Linux CD/DVD in cdrom0 partition. As I'm installing from a live USB, I don't have it in CD/DVD.I tried to do the same process what I've followed for my live USB, creating a EFI FAT32 partition in the external HDD and copying those 2 files, but no success.I aasked a question here before. Got suggestion to edit the hard coded UEFI-BIOS. but I want to install the whole linux os with boot loader and EFI partition, all in my external HDD. and set the 1st boot device as external device. So when my HDD is plugged in, it'll boot from linux else from Windows 7. As i've succeeded in booting the live USB, i guess, there is no problem with the hard coded UEFI-BIOS.I tried the same process with Ubuntu by creating a Live USB, but the installation doesn't proceeds after it asks to select the network during installation. Though I select to not use the netwrok or use the network, it doesn't proceed to the partitioning.I got another suggestion to install the linux using BIOS in legacy mode and then install the GRUB-EFI to convert it to boot using UEFI. But with my GPT partition, it doesn't boot in Legacy mode and with my MBR partition it doesn't boot in UEFI. So when I'll install using Legacy mode, I can't be able to boot in UEFI without cleaning the installation and converting the disk to GPT partition. So it's of no use.Can anybody please help?my hard disk is 1TB Seagate. (converted to GPT partition.)
GRUB-EFI installation fails while installing Kali Linux in external hard disk
ubuntu;grub2;uefi;kali linux