Bad main script file

I tried installing endevour alnog side windows multiple times but kept getting bad main script file, tried both NTFS and fat32 and neither works. I’ve also read on reddit to try downloading another mirror but it was the same result. I’m new to linux so i don’t know what to do. If you need any more information i will happly give it to you.

https://termbin.com/seb4

Perhaps these posts may help:

https://www.reddit.com/r/EndeavourOS/comments/1kqdbhd/i_keep_failing_installing_it/

2026-03-26 - 18:18:52 [6]: [PYTHON JOB]: "Disk /dev/sda: 223.57 GiB, 240057409536 bytes, 468862128 sectors\n" 
2026-03-26 - 18:18:52 [6]: [PYTHON JOB]: "Disk model: KINGSTON SA400S3\n" 
2026-03-26 - 18:18:52 [6]: [PYTHON JOB]: "Units: sectors of 1 * 512 = 512 bytes\n" 
2026-03-26 - 18:18:52 [6]: [PYTHON JOB]: "Sector size (logical/physical): 512 bytes / 512 bytes\n" 
2026-03-26 - 18:18:52 [6]: [PYTHON JOB]: "I/O size (minimum/optimal): 512 bytes / 512 bytes\n" 
2026-03-26 - 18:18:52 [6]: [PYTHON JOB]: "Disklabel type: gpt\n" 
2026-03-26 - 18:18:52 [6]: [PYTHON JOB]: "Disk identifier: 6AD2CE9A-2C14-4C5D-B054-AF0009A9E224\n" 
2026-03-26 - 18:18:52 [6]: [PYTHON JOB]: "\n" 
2026-03-26 - 18:18:52 [6]: [PYTHON JOB]: "Device         Start       End   Sectors  Size Type\n" 
2026-03-26 - 18:18:52 [6]: [PYTHON JOB]: "/dev/sda1       2048     34815     32768   16M Microsoft reserved\n" 
2026-03-26 - 18:18:52 [6]: [PYTHON JOB]: "/dev/sda2     239616 251906047 251666432  120G Microsoft basic data\n" 
2026-03-26 - 18:18:52 [6]: [PYTHON JOB]: "/dev/sda3  251906048 400898680 148992633   71G Microsoft basic data\n" 
2026-03-26 - 18:18:52 [6]: [PYTHON JOB]: "/dev/sda4  400898682 468860927  67962246 32.4G Linux filesystem\n"

seems system not properly booted in EFI mode to me.. disk is gpt bit i do not see any ESP created.


2026-03-26 - 18:19:36 [1]:     ERROR: Error while running: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/calamares-root-defdjiqr/efi/loader/loader.conf'

This file would be created in the esp ..

https://discovery.endeavouros.com/installation/live-iso-tricks-tips/2021/03/