Not had much time tonight, but I'm now going to get aggressive and replace Microsoft's \EFI\Boot\bootx64.efi entirely and try again.
So, I replaced Microsoft's
\EFI\Boot\bootx64.efi with OC's
\EFI\BOOT\BOOTx64.efi and deliberately did not bless it before removing all other drives and rebooting. I just wanted to see what the machine would do left to its own devices. OC options HideSelf is
false and BlessOverride is:
XML:
<key>BlessOverride</key>
<array>
<string>\EFI\Microsoft\Boot\bootmgfw.efi</string>
</array>
Reboot and I see this:
That's much better. It takes about 37 seconds for the picker to appear after the chime, I guess while it looks around for sources to boot from. This is why the \EFI\BOOTOC folder is probably a no-go; it'll likely always find and boot from an \EFI\BOOT in preference when it doesn't know what to do, meaning BootROM corruption with certificates.
Going to test whether it survives a reboot. Taking nothing for granted with Windows.
UPDATE: Survives reboot. Now to go back to Mojave and check the BootROM.
UPDATE2: No BootROM corruption! Now to go back to Windows and try the 1909 to 2004 update.
UPDATE3: No update installed yet, back in Windows through OC; but with no other drives installed it did fail to boot the first time. OC was found and launched, but Windows just sat there with the blue logo showing and no spinner. Power off and back on and it booted through OC just fine, though I got a 'what were you doing when your system crashed' feedback screen.
Wish me luck:
UPDATE4: Initial boot into installer worked through OC, our \EFI\BOOT was not affected. This time.
UPDATE5: First reboot of the upgrade and OC is still present, but no spinner on the boot screen again. Hard power off and power on, OC boots Windows and briefly “attempting to recover installation” is shown. Machine auto-reboots. OC kicks in, Windows boot logo... no spinner again.
Hard power off and back on, OC still okay, Windows spinner starts, then:
Auto-reboots. OC kicks in, Windows is booted, logo appears, no spinner again. I’m seeing a pattern here. Every other reboot during an installation and Windows is failing to start up properly. Remember, there’s only the one SSD installed to one SATA bay. It‘s in Bay 4 - I wonder if this behaviour would change if it were in Bay 1. Something to test another time now I know my BootROM is safe.
Another hard power off, OC kicks in, Windows spinner appears.
Recovery back to 1909 is successful. Two last things to try before quitting - check a standard reboot for spinner activity and then double-check my BootROM integrity.
UPDATE6: No issues at all rebooting. OC still present, spinner appears, back in Windows.
UPDATE7: With the Mojave drive back in the blessed OC is found immediately and sees both Mojave and the Windows drive. Boots just fine and BootROM is intact, no corruption.
So, something wonky is going on with reboots during updates which appear to be nothing to do with other drives, as there were no others present during that attempt. But the good news is that in the 1909 to 2004 update at least there's no attempt (so far as we got) to meddle with the \EFI\BOOT contents.
If anyone knows if there will be any useful logs hiding in Windows which I can post, please let me know where I might find them and I shall do so tomorrow.