Creating a bootable USB drive on a Mac is a fundamental skill that empowers users to install a new operating system, recover from system failures, or run diagnostic tools. The process is straightforward thanks to macOS’s built-in command-line utility, Disk Utility, and the Terminal application. This guide walks through each step required to prepare a reliable bootable drive, from selecting the right hardware to verifying the final image.
Understanding Bootable Media and Why It Matters
A bootable USB drive contains the necessary system files to start a computer independently of its primary operating system. For Mac users, this is essential for installing a fresh copy of macOS, resetting the system, or troubleshooting kernel panics. Without this preparation, you risk being unable to recover from a critical failure or upgrade an existing installation. Using a dedicated external drive ensures that your main storage remains unaltered until you are ready to commit to the new software.
Preparing Your USB Drive
Before writing any data, you must format the drive to ensure compatibility with the Mac startup process. The optimal format depends on the target Mac architecture: Apple File System (APFS) or Mac OS Extended (Journaled) for modern Intel and Apple Silicon Macs, and MS-DOS (FAT) for drives that need cross-platform recognition. Be aware that formatting erases all existing data, so backing up the contents is a mandatory first step.
Connect the USB drive to your Mac using a reliable port.
Open Disk Utility, located in the Applications > Utilities folder.
Select the drive itself (not a volume) and click the Erase button.
Choose a name, select the appropriate format, and click Erase.
Using Terminal to Create the Bootable Drive
Once the drive is formatted, the creation process relies on the Terminal application to clone the installer image onto the USB stick. This method requires precise identification of the drive identifier to avoid accidental data loss on the internal storage. Always double-check the disk path—mistaking an internal drive for an external one can result in a catastrophic data loss.
The Command Line Process
Open Terminal and use the diskutil list command to identify the identifier for your USB drive, which typically appears as /dev/disk2 or similar. Then, navigate to the location of the macOS installer app or a downloaded recovery image. The core command utilizes sudo dd to write the image bit-by-bit to the drive. This operation runs silently in the background, and the cursor will not display progress indicators, requiring patience depending on the size of the drive.
Verifying the Bootability
After the command completes and the terminal returns to the prompt, it is vital to verify the integrity of the installation. You can check the file system for errors within Disk Utility or simply attempt to restart the target Mac while holding down the Option key. If the process was successful, the external drive should appear as a selectable startup disk, indicating that the firmware recognizes the boot sector and partition structure.
Troubleshooting Common Issues
If the Mac fails to recognize the drive, consider checking the partition map. Some older Macs require a Master Boot Record (MBR) partition scheme, while others require GUID. Additionally, ensure the drive has sufficient capacity; most modern macOS installers require at least 16GB of free space. If the dd command fails due to a timeout or "Resource busy" error, unmount the drive using diskutil unmountDisk /diskN before retrying the write operation.