[ipxe-devel] Wimboot: Lang selection through parameters?

Michael Brown mcb30 at ipxe.org
Mon Oct 2 15:04:37 UTC 2017


On 02/10/17 01:39, Melkor Lord wrote:
> Makes perfect sense and that's what I use now. In my script, I manage to 
> reduce the size of the final WIM file by doing a simple trick :
> 
> 1/ Use the "copype" tool with ADK
> 2/ Add all needed language packs, tools, etc. to the default boot.wim file
> 3/ Export the default language (ie: "en") to a new WIM file and use it 
> as the base image.
> 4/ Export again the image to a separate file, mount it, apply default 
> lang setting (dism /set-allintl), commit and unmount
> 5/ Export this modified WIM file to the WIM file exported at 3/, this 
> will MERGE them!
> 6/ repeat 4/ and 5/ for every language you need.

Does this not happen automatically as soon as you have multiple images 
within a single .wim file?  The WIM format indexes each file by its 
(SHA-1) checksum, so two files with the same contents should always end 
up being deduplicated since there's no other way to represent two 
identical files.

Michael




More information about the ipxe-devel mailing list