- wimlib
- Windows Image/ISO
- check your flashdisk directory using
diskutil list
, for example, my flashdisk isdev/disk3
. - format it with
diskutil eraseDisk MS-DOS WIN_LABEL MBR /dev/disk3
- Install the wimlib via homebrew
brew install wimlib
- After that, copy all of windows image files into your flashdisk.
- in
sources
dir, you will findinstall.wim
file, - convert it into SWM with
wimlib-imagex split /dev/disk3/install.wim /dev/disk3/install.swm 4000
- if converting is finished, you will see a few file are generated, keep it in
sources
folder, and - delete a
install.wim
file. - done