If you can boot into Windows, try using the EasyUEFI program. If it shows the ubuntu
entry, you should be able to activate it and move it to the top of the list. If it does not show that entry, you might still be able to use EasyUEFI to re-create it, but I'm not sure of the details of how to do this with EasyUEFI. You'd want to create an entry for EFI\ubuntu\shimx64.efi
on the EFI System Partition (ESP). With any luck the user interface will make it obvious how to do this.
If the entry is completely missing and EasyUEFI doesn't do the trick, you should be able to do it with bcdedit
in Windows:
- Locate Command Prompt in the Start menu, right-click it, and select Run as Administrator. This action opens a Command Prompt window with administrative privileges.
- Type
bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi
.
- Type
bcdedit /set {bootmgr} description "ubuntu"
.
- Reboot.
GRUB should come up as the default boot entry; or at the very least, you should see a new ubuntu
entry in the EFI's boot manager.
Note that some HPs, especially older ones, have flaky EFIs that can ignore or forget EFI boot manager entries. You may be running into problems related to this -- but the fact that it used to work for you means it should be possible to get it working again. If you continue to have problems after using EasyUEFI and/or bcdedit
, you might want to try entering the firmware setup utility and locating the option to reset all values to their defaults. With any luck, that will clear away whatever cruft is causing problems. The down side to this is that you'll probably need to re-register GRUB (using EasyUEFI or bcdedit
, as just described; or the Linux tool efibootmgr
) after it's done.
ubuntu
, and it shows up by that name in the EFI boot menu. Thus, there's nothing strange about that detail.