Grub won't detect Windows

as headline says I can’t restore windows booting option in grub. Could you suggest how to fix it?

I did these steps

o re-enable os-prober usage for grub:

edit /etc/default/grub and change this:


to false:


save the file and regenerate grub.cfg again:

sudo grub-mkconfig -o /boot/grub/grub.cfg

Edit /etc/default/grub and uncomment #GRUB_DISABLE_OS_PROBER=false

Then run:

sudo grub-mkconfig -o /boot/grub/grub.cfg

EDIT: Did you remove the # from the beginning of the line in /etc/default/grub?


No :upside_down_face:

After you do that, you need to run sudo grub-mkconfig -o /boot/grub/grub.cfg again.

I did, I think it has fixed I will reboot.

1 Like

Works perfect. Thanks a lot.

1 Like

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