Windows not detected on boot

I have an SSD with Endeavour OS and another one with Windows 10. During boot, I can only choose Linux. However, the SSD with Windows is detected by Linux after I log in. I’ve already tried disabling fastboot, but it didn’t solve the issue.

fdisk -l
Disk /dev/sda: 447.13 GiB, 480,103,981,056 bytes, 937,703,088 sectors
Disk model: KINGSTON SA400S3
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt
Disk identifier: A431CBC8-6ACD-4454-9215-3B607895A7FB

Device Start End Sectors Size Type
/dev/sda1 2048 34815 32768 16M Microsoft reserved
/dev/sda2 34816 937,701,375 937,666,560 447.1G Microsoft basic data

Disk /dev/nvme0n1: 238.47 GiB, 256,060,514,304 bytes, 500,118,192 sectors
Disk model: WDC PC SN530 SDBPNPZ-256G-1114
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt
Disk identifier: EDFC2459-D7E6-DC4F-AB5E-7321BDA6FCEC

Device Start End Sectors Size Type
/dev/nvme0n1p1 4096 2052095 2048000 1000M EFI System
/dev/nvme0n1p2 2052096 481648511 479596416 228.7G Linux filesystem
/dev/nvme0n1p3 481648512 500103449 18454938 8.8G Linux swap

Are you using grub or systemd-boot? Was the Windows disk connected when you installed Linux?

grub is installed, but the folder /boot/grub is empty. Yes, the disk was connected

You need to enable os-prober in /etc/default/grub

Then run sudo grub-mkconfig -o /boot/grub

Are you sure you are using grub?

I think so. How to check if I’m actually using grub?

What does pacman -Qq | grep dracut show?

dracut
kernel-install-for-dracut

You are using systemd-boot not grub.

alright, my mistake
any idea how to fix?

It normally happens automatically in the installer.

You can follow this tutorial to get it setup:

1 Like