Last active
October 18, 2025 19:05
-
-
Save kaisershahid/c6c797e83ba08a263039abd04f11bc53 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
| source: https://alexlubbock.com/bootable-windows-usb-on-mac | |
| in terminal: | |
| ``` | |
| # one-time install | |
| brew install wimlib | |
| diskutil list | |
| # find diskX for usb | |
| diskutil eraseDisk MS-DOS "USB_VOL" MBR diskX | |
| # mount iso, then: | |
| rsync -avh --progress --exclude=sources/install.wim /Volumes/ISO_VOL/ /Volumes/USB_VOL | |
| # finally, split install.wim | |
| wimlib-imagex split /Volumes/ISO_VOL/sources/install.wim /Volumes/USB_VOL/sources/innstall.swm 3800 | |
| ``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment