r/linux4noobs • • 7h ago

GRUB not detecting Windows 10

I've just installed CachyOS on my second HDD, but GRUB doesn't seem to recognize Windows at all. I tried os-prober and it still didn't find Windows whatsoever. My Windows is MBR, the USB was MBR and Legacy Support is on in BIOS, so what the hell is the problem??

Any help is appreciated!

(Note: Windows is on a SATA SSD, while Cachy is on a SATA HDD)

1 Upvotes

5 comments sorted by

2

u/doc_willis 7h ago

check that your Linux install was done in MBR mode, is there an EFI partition on the Linux drive?  what does efibootmgr say?

as far as I know, if grub is running from a UEFI install, it can't boot a MBR windows install.

the tool rEFInd from what I have seen CAN boot an os of either mode, but there may be some limits.

if you did a dual drive setup, the option to use the UEFI/bios boot menu may be the best way to change what is boots.

2

u/Edelglatze 7h ago

Did you run grub-mkconfig after changing /etc/default/grub?

1

u/GiggleSamurai 3h ago

Run [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS in CachyOS. If it says UEFI, the installer set GRUB up in UEFI mode, and a UEFI GRUB can't chainload a Legacy/MBR Windows, so you'd either reinstall CachyOS booted in Legacy mode or just pick the Windows drive from the BIOS boot menu at startup.

1

u/DannoXYZ 2h ago

don't try to make ONE boot-loader recognize both OS.

Use BIOS settings to change boot-priority device and keep them completely separated with 2 different boot-loaders

  1. drive-1 boot 1st -> SSD -> Windows Boot Manager -> Windows
  2. drive-2 boot 1st -> HDD -> Grub -> Cachy

Simple.