- 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
sourcesdir, you will findinstall.wimfile, - 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
sourcesfolder, and - delete a
install.wimfile. - done