On Wed, 12 Jun 2024 at 17:25, Nicholas Bishop <nicholasbishop@xxxxxxxxxx> wrote: > > > Interesting. Does your custom bootloader implement its own PE loader, > > and if so, does it correctly clear those parts of the PE/COFF sections > > that are not covered by data in the file? > > Good call, that was indeed missing. Confirmed that clearing that data > also fixes the issue. Excellent, thanks for confirming. Btw could you elaborate on the failure mode with mixed mode on recent edk2? The current tip of tree works happily for me.