I have been operating a dual boot set up (Windows 10,Ubuntu 24.04) on my HP desktop for several months without any issues. However, this morning, when I came to boot my desktop, it automatically went to Windows, without showing a Grub Boot Menu.
I tried to solve the issue by going into UEFI settings but I no longer see a Ubuntu option. I also made sure Windows Fast Startup is turned off. I have legacy support enabled and secure boot disabled. Additionally, I checked my Windows update history and there were no updates ran in the last week.
Is there any way I can get Ubuntu back ?
Below is the Boot-Repair tool summary from help.ubuntu :
If you follow the suggestion to Create BootInfo Summary suggested in post 2, it will not make any changes. It will simply create a text file with information on your system and give you a link which you can post here so that members who have more knowledge of Grub can view it and make suggestions. That is why it was suggested to NOT do any repairs. Any yes, you can use the Ubuntu usb you used to install Ubuntu with the Try Ubuntu option. You need to set up your internet connection for it to work obviously.
Power on PC
Tap repeatedly F10 to access UEFI (BIOS) settings
Disable Legacy Support
Power off and Power on
Tap repeatedly F10 to access UEFI (BIOS) settings
System Configuration > Boot Options > OS Boot manager (under UEFI Boot Order)
What do you see here?
Starting at line 132, I do not see an ubuntu entry in UEFI? Not sure how that would get erased. But you need a full reinstall, not update of grub. It looks like Boot-Repair is suggesting that, but Boot-Repair has a full un-install & reinstall of grub in its advanced options. I might also update kernel as that may do more updates. https://sourceforge.net/p/boot-repair/home/Home/ If given option be sure to choose ESP - efi system partition on your Linux drive, not the NVMe Windows drive. Drive may change from sda to sdb or back depending on if USB drive connected or not, always check first. And HP requires you to go into system settings to change boot order.
So I followed @tea-for-one 's advice and selected the WDC and booted. I was able to get into Ubuntu, with all my data. My only question now is how do I ensure this doesnt happen again, and should I still go ahead and reinstall Grub as per @oldfred 's advice ?
They both had the same name in Boot Options (F9). Once I selected the second, the Boot Options automatically changed back to how they were before, with Ubuntu being the top choice.
Thanks for your help @tea-for-one, I owe you one big time.