I am reinstalling Ubuntu. First I get a missing grub error.

I tried to reinstall the missing grub but got a "can't find EFI partition to install it to".

Using GDisk I found I have the following boot order. 2001, 2002, 2003. But then it says: Boot 0000 USB hard drive UEFI, boot 0003 Internal Hard Drive, boot 2001 USB drive (UEFI), boot 2002 Internal CD ROM (UEFI), boot 3000 internal Hard disk. Run Boot-repair and I think I managed to install the grub file but I don't know where. Now I'm trying to reinstall Ubuntu but choose "something else" option to make sure that I installed Ubuntu on the right partition.

My options are: /dev/sda1, /dev/sda1 ext 4 (992479 MB - Ubuntu 17.04) or /dev/sda5 swap (7722 MB) Don't recognize any of these.

Should I choose an automatic installation? How can I make sure it's the right partition (The one with the reinstalled grub file)?

closed as off-topic by Pilot6, karel, Eric Carvalho, Charles Green, Yaron Sep 14 '17 at 4:23

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This describes a problem that can't be reproduced that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." – Pilot6, karel, Eric Carvalho, Charles Green, Yaron
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Your question is a bit vague. Could you mention particular commands you ran and their output and/or add the URL from Boot-repair into your question? – Melebius Sep 12 '17 at 12:02
  • Ok, ... I kind of just chose "erase disc and install Ubuntu" on a clean system, presumably with all the necessary partitions in place. That doesn't really answer my guestion, but it worked, so I'm happy. Thanks for your time Melebius. – Karl McAllister Sep 12 '17 at 12:28