Windows 10 Boot Option Not Showing in GRUB Menu: Solution
If you have installed Ubuntu alongside Windows 10 and the GRUB bootloader is not showing the Windows 10 option, you can follow the steps outlined in this article to troubleshoot and resolve the issue. This article covers key concepts related to the GRUB bootloader, the Windows Boot Manager, and how to add a custom entry to the GRUB menu.
Understanding the GRUB Bootloader
The GRUB (GRand Unified Bootloader) is a bootloader used by most Linux distributions. It allows you to choose which operating system to boot when multiple operating systems are installed on a single computer. By default, the GRUB bootloader should automatically detect and display all installed operating systems in its menu. However, there are instances when the Windows 10 option does not show up in the GRUB menu.
Troubleshooting the Issue
The first step in troubleshooting the issue is to run the os-prober command, which scans your system for other installed operating systems and adds them to the GRUB menu. However, if the os-prober command does not detect Windows 10, you can try setting the GRUB_DISABLE_OS_PROBER variable to false in the /etc/default/grub file and running the update-grub command.
sudo nano /etc/default/grub
# Set GRUB_DISABLE_OS_PROBER to false
GRUB_DISABLE_OS_PROBER=false
# Update GRUB
sudo update-grub
If the above steps do not work, you can try adding a custom entry to the GRUB menu manually. This can be done by creating a new file in the /etc/grub.d/ directory and adding the necessary configuration options.
sudo nano /etc/grub.d/40\_custom
# Add the following lines to the file
menuentry "Windows 10" {
set root='(hd0,msdos1)'
chainloader +1
}
# Update GRUB
sudo update-grub
References
- Ubuntu Community Help Wiki: Grub2/CustomMenus
- Ask Ubuntu: How do I add a boot menu entry for Windows 7 to GRUB 2?
- Arch Linux Wiki: GRUB#Custom menu entries
Note: The above references are provided for informational purposes only and are not affiliated with or endorsed by the author of this article. The author is not responsible for the accuracy or completeness of the information provided in these references.