Skip to content

Instantly share code, notes, and snippets.

@mikeblum
Created August 21, 2023 17:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mikeblum/21bee93c03cfaf085e85723f6622d246 to your computer and use it in GitHub Desktop.
Save mikeblum/21bee93c03cfaf085e85723f6622d246 to your computer and use it in GitHub Desktop.
Build Windows 11 Live USB On Mac
diskutil list
diskutil eraseDisk MS-DOS "WIN11" GPT /dev/disk4
hdiutil mount ~/Downloads/Win11_22H2_EnglishInternational_x64v2.iso
rsync -vha --exclude=sources/install.wim /Volumes/CCCOMA_X64FRE_EN-US_DV9/* /Volumes/WIN11
ll /Volumes
rsync -vha --exclude=sources/install.wim /Volumes/CCCOMA_X64FRE_EN-GB_DV9/* /Volumes/WIN11
brew install wimlib
mkdir -p /Volumes/WIN11/sources
wimlib-imagex split /Volumes/CCCOMA_X64FRE_EN-GB_DV9/sources/install.wim /Volumes/WIN11/sources/install.swm 3800
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment