Hi all,
I recently have a new computer where in one NVMe I installed Windows. In another NVMe I installed EndeavourOS. When I boot into the GRUB, I can only see EndeavourOS and not Windows, which was otherwise working before. It doesn’t even show up in the BIOS.
I tried different solution I could find on the internet, such as adding an entry in /etc/grub.d/40_custom and re-generating the config file. It didn’t work, I can still boot into EndeavourOS only. I’ve also seen some fixes that are done via Windows, but I cannot boot into it.
Here is some output:
fdisk -l
Disk /dev/nvme1n1: 465,76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: WDS500G3X0C-00SJG0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: AF2B217F-D0AF-A549-B1EF-E54E16C129EE
Device Start End Sectors Size Type
/dev/nvme1n1p1 4096 1052671 1048576 512M EFI System
/dev/nvme1n1p2 1052672 940988187 939935516 448,2G Linux filesystem
/dev/nvme1n1p3 940988188 976768064 35779877 17,1G Linux swap
Disk /dev/nvme0n1: 931,51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: Samsung SSD 980 1TB
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 16384 bytes / 131072 bytes
Disklabel type: gpt
Disk identifier: 357984A7-E01F-48B9-A91E-62349BC22A99
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 34815 32768 16M Microsoft reserved
/dev/nvme0n1p2 34816 1953523711 1953488896 931,5G Microsoft basic data
Does anyone have any ideas on how to fix it?
EDIT: So, as @dalto suggested, I had to use the Windows ISO to fix it. It was as simple as to open the command prompt and then run bcdboot m:\windows where M is the Volume number of where Windows is installed, which is usually C. That will re-write the boot files of Windows. I don’t know what was the reason they got deleted, but that was the fix in my case. Now rEFInd can see Windows.