Created
September 27, 2020 14:44
-
-
Save yintro4ha/59e1936a58a72edecd9ed6623b2b18bd 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
# Download the window 10 iso file from below link | |
#https://www.microsoft.com/zh-hk/software-download/windows10ISO | |
#List storage, and get the usb driver name | |
diskutil list | |
#Copy the window 10 to "disk2" usb | |
diskutil eraseDisk MS-DOS "WIN10" GPT /dev/disk2 | |
hdiutil mount ~/Downloads/Win10_2004_Chinese\(Traditional\)_x64.iso | |
rsync -vha --exclude=sources/install.wim /Volumes/CCCOMA_X64FRE_ZH-TW_DV9 /Volumes/WIN10 | |
brew install wimlib | |
mkdir /Volumes/WIN10/sources | |
wimlib-imagex split /Volumes/CCCOMA_X64FRE_ZH-TW_DV9/sources/install.wim /Volumes/WIN10/sources/install.swm 4000 | |
cd /Volumes/WIN10/sources |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment