I've have Ubuntu installed on a hard drive, which I installed as per this guide. Somehow, however, my EFI partition got messed up, and so I can no longer boot. I have created a Live USB, so I can try to fix it from there. My EFI partition is currently empty (no files or folders). How can I install Grub onto this partition?
A couple of things to note:
I've tried this answer, and it seemed to work, but upon rebooting and selecting my drive, it didn't boot.
I've also tried several of the answers to this question, but to no avail.
When I do try to boot it by selecting my hard drive in the boot device list, my computer simply shows a black screen for less than a second and then goes right back to the boot menu.
My system partition is
/dev/sda4
and my boot partition is/dev/sda3
. My system partition is 900GB ext4 and my boot partition is 300MB FAT32.
Any help would be appreciated and I can answer questions if they come up. Thanks!