How to create bootable Windows 10 installer USB for PC?
I've downloaded Windows 10 from Microsoft and want to create a bootable USB stick for a PC. I've tried to flash the image with dd
, but the stick did not boot.
Then I've flashed the image with bootcamp, it didn't boot either on my PC; it did however boot on my Mac.
How can I create a bootable Windows 10 USB stick to be bootable not on a Mac, but on a PC?
From Create a bootable Windows 10 installation USB on macOS
Step 1: download Windows 10 ISO
Step 2: install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Step 3: install wimlib
brew install wimlib
Step 4: format USB flash drive as “MS-DOS (FAT)” with “Master Boot Record” scheme
Step 5: open Win10_21H1_English_x64.iso
and copy files to USB flash drive skipping install.wim
found at sources/install.wim
(which is larger than 4GB FAT32 limit)
rsync -rv --exclude install.wim” /Volumes/CCCOMA_X64FRE_EN-US_DV9/ /Volumes/WINDOWS10/
Step 6: split install.wim
Heads-up: replace
CCCOMA_X64FRE_EN-US_DV9
with actual Windows 10 ISO volume name andUNTITLED
with USB flash drive volume name.
wimlib-imagex split /Volumes/CCCOMA_X64FRE_EN-US_DV9/sources/install.wim /Volumes/WINDOWS10/sources/install.swm 4000
Done