Skip to content

Allow Absence of Security Data - #67

Open
ibv-meyer wants to merge 1 commit into
ipxe:masterfrom
ibv-meyer:master
Open

Allow Absence of Security Data#67
ibv-meyer wants to merge 1 commit into
ipxe:masterfrom
ibv-meyer:master

Conversation

@ibv-meyer

@ibv-meyer ibv-meyer commented Aug 18, 2026

Copy link
Copy Markdown

While using wimboot with one of our customers custom WinPE images, we were having difficulties loading it, although it worked seamlessly when booted by GRUB. This error was printed multiple times

...directory entry "" not found

and in the end

FATAL: no bootloader file found
Could not boot: Error 0x7f048281 (https://ipxe.org/7f048281)

In contrast, a Win11 image as provided by Microsoft was successfully loaded by wimboot.

While diving into this issue, it turned out that WinPE images created by Microsoft ImageX are not necessarily equipped with security data. This resulted in Wimboot failing to read the image content while other tools (e.g. wimlib-based tools like wiminfo) successfully parsed these images.

The absence of security data can be signalled in the image with a length of 0, although we must still consider a minimum security data header length of 8, e.g. by overwriting the security length with 8 in order to enable correct image parsing. As soon as we applied the commit provided in this PR, the custom WinPE image booted like a charme, even with SecureBoot enabled.

Unfortunately I cannot provide a WinPE image to you to help you reproducing this issue, as it contains lots of proprietary data, but it turned out that wimlib uses a similar workaround.

WinPE images created with Microsoft ImageX are not necessarily
equipped with security data. This resulted in Wimboot
failing to read the image content while other tools (e.g.
wimlib-based tools like wiminfo) successfully parsed these
images.

The absence of security data might be signalled with a length
of 0 in the security header, although we must still consider the
minimum header length of 8 bytes in order to find the root directory
entry.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant