After the first time I drove 3.5 hours to a dark sky spot for astrophotography (late at night with no civilization nearby to avoid light pollution) with no SD card I bought a 32gb card, wrapped it up with tape and have it in my wallet at all times.
Thankfully that was a 3 night camp out so I drove to the nearest town and saved the other two nights hahah
Open windows and shrink your boot partition by whatever you want Linux to take. Leave the space unallocated and delete any secondary partitions you may have already created in the first failed installation.
Then, start the Linux installation again and see if that works.
If you have a second drive that's a much better choice because windows will regularly fuck up the Linux part of the bootloader and good luck fixing it.
Go log into windows, backup the second drive files somewhere else and format it, then install Linux there.
I just hop into my uefi menu on boot and select the windows disk to load whenever required instead of a dual boot bootloader because I know windows will not damage it
I propped the phone backwards at an angle against an old chair that I found there and very gently touched the screen button to take the photo, which is awkward because you can't really see it because the display is away from you so that the cameras can point upwards lol.
In hindsight I could've used my watch as a remote shutter but it didn't occur to me then hahah
So my Age of Empires build strategy was historically accurate