Skip to content

Instantly share code, notes, and snippets.

@nguyenvulong
Last active April 12, 2024 08:58
Show Gist options
  • Save nguyenvulong/ab12b30bd65c6446099b08ed09fa5b17 to your computer and use it in GitHub Desktop.
Save nguyenvulong/ab12b30bd65c6446099b08ed09fa5b17 to your computer and use it in GitHub Desktop.
Create a bootable Windows 11 USB drive on your Macbook
steps
0. download an ISO file of windows from the official website
1. mount the ISO file by double-clicking on the downloaded ISO file
2. plug in the USB, format it with `exFAT`
3. open the Terminal, run `diskutil list`, it will show the external drive, something like `dev/diskX`, my case `X` = 4
4. (if step 5 fails (device busy), you should run `diskutil umount /dev/disk4s1` and `diskutil umount /dev/disk4s2` to umount the partitions first)
5. run `sudo dd if=/path/to/windows11.iso of=/dev/diskX bs=1m`. BE CAREFUL.
6. wait until it finishes, then eject the USB, run `diskutil eject /dev/diskX`
reference
https://www.pugetsystems.com/support/guides/w11-usb-macos/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment