This guide helps you create a Windows 11 installer USB that boots in UEFI/GPT mode using only macOS tools. No Windows PC required.
- Windows 11 ISO (Download from Microsoft)
- USB flash drive (≥16 GB, all data will be erased)
- macOS Terminal
- wimlib (only if ISO's
install.wim
> 4GB)
Go to Microsoft’s official download page and save the ISO to your Downloads folder.
Open Terminal and list disks:
diskutil list
Note your USB’s identifier (e.g. disk2
). All data will be erased!
Run:
sudo diskutil eraseDisk MS-DOS "WIN11" GPT /dev/disk2
- Replace
disk2
with your USB’s identifier.
Double-click the ISO in Finder or run:
open ~/Downloads/Win11_English_x64.iso
The ISO mounts under /Volumes/
, usually named CCCOMA*
or CPBA*
.
Simply copy all files:
rsync -avh --progress /Volumes/CCCOMA*/ /Volumes/WIN11/
-
Install wimlib:
brew install wimlib
-
Copy all files except
install.wim
:rsync -avh --exclude=sources/install.wim /Volumes/CCCOMA*/ /Volumes/WIN11/
-
Split
install.wim
into chunks:wimlib-imagex split /Volumes/CCCOMA*/sources/install.wim /Volumes/WIN11/sources/install.swm 3800
This creates
install.swm
,install2.swm
, etc.
diskutil eject /dev/disk2
Remove the USB safely. It’s now ready for UEFI/GPT Windows installation.
- USB not booting: Ensure you used GPT + FAT32 and Secure Boot is off or set to “Microsoft/3rd-party.”
- “Missing media driver” error: Make sure
install.swm
files exist in/sources/
. - Copy fails (“Read-only file system” on Sonoma):
Then resume
diskutil unmount /dev/disk2s1 sudo mkdir -p /Volumes/WIN11 sudo mount -w -t msdos /dev/disk2s1 /Volumes/WIN11
rsync
.
- BalenaEtcher: Simple but may fail on UEFI-only PCs due to lack of WIM splitting.
- UUByte ISO Editor, Ventoy, UNetbootin: May not split WIM; Terminal method is most reliable.