Skip to content

Instantly share code, notes, and snippets.

@tgoyer
Created July 26, 2020 23:18
Show Gist options
  • Save tgoyer/fc5df5a42b399d4fdc01e8b15e115de3 to your computer and use it in GitHub Desktop.
Save tgoyer/fc5df5a42b399d4fdc01e8b15e115de3 to your computer and use it in GitHub Desktop.
1. diskutil list
2. diskutil eraseDisk MS-DOS "WIN10" GPT /dev/disk2
3. hdiutil mount ~/Downloads/Win10_2004_English_x64.iso
4. rsync -vha --exclude=sources/install.wim /Volumes/CCCOMA_X64FRE_EN-US_DV9/ /Volumes/WIN10
5a. /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
5b. brew install wimlib
5c. mkdir /Volumes/WIN10/sources
6. wimlib-imagex split /Volumes/CCCOMA_X64FRE_EN-US_DV9/sources/install.wim /Volumes/WIN10/sources/install.swm 4000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment