- Run
brew install wimlib
on mac - Format USB thumbdrive with Fat32. Name the partition to something relevant such as
win11pro
- Mount the windows ISO on Mac by double clicking the image.
- The mountpoints of the USB and the ISO will be in /Volumes. For example, windows ISO at
/Volumes/CCCOMA_X64FRE_EN-US_DV9
and USB at/Volumes/win11pro
Run the following
export WINISO="/Volumes/CCCOMA_X64FRE_EN-US_DV9"
export USB="/Volumes/win11pro"