Select font size:          

 

Grub does not find Windows

For security reasons, some Linux distributions set the GRUB configurations in a way that they do not find Windows installations by default. Therefore, some minor adaptations have to be made in order to be able to start Windows from GRUB.


Check if Windows can be found

Check if the command os-prober finds Windows. In case os-prober does not exist, install it as follows:

sudo apt install os-prober

Commit changes in the GRUB configuration

Under Ubuntu the configuration file is /usr/sbin/grub-mkconfig.

Before changing that file, make sure to have a backup:

sudo cp /usr/sbin/grub-mkconfig /usr/sbin/grub-mkconfig-orig

Consider that if you fail to correctly edit that file, your system might not boot, so be careful.


Follow these steps if os-prober shows Windows, but GRUB does not.

Update GRUB

Update GRUB via sudo update-grub.

In case you encounter problems booting after applying this workaround, consider checking our article on Linux Boot Repair Tools.

Check for more Linux related articles.