When wimlib is being consumed from Windows PE/RE, sometimes a read error occurs:
Which is always fatal during unsafe compaction passes:
The thing with these types of failures is, they are almost always intermittent. The above examples were on two different OS instances - both on different sets of hardware (Intel 285HX and AMD 9955HX3D, Phison vs. WD SSD), albeit identical base OS image. While a hardware error cannot be ruled out, it is more than likely a transient failure in Windows and/or the OS image and/or the updates that broke something in it.
I have requested in the past that a workaround be instituted in these scenarious, so as to not render the WIMBoot volume unbootable after this failure. The requests were always turned down, due to the inherent difficulty of reconciling all chunks affected by the read error (it's not just a single file potentially - although the progress report makes it look like it is - instead, it is more often a shared chunk of data that may be in use by countless other files, thanks to built-in data deduplication).
Claude AI to the rescue, then:
Would it be possible to check whether Claude did a decent enough job here in providing the requested recovery option for us here?
Read Error Recovery for Unsafe Compaction
Read Error Recovery for Unsafe Compaction
Last edited by zipmagic on Mon Feb 23, 2026 4:35 pm, edited 1 time in total.
Re: Read Error Recovery for Unsafe Compaction
Also, here should be just the modified files, assuming Claude AI hasn't hallucinated too badly, of course:
I truly hope this would be the healing salve for these kinds of (wishfully formerly) fatal read errors?