Grub. Windows missing after updating

Hello yesterday i updated my grub through sudo update-grub but after restart Windows 10 is missing. I also tried sudo os-prober the result is /dev/sdb1@/EFI/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi. I have no idea why update-grub is not working. Any ideas?

There was a change in grub - don’t know if it was recent or not, but I received the update a few minutes ago. Notice when you execute “update-grub” it gives a message saying that os-prober will NOT be invoked by default to find other operating systems.

The solution is to edit /etc/default/grub and add the following:

# Enable/Disable os-prober to find other systems

I did it, ran update-grub, and grub told me it was invoking os-prober and adding my Windows boot partition. I can now select Windows from the grub menu.

1 Like

It worked thank you.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.