skip to content
Hiiruki's lab
Table of Contents

Intro

This guide is for fixing the missing Windows boot option in the GRUB menu on a dual-boot system with Linux and Windows. So recently I installed Arch Linux on my laptop alongside Windows 11. After the installation, I noticed that the Windows boot option was missing in the GRUB menu.

Steps

1. Install dependencies

Terminal window
$ sudo pacman -S os-prober ntfs-3g
  • os-prober is a tool that detects other operating systems installed on the system.
  • ntfs-3g is a driver that allows read-write access to NTFS partitions.

2. Configure GRUB

Terminal window
$ sudo nano /etc/default/grub

3. Uncomment the following line

Uncomment the following line in the /etc/default/grub file. Or simply remove the # at the beginning of the line.

grub
GRUB_DISABLE_OS_PROBER=false
  • GRUB_DISABLE_OS_PROBER=false enables the detection of other operating systems installed on the system.

After making the changes, save the file using Ctrl + X, then press Y to confirm the changes, and press Enter to save the file.

4. Apply changes to GRUB using grub-mkconfig

Terminal window
$ sudo grub-mkconfig -o /boot/grub/grub.cfg
  • grub-mkconfig will regenerate the GRUB configuration file based on the changes made to the /etc/default/grub or /etc/grub.d/ files.
  • -o /boot/grub/grub.cfg specifies the output file for the generated configuration.

5. Reboot

Terminal window
$ sudo reboot

Before

After

Summary

So, we fixed the missing Windows boot option in the GRUB menu on a dual-boot system with Linux and Windows. We installed the os-prober and ntfs-3g packages, uncomment the GRUB_DISABLE_OS_PROBER=false line in the /etc/default/grub file, and regenerated the GRUB configuration file using grub-mkconfig.

References