Created
May 27, 2022 07:26
-
-
Save geiltonxavier/cc1522964d3a56fd1060d959f428fbb5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Step 1: Download the Windows 11 ISO file | |
Step 2: Insert your USB storage drive into your Mac | |
Step 3: Use the diskutil command to identify which disk your USB drive is mounted on | |
- diskutil list | |
Step 4: Format your USB Drive to work with Windows | |
- diskutil eraseDisk MS-DOS "WIN11" GPT /dev/disk2 (It may be disk3 or disk4) | |
Step 5: Use hdiutil to mount the Windows 10 folder and prepare it for transfer | |
- hdiutil mount ~/Downloads/Win11.iso | |
Step 6: Copy the Windows 11 ISO over to your USB Drive | |
- rsync -vha --exclude=sources/install.wim /Volumes/CCCOMA_X64FRE_EN-US_DV9/* /Volumes/WIN11 | |
Then run this command to install Homebrew (if you don't have it installed on your Mac yet): | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
- brew install wimlib | |
mkdir /Volumes/WIN10/sources (if not exists) | |
- wimlib-imagex split /Volumes/CCCOMA_X64FRE_EN-US_DV9/sources/install.wim /Volumes/WIN11/sources/install.swm 3800 | |
Step 7: Put your USB into your new PC and start loading Windows | |
resources: https://www.freecodecamp.org/news/how-make-a-windows-10-usb-using-your-mac-build-a-bootable-iso-from-your-macs-terminal/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment