Error reading data from WIM file: Invalid argument

Comments, questions, bug reports, etc.
Post Reply
synchro
Posts: 1
Joined: Sun Nov 08, 2020 8:17 pm

Error reading data from WIM file: Invalid argument

Post by synchro »

I'm trying to use wimlib on macOS 10.14 (Mojave) to split an install.wim file on a Windows 10 install image freshly downloaded directly from Microsoft, but it gives me this error:

Code: Select all

wimsplit install.wim install.swm 3800
[ERROR] Error reading data from WIM file: Invalid argument
ERROR: Exiting with error code 65:
       Unexpectedly reached the end of the file.
The install.wim file is 4900Mb, but this error appears instantly, suggesting it's not had sufficient time to read the whole file. I can't find any references to error 65, plus the forum software won't let me search for it anyway. In case it was the file system preventing the read, I tried copying it to a non-FAT32 FS, but it gives the same error there. What's going on here? How can I fix it?
chungy
Posts: 30
Joined: Mon Feb 15, 2016 3:40 am

Re: Error reading data from WIM file: Invalid argument

Post by chungy »

synchro wrote: Sun Nov 08, 2020 8:23 pmI tried copying it to a non-FAT32 FS
Did you save it to FAT32 first? There's a file size limit that's smaller than the file you are supposed to be working with in the first place...

Just about any other file system doesn't have this same limit. exFAT, NTFS, HFS+ would all work for saving this file first.
Post Reply