archlinux / archinstall

Arch Linux installer - guided, templates etc.
GNU General Public License v3.0
5.82k stars 509 forks source link

Grub doesnt recognize Windows after installing Arch through Archinstall #2542

Closed st-am closed 1 week ago

st-am commented 1 week ago

After using archinstall to install Arch, when I start my computer I only get options to boot into Arch Linux or UEFI Firmware Settings, I used the command os-prober and it recognizes Windows Boot Manager, but it doesnt get added to Grub.

svartkanin commented 1 week ago

For a dual boot setup, did you follow the instructions https://github.com/archlinux/archinstall?tab=readme-ov-file#how-to-dual-boot-with-windows ?

st-am commented 1 week ago

For a dual boot setup, did you follow the instructions https://github.com/archlinux/archinstall?tab=readme-ov-file#how-to-dual-boot-with-windows ?

I forgot to mention that I have windows on a seperate drive

svartkanin commented 1 week ago

You may have to boot from the usb, mount all relevant partitions. Install os-prober and try something like sudo grub-mkconfig -o /boot/grub/grub.cfg

st-am commented 1 week ago

I realised that i had GRUB_DISABLE_OS_PROBER commented, after I uncommented it and ran the command you gave me it worked.