tl;dr: GPT, EFI, dual-boot Antergos-Windows 10, Windows' EFI partition is deleted so I am only able to boot into Antergos and want to fix it.
I had a Debian-Windows-10 dual boot setup using MBR for kicking off grub2. Recently I switched Debian to Antergos and used that opportunity to migrate to GPT partition format with EFI bootloading.
I had a partition list like this:
- Windows System Reserved
- Windows 10
- Debian
- Swap
After reinstall it changed into:
- Windows System Reserved
- Windows 10
- Antergos
- Swap
- EFI partition
After that os-probe didn't find Windows, so I tried to add it to grub manually, but apparently that setup was intended for MBR installation. I attempted then to reinstall Windows using UEFI setup. I ended up with such configuration in the end:
- Windows System Recovery
- Windows EFI Partition
- Windows System Reserved
- Windows 10
- Windows System Reserved
- Antergos
- Swap
- Angergos EFI
(I have no idea why, when given long chunk of empty space, Windows installed decided to create 5 separate partitions...)
Obviously, Antergos stopped to boot since I've got 2 EFI partitions. I thought that only 1 is needed and Windows EFI contains only bootloader that can be replaced by grub so I've deleted the 2nd partition.
Only after that I was able to actually restore grub to work. Apparently though some files from that partition are needed to run Windows. So I treid to recover that partition using Windows installation disk and both automatic repair and creating EFI partition and restoring it with bcdboot. However I only received error failure when attempting to copy boot files.
Currently - depending on what option I try, I see errors such as:
- ntldr is missing
- EFI is missing some configuration
I am currently unsure what should I'll be trying as applying random solutions from internet already took me whole weekend and is not very effective way of figuring out what to do. So my question is: what would be away to restore Windows 10 without reinstalling everything from scratch?
I have access to Windows partition, Windows installation disk, Antergos Live cd for chrooting. I can provide all logs and listing that might help.