The UEFI64 Secure Boot seems to work quite well even on systems which are set to 'UEFI: Microsoft OS only' except when installing Windows 10 from an ISO.
The solution for this seems to be that we must boot from a Windows 10 .imgPTN file, so we
1. Secure UEFI64-boot to agFM
2. Boot to WinPE
3. Run Switch_E2B.exe and switch in our Windows 10 .imgPTN23 image file
4. Reboot from the new partition and install Windows 10
5. Reboot to agFM and switch back in the E2B partition
I have added the instructions on how to add in the WinPE files here.
It would be nice to not have to boot to WinPE and run SWITCH_E2B.exe, but I am not sure that grub2 can do this like grub4dos can (P.S. see agFM v1.3 for a solution!).
The other alternative is to use agFM to boot to WinPE and then run WinNTSetup.exe from WinPE - this can install directly from a Win10 ISO and there is no need to use .imgPTN files.
The solution for this seems to be that we must boot from a Windows 10 .imgPTN file, so we
1. Secure UEFI64-boot to agFM
2. Boot to WinPE
3. Run Switch_E2B.exe and switch in our Windows 10 .imgPTN23 image file
4. Reboot from the new partition and install Windows 10
5. Reboot to agFM and switch back in the E2B partition
I have added the instructions on how to add in the WinPE files here.
It would be nice to not have to boot to WinPE and run SWITCH_E2B.exe, but I am not sure that grub2 can do this like grub4dos can (P.S. see agFM v1.3 for a solution!).
The other alternative is to use agFM to boot to WinPE and then run WinNTSetup.exe from WinPE - this can install directly from a Win10 ISO and there is no need to use .imgPTN files.