Page 1 of 1

UEFI support in mkwinpeimg

Posted: Mon Mar 07, 2022 12:53 am
by valkolaci
wimlib includes a wonderful tool that can be used to compile a PE image on Linux: mkwinpeimg. However, it is not capable of creating an image that could be booted in UEFI mode.
Now that wasn't a big problem for a long time, as most machines could be booted into Legacy/CSM mode. However, more and more machines have been delivered in the past few years whose BIOS is only willing to boot from the internal disk in UEFI mode. And for this to work, the Windows installation media also has to be booted in UEFI mode, otherwise it'll assume there is no UEFI support in that machine, and will deploy Windows to the internal disk accordingly, resulting in a non-bootable Windows deployment.

Re: UEFI support in mkwinpeimg

Posted: Tue Mar 08, 2022 4:23 pm
by synchronicity
Could you contribute a patch for this?

Re: UEFI support in mkwinpeimg

Posted: Thu Mar 17, 2022 4:20 am
by valkolaci
Of course I could, if I knew how to do it...