There are two methods:

  1. Manual method: See archwiki
  2. Automatic configuration via os-prober (reference archbbs)

Automatic GRUB2 Configuration via os-prober

  1. Install os-prober
  2. Run grub-mkconfig -o /boot/grub/grub.cfg
  3. Reboot