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
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 hard disk and copying those 2 files, but no success.
I asked 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 hard disk. and set the 1st boot device as external device. So when my hard disk 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 network 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.)