Skip to content

Instantly share code, notes, and snippets.

@mfd
Last active February 17, 2022 08:58
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mfd/26923f821883dfc0a8a1b31035246fc2 to your computer and use it in GitHub Desktop.
Save mfd/26923f821883dfc0a8a1b31035246fc2 to your computer and use it in GitHub Desktop.
Make bootable Windows 11 install disk from OSX

Bootable ISO Windows 11 flash disk from OSX

Download Windows 11 Disk Image (ISO)

https://www.microsoft.com/software-download/windows11

Find your flash drive name

diskutil list

Erase flash drive to FAT32

diskutil eraseDisk MS-DOS "WIN11" GPT /dev/disk2

Mount downloaded iso

hdiutil mount ~/Downloads/_win/Win11_Russian_x64.iso

Copy system files

rsync -vha --exclude=sources/install.wim /Volumes/CCCOMA_X64FRE_RU-RU_DV9/* /Volumes/WIN11

Install WimLib from HomeBrew

brew install wimlib

Copy Win image file with WimLib

mkdir /Volumes/WIN11/sources
wimlib-imagex split /Volumes/CCCOMA_X64FRE_RU-RU_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