- Download ISO from here - https://www.microsoft.com/sk-sk/software-download/windows10ISO
- Insert USB storage drive into your pc
- Identify which drive is USB mounted on by typing
diskutil list
command. - Format USB to work with Windows
diskutil eraseDisk MS-DOS "WIN10" GPT /dev/disk2
(replace/dev/disk2
with the code you got in previous command). - Mount downloaded ISO
hdiutil mount ~/Downloads/Win10_1903_V1_English_x64.iso
- Copy files to USB (excluding install.wim as it is larger than 4 GB, FAT32 allows max 4 GB files)
rsync -vha --exclude=sources/install.wim /Volumes/CCCOMA_X64FRE_EN-US_DV9/ /Volumes/WIN10
brew install wimlib
- Use wimlib to split install.wim into multiple parts
wimlib-imagex split /Volumes/CCCOMA_X64FRE_EN-US_DV9/sources/install.wim /Volumes/WIN10/sources/install.swm 4000
Last active
October 9, 2023 18:41
-
-
Save lukasmatta/513ca56ec8a5f2c1aefab5797efef255 to your computer and use it in GitHub Desktop.
Create Windows 10 installation USB on Mac OS
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment