After installing Windows 10 on a new hard drive, Ubuntu 18.04 will no longer boot.
The computer boots to Grub 2.02, but to a version I'm not familiar with, showing the EFI images.
Choosing the different options results in the following:
- "EFI/ubuntu/fwupx64.efi" returns me to the menu, with no message
- "EFI/ubuntu/mmx64.efi" shows Shim UEFI key management screen
- All "efi/Efi//.efi" options result in a file not found error
- The Windows options boot to Windows correctly
I've tried Boot-Repair a couple of times with no luck. The last report from Boot-Repair can be found here.
Is there any way to completely reinstall the EFI setup?
grub-mkconfig produces the same incorrect menu entries. The config is generated using the files in
/etc/grub.d. My directory only contained
/etc/grub.d/25_custom, which is the only file in that directory. It looks like my
/etc/grub.d templates are hosed, and I need to find a way to regenerate them. Is there a command to rebuild these templates?