Yahoo, both parts are done and working beautifully, BIOS and EFI. BIOS with two BCDs, one for Recovery, one for Mini Win 10 PE, and one combined EFI BCD (for now/ to start with). MS DaRT now also works in UEFI mode.
I also applied some improvements to main_menu.cfg for quicker booting of the Windows modules, omitting Grub4DOS.
It's again already too late now for the final upload - I know I'll make some mistakes or miss something, thus shooting for tomorrow.
.. but for the curious ones, here's a preview
:
Code:
LABEL Windows 10
MENU LABEL Mini Windows 10 PE x64
com32 linux.c32
APPEND /wimboot initrdfile=/MiniWin10PE/bootmgr,/MiniWin10PE/bootmgr.exe,/MiniWin10PE/boot/bcd,/boot/boot.sdi,/sources/boot.wim
text help
Boot into Mini Windows 10 PE 64bit
endtext
label Windows Recovery
menu label Windows Recovery (7, 8.1, 10) ==>
# kernel /boot/grub.exe
COM32 chain.c32 ntldr=BOOTMGR
# APPEND --config-file="find --set-root /Win10PE.cd; chainloader /bootmgr"
APPEND fs
text help
Boot into Windows Windows Recovery with MS DaRT [WinRE_x64]
endtext
Folks, again be aware that EFI can NOT work with NTFS directly, and GPT + FAT32 is NOT a good choice at all, either, for legacy BIOS booting, so Rufus is a bad choice to begin with!!! If your MediCat USB flash drive is currently formatted NTFS, use the free
Macrorit NTFS to FAT32 Converter to convert it to FAT32 - it's super fast and reliable. The MBR is maintained, just the PBR must be rewritten back to SysLinux 6.0.3. For that sake use the free
BootICE utility: choose your MediCat USB as destination disk, button "Process PBR", choose "SysLinux 6.0.3", click onto the "Install/ Config" button => Reboot and test.
(don't have enough privs yet to post links, but you'll easily find
Macrorit NTFS to FAT32 Converter and
BootICE yourself via Google
)
More tomorrow.