It sounds like you are going to wipe your drive and reinstall Windows. Make sure secure boot and fast boot is off in UEFI.
I would install Windows first. The only issue with Windows is that it’s efi partition gets created is usually only 99 m which i feel is too small. You are able to change the size of the efi partition on the install by using (diskpart) tools built into windows but it can be difficult for some people. It doesn’t really matter but it just my opinion. Remember when you install Windows there will be some drivers you need to install but i would update it until it has everything the latest. It may pick up some drivers from Windows updates if you set the Windows updates settings to check & install other software. After you can check the devices and see what drivers are missing which you may have to download from the appropriate sites.
How to manually create ESP using Windows installation media
Before the partitioning step:
(Technically, you could also do this on the partitioning step and click Refresh afterwards.)
- Press Shift+F10 to open Command Line.
diskpart Enter. Diskpart will take a while to launch.
list disk Enter A list of disks will be printed. Note the number next to yours (most likely
0). Select that disk:
select disk 0 Enter.
- Create ESP:
create partition efi size=500 Enter (
500 is partition size in MiB).
- Exit Diskpart:
You can also google this if you are unsure. Or as i say you can let Windows create the defaults.
Once Windows is installed i would also turn off the fast start up feature that is built into Windows 10. Once you are ready to install Linux you can use the windows tools to shrink the Windows partition so you are left with an allocated space of the sizing you decided needed to install Linux. I’m not sure what you will use most so you could either split the drive in half or give Windows more? That’s up to you. Depends on your needs.
Installing EndeavourOS is the easy part!