Skip to content

Instantly share code, notes, and snippets.

@blackstar257
Created March 26, 2024 13:59
Show Gist options
  • Save blackstar257/5dda2bfa7bb6554332cb98a6397c833b to your computer and use it in GitHub Desktop.
Save blackstar257/5dda2bfa7bb6554332cb98a6397c833b to your computer and use it in GitHub Desktop.
# https://www.microsoft.com/en-us/software-download/windows11
brew install wimlib
diskutil eraseDisk MS-DOS WINDOWS11 GPT /dev/disk2
hdiutil mount ~/Downloads/filename.iso
rsync -vha --exclude=sources/install.wim /Volumes/CCCOMA_X64FRE_EN-US_DV9/* /Volumes/WINDOWS11
wimlib-imagex split /Volumes/CCCOMA_X64FRE_EN-US_DV9/sources/install.wim /Volumes/WINDOWS11/sources/install.swm 3000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment