Ubuntu 18.04 dual-boot - windows 10 upgrade has trashed uefi boot entries

in flag

These 2 systems have co-existed since late 2014 (Windows was 8 back then, ubuntu can't remember 14?)

Unfortunately, the latest window update appears to have trashed the boot loader - the computer boots straight into Windows, when I "advanced restart" and go into the BIOS the ubuntu partitions can no longer be seen.

I can see them if i use bcdedit in windows, and a Ubuntu install usb also finds them.

How can I restore the boot loader to its former glory? I think it was grub2 - it's whatever the default was back in 2014

in flag
I found this answer from 2016, which means I can now manually boot into ubuntu at startup but I'm now struggling to get this process to be automatic
oldfred avatar
cn flag
Both Windows & Ubuntu/grub have always updated boot loader to make them first or default with major updates. With UEFI, you should be able to boot either install from UEFI boot menu. Most systems, let you use efibootmgr from live installer to reset boot order. But it seems everyone with HP has posted they can only change boot order from within UEFI settings as you have done.
in flag

Ok, so this answer got grub reinstalled on my system:

Then, on my HP laptop, I had to boot into: BIOS Setup

From here I chose: System configuration -> Boot options -> UEFI Boot order -> OS Boot Manager

And in here I moved the entry called ubuntu something above Windows.

Then F10 to save & exit boot order.

One more F10 to save the BIOS and exit.

Now I get the boot Grub menu on startup, and if I do nothing, the laptop boots into my Linux. Phew!

There isn't a way to prevent Windows from doing this ever again? (Other than delete the whole thing, which I may well do)

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.