Zend certified PHP/Magento developer

Cannot install Windows 10 on hard disk

I have an old laptop that I installed Linux on, overwriting Windows. I am currently trying to reinstall Windows 10, but I’m running into some issues. My installation media is a bootable USB created using these instructions.

When I attempt to partition the hard disk and click Next to continue with the install, I’m greeted by the following error message:

We couldn’t create a new partition or locate an existing one. For more information, see the Setup log files.

I’ve tried wiping and repartitioning the disk and manually partitioning it with diskpart. I tried creating an ESP of size 500 MB instead of the default 100 MB. I also noticed that the USB drive was getting assigned the letter C, so I removed it, assigned C to the primary partition on the disk, and reinserted the USB drive as described here.

So far, no dice. I did manage to grab those log files, though I can’t make much sense of them. It seems to me that it can’t find the EFI System Partition, but it should be creating one.

I have seen a proposed solution that involves copying the installation files to a partition on the disk, but this seems to only be for MBR. Is there any way to do this on a UEFI system?