Jump to content

WIM header structure


Recommended Posts

Posted

I am working on a patch for bootmgr that may boot any image inside of boot.wim.

For the wim format specialists of this forum;

How can we retrieve these fields, as specified in the wim header, from any image contained in boot.wim;


rhOffsetTable
rhXmlData
rhBootMetadata

It is basically size and offset for each of the 3 resources.

I had a quick look at the documentation for wimgapi.dll, but have my doubts that wimgapi.dll is capable of retrieving this information.

These values are going to be patched into the wim header as read into memory by bootmgr..

Joakim


Posted

None of those documents/tools can get this information. Imagex.exe/wimgapi.dll will show you some basic information about the wim, except for those 3 fields as specified in the first post. The wim format document will tell you what is what for the individual parts, but has omitted to explain anything about those 3 header fields.

That said, imagex.exe is surely capable of retrieving this piece of information from somewhere. But from where?

I suspect we need to create something on our own to get this information, or completely disassemble wimgapi.dll... I will keep on digging, but could need some help..

Btw, these 3 fields are the only parts in the header that needs to be patched, to boot another image.

Joakim

Posted

OK, looks like I need to study some more, and realistically not having it decoded in a short time (if ever). :rolleyes:

Joakim

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...