Creating a bootable Windows USB drive on a Mac is a straightforward process when you use the right tools and follow precise steps. This guide walks you through the entire workflow, from preparing your USB drive to successfully installing Windows on a PC.
Understanding the Process
The core challenge lies in the fact that macOS does not natively support creating bootable Windows installers. You cannot simply copy Windows ISO files to a USB stick and expect your Mac to boot from it. Instead, you need to format the drive with a specific partition scheme and use a command-line utility to write the ISO data correctly. The primary tool for this job on a Mac is the Terminal application, which gives you direct control over the disk utilities.
Gathering Your Tools
Before you begin, ensure you have everything you need to avoid interruptions. You will need a USB flash drive with a capacity of at least 16GB, which will be completely erased during the process. Additionally, download the official Windows ISO file from the Microsoft Media Creation Tool. This ensures you get a genuine, unmodified copy of the Windows installation files. Finally, make sure your Mac is connected to a reliable power source to prevent the process from failing due to sleep or shutdown.
Formatting the USB Drive
The first technical step involves erasing and formatting the USB drive to make it compatible with both Mac reading and Windows booting. You must use the GUID Partition Map scheme, which is the standard for modern Macs and Windows PCs. Using the wrong format, such as MS-DOS (FAT) or ExFAT, will result in a drive that fails to boot. The Disk Utility application on your Mac provides a simple graphical interface to handle this formatting task efficiently.
Step-by-Step Formatting
To format the drive, insert the USB stick into your Mac and open Disk Utility, found in the Applications > Utilities folder. Select the USB drive itself in the sidebar, not the individual volumes it contains. Click the "Erase" tab, give the drive a name like "WIN_INSTALL", and choose "Mac OS Extended (Journaled)" or "APFS" for the format. Crucially, select "GUID Partition Map" as the Scheme before confirming the erase. This prepares the physical drive to receive the Windows boot sector.
Writing the ISO with Terminal
Once the drive is formatted, you must use the Terminal to write the Windows ISO file to the USB stick. This step requires identifying the correct disk identifier for your USB drive, which is usually something like `/dev/disk2`. Be extremely careful in this stage; selecting the wrong disk identifier can erase your main Mac hard drive and result in permanent data loss. The `dd` command is powerful and unforgiving, so accuracy is essential.
Executing the Command
To begin the write process, you will unmount the disk and then use the `dd` command to copy the ISO data. First, unmount the volume with the command `sudo diskutil unmountDisk /dev/diskX`, replacing X with your identifier. Then, navigate to the folder containing the Windows ISO file. Finally, execute the command `sudo dd if=filename.iso of=/dev/diskX bs=1m`, pressing Enter to start. This process can take 10 to 30 minutes, and the cursor will appear to do nothing, which is normal behavior during the write operation.
Verifying the Bootable USB
After the command line confirms the process is complete, it is vital to verify that the USB drive is indeed bootable. You can eject the drive safely from the Terminal or Disk Utility. Before connecting it to a Windows PC, you might want to test it on your Mac. Hold the Option key while turning on your Mac to access the boot menu. If the USB drive appears as a bootable option, usually labeled as "Windows," the creation was successful. This test confirms that the boot sector and partition table are correctly configured.