11 August 2021

Add windows boot partition to grub. By default grub doesn't detect other operating systems. You need to get os-prober, it is an optional dependency of grub. Also by default it is disabled, so you need add a line to grub config.

Source code viewer
  1. # Get optional grub dependency os-prober.
  2. yay -S os-prober
  3. # Enable os prober for grub.
  4. sudo echo GRUB_DISABLE_OS_PROBER=false >> /etc/default/grub
  5. # Regenerate grub config.
  6. sudo grub-mkconfig -o /boot/grub/grub.cfg
Programming Language: Bash