I put Ubuntu 20.0.4 on a usb and it loaded. I chose install Ubuntu, letting it partition 200Gb for it, and it seemed to work. When I restart the computer, however, it goes straight to Windows. I loaded the usb Ubuntu and chose reinstall. This time, it says I need to go back and add an EFI partition.
Laptop is an HP Pavilion, with an i-5 running at 1.7GHz on 6 GB RAM, under Windows 10 Home version 1809. it has UEFI and secure boot is off.
Disk management reports C: (Windows) and D: (Recovery) drives as NTFS, and four Disk 0 partitions (1,2,5,7) as Basic. There is no EFI partition listed.
Should I delete all partitons except C: and D: and install an EFI partition, then reinstall Ubuntu? How would I add the EFI partiton? Or is there another way? Thanks for help.
Above is from Windows. Ran gparted from usb and it reports:
Partition Name System Size Flags
sda1 basic data ntfs 400MB hidden, diag
sda2 EFI fat32 260MB boot, esp
sda3 MS reserved unknown 128MB msftres
sda4 basic data ntfs 384GB msftdata
sda7 ext4 186GB
sda5 ntfs 991MB hidden, diag
sda6 basic data ntfs RECOVERY 24GB hidden, msftdata
unallocated 7MB
So, it seems there is an EFI and needs repair. How would I go about fixing it so I could choose the OS at boot?