Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

Support splitting of install.wim via "wimlib-imagex split" to avoid hitting 4GB file size limit of fat32 #32

Closed
coreprocess opened this issue Dec 8, 2018 · 12 comments
Labels
feature-request good first issue Good for newcomers scheduled-feature New feature or request
Milestone

Comments

@coreprocess
Copy link

coreprocess commented Dec 8, 2018

https://wimlib.net/ supports splitting of wim files. Exclude install.wim from rsync process and copy via the split command of wimlib-imagex instead.

@coreprocess coreprocess changed the title Support splitting of install.wim via "wimlib-imagex split" to avoid hitting 4GB file size limit Support splitting of install.wim via "wimlib-imagex split" to avoid hitting 4GB file size limit of fat32 Dec 8, 2018
@coreprocess
Copy link
Author

coreprocess commented Dec 15, 2018

@jsamr Please have a look at https://github.com/core-process/wininst-uefi-usb/blob/master/README.md. The instructions are macOS specific, but the copy sequence is identical to the Linux variant.

Most important part is:

# Copy all files except install.wim
rsync -v -r -I --no-links --no-perms --no-owner --no-group --exclude sources/install.wim /Volumes/WINISO/ /Volumes/WININST/

# Split-copy install.wim
wimlib-imagex split /Volumes/WINISO/sources/install.wim /Volumes/WININST/sources/install.swm 1024

On Debian/Ubuntu the wimlib-imagex binary can be installed via the https://packages.debian.org/stretch/wimtools package.

@jsamr
Copy link
Owner

jsamr commented Dec 15, 2018

@Core-Process I'm reluctant to add image-specific logic to a bash script ! This is mainly a maintainability concern.

However, I have been thinking of a go or rust successor to bootiso which could have more fine grained logic such as the example you are proposing 🙂

@coreprocess
Copy link
Author

coreprocess commented Dec 15, 2018

@jsamr I understand your concern. But this specific issue is very real and rendered the otherwise very beautiful bootiso script useless to me. :-( The Windows ISO images available at the official download site of Microsoft contain an install.wim file which is larger than 4 GB.

@jsamr
Copy link
Owner

jsamr commented Dec 16, 2018

@Core-Process Oh I didn't catch the motivations at first glance. I will consider this option for next release. I'll ping you when that happens!

@bboti86
Copy link

bboti86 commented Dec 21, 2018

@jsamr have you considered using NTFS instead of vfat when the .wim file is too large for FAT? That could be an extra sanity check instead of processing the wim file.

@coreprocess
Copy link
Author

coreprocess commented Dec 22, 2018

@bboti86 NTFS is not guaranteed to work, as it is not part of the standard. And I can confirm it does not work in many cases. FAT32 + processing the WIM file does work with any compliant system. (I am talking about UEFI here)

@jsamr jsamr added this to the v3.2.0 milestone Jan 27, 2019
@jsamr jsamr added scheduled-feature New feature or request good first issue Good for newcomers labels Jan 27, 2019
@jsamr
Copy link
Owner

jsamr commented Jan 27, 2019

@Core-Process Currently implementing and testing ; should be shipped with 3.2 soon!

jsamr added a commit that referenced this issue Jan 27, 2019
@jsamr jsamr closed this as completed Jan 27, 2019
@NullVoxPopuli

This comment has been minimized.

@NullVoxPopuli

This comment has been minimized.

@jsamr

This comment has been minimized.

@NullVoxPopuli

This comment has been minimized.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request good first issue Good for newcomers scheduled-feature New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants
@NullVoxPopuli @bboti86 @coreprocess @jsamr and others