Skip to content

Instantly share code, notes, and snippets.

@BigAl
Last active August 28, 2021 12:15
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 BigAl/44f464514120712bc2c906f50bc0269a to your computer and use it in GitHub Desktop.
Save BigAl/44f464514120712bc2c906f50bc0269a to your computer and use it in GitHub Desktop.

Locate your USB device

diskutil list

Partion USB key

Following the https://win10.guru/usb-install-media-with-larger-than-4gb-wim-file/ method for large files

diskutil partitionDisk /dev/disk2 gpt fat32 UEFI_BOOT 1g UFSD_NTFS Win10 0b

  hdiutil mount ~/Downloads/Win10_1909_English_x64.iso
  rsync -avz --exclude 'sources' /Volumes/CCCOMA_X64FRE_EN-US_DV9/ /Volumes/UEFI_BOOT/
  mkdir /Volumes/UEFI_BOOT/sources
  cp /Volumes/CCCOMA_X64FRE_EN-US_DV9/sources/boot.wim /Volumes/UEFI_BOOT/sources/
  rsync -avz /Volumes/CCCOMA_X64FRE_EN-US_DV9/ /Volumes/Win10/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment