Boot drive now thinks it's windows please help

I’ve had Endeavour on this pc for a while now. I had windows on a separate hdd but rarely used it. Recently I was trying to check an older HDD and the Endeavour drive was the easiest to remove to put the old HDD in. I let the system boot into windows and tried to get data off the HDD for a few days. Finally plugged everything up the way it was and my endeavour drive now shows up as a windows boot manager and attempts to boot windows. I’ve unplugged all other drives from my pc and only have the endeavour drive in now and it still tries to boot windows. Which is odd since I’m fairly certain windows was never on this drive.

I’ve ran the live install media and chrooted into my installed system. After that I’ve checked fdisk -l and it shows:

Device Start End Sectors Size Type
/dev/sda1 4096 2052095 2048000 1000M EFI System
/dev/sda2 2052096 1953520064 1951467969 930.5G Linux filesystem

efibootmgr -v shows

Boot0001* Windows Boot Manager HD(1,GPT,4f95dabf-d46c-7a46-81c5-344b66202589,0x1000,0x1f4000)/File(\EFI\MICROSOFT\BOOT\BOOTMGFW.EFI)0000424f
dp: 04 01 2a 00 01 00 00 00 00 10 00 00 00 00 00 00 00 40 1f 00 00 00 00 00 bf da 95 4f 6c d4 46 7a 81 c5 34 4b 66 20 25 89 02 02 / 04 04 46 00 5c 00 45 00 46 00 49 00 5c 00 4d 00 49 00 43 00 52 00 4f 00 53 00 4f 00 46 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 5c 00 42 00 4f 00 4f 00 54 00 4d 00 47 00 46 00 57 00 2e 00 45 00 46 00 49 00 00 00 / 7f ff 04 00
data: 00 00 42 4f

Which again is odd since I’m pretty sure windows was never installed on this drive. At the very least I did a full erase when I installed endeavour.
Lastly I ran ls /efi/EFI

BOOT Linux Microsoft systemd

Which I’m guessing systemd is my endeavour boot. not really sure where to go from here though.

Disregard. I found my solution from a few posts below. Sorry for wasting bytes on the internet.

Solution was here How to rescue systemd-boot: missing UEFI entry

1 Like