It now will not boot from any Windows based USB sticks, and recovery tools that use Windows do not boot.
I tried Ventoy with MediCat (a bunch of recovery tools) and with most of the tools I get an error when I try to boot them:
No boot file found for UEFI!
Maybe the image does not support IA32 UEFI!
The original device ISO tries to boot but crashes.
I suspect this is down to the Windows partitions (MSR and EFI etc.) missing on the internal drive (a soldered MMC).
I found a script on the ISO that will recreate the partitions, but this is for DiskPart.
Code: Select all
rem == CreatePartitions-UEFI.txt ==
rem == These commands are used with DiskPart to
rem create four partitions
rem for a UEFI/GPT-based PC.
rem Adjust the partition sizes to fill the drive
rem as necessary. ==
select disk 0
clean
convert gpt
rem == 1. System partition =========================
create partition efi size=100
rem ** NOTE: For Advanced Format 4Kn drives,
rem change this value to size = 260 **
format quick fs=fat32 label="System"
assign letter="S"
rem == 2. Microsoft Reserved (MSR) partition =======
create partition msr size=16
rem == 3. Windows partition ========================
rem == a. Create the Windows partition ==========
create partition primary
rem == b. Create space for the recovery tools ===
shrink minimum=900
rem ** NOTE: Update this size to match the
rem size of the recovery tools
rem (winre.wim) **
rem == c. Prepare the Windows partition =========
format quick fs=ntfs label="Windows"
assign letter="W"
rem === 4. Recovery partition ======================
create partition primary
format quick fs=ntfs label="Recovery"
assign letter="R"
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
gpt attributes=0x8000000000000001
list volume
exit
I can boot MX Linux from a USB stick and open Gparted.
The device's recovery ISO contains a Boot and EFI folder, so I would assume I could copy the contents into their partitions if created?
Hopefully from that point I could then boot from the recovery ISO and reinstall Windows.