This method works identically on Windows, macOS, and Linux.

A "repack" refers to the process of not just decompressing the CHD, but restructuring the resulting ISO to remove padding, fix file ordering, or optimize for specific file systems (e.g., UDF 1.02 or ISO level 3).