Skip to content

Instantly share code, notes, and snippets.

@simonyeldon
Last active February 2, 2023 10:13
Show Gist options
  • Save simonyeldon/cfd9ed7e8f2465b1212f5540e3234939 to your computer and use it in GitHub Desktop.
Save simonyeldon/cfd9ed7e8f2465b1212f5540e3234939 to your computer and use it in GitHub Desktop.
Create windows boot USB on mac

Instructions based mostly from this article, but with the diskutil command modified.

 brew install wimlib
 
 diskutil eraseDisk MS-DOS "WIN10" MBR /dev/disk5
 
 rsync -vha --exclude=sources/install.wim /Volumes/CCCOMA_X64FRE_EN-GB_DV9/* /Volumes/WIN10
 
 wimlib-imagex split /Volumes/CCCOMA_X64FRE_EN-GB_DV9/sources/install.wim /Volumes/WIN10/sources/install.swm 3800

MBR is important in the diskutil. GPT does not work, as it interferes with the install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment