Created
December 20, 2021 10:01
-
-
Save arag0re/dc8560ba6e1a5e76084dea0b84c03266 to your computer and use it in GitHub Desktop.
create windows bootable usb on macOS
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
diskutil eraseDisk MS-DOS "WIN10" GPT /dev/disk2 | |
hdiutil mount ~/Desktop/Win10_2004_EnglishInternational_x64.iso | |
rsync -vha --exclude=sources/install.wim /Volumes/CCCOMA_X64FRE_EN-GB_DV9/* /Volumes/WIN10 | |
install homebrew if not already installed by executing: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
brew install wimlib | |
mkdir /Volumes/WIN10/sources | |
wimlib-imagex split /Volumes/CCCOMA_X64FRE_EN-GB_DV9/sources/install.wim /Volumes/WIN10/sources/install.swm 3800 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment