Creating a bootable USB drive on a Mac is a fundamental skill that empowers users to install a new operating system, troubleshoot system issues, or run utility software directly from the drive. The process leverages built-in macOS tools to format the drive and write an image file, making it a reliable alternative to third-party applications.
Why You Might Need a Bootable USB Drive
A bootable USB drive serves as a portable installation medium for macOS, allowing a clean setup on a new Mac or an existing machine experiencing software failure. It is also the recommended method for downgrading to an older version of the operating system, a scenario where over-the-air updates are not available. Furthermore, these drives are essential for running disk repair utilities or accessing the macOS Recovery environment when the main system is unbootable.
Preparing Your USB Drive
Before writing the image, you must prepare the physical drive. The capacity of the USB drive is a critical factor; installing macOS requires a minimum of 16GB, though 32GB is ideal for future updates and additional files. You will need to format this drive using the macOS Extended (Journaled) format, which ensures compatibility with the Disk Utility tool used in the writing process.
Formatting the Drive
Formatting erases all data on the drive, so ensure any files of value are backed up to cloud storage or another physical drive. Insert the USB drive into your Mac, open Disk Utility from the Applications folder, and select the drive itself in the sidebar. Navigate to the Erase tab, choose "Mac OS Extended (Journaled)" as the format, and assign a name. Finally, click Erase to prepare the medium for the bootable image.
Downloading the Installer
The creation process relies on a legitimate installer app downloaded directly from the Mac App Store. To generate the bootable USB, you will need the specific installer corresponding to the macOS version you intend to install, such as macOS Ventura or macOS Sonoma. These downloads are large, so ensure your Mac is connected to a stable Wi-Fi or Ethernet network to avoid interruptions during the fetch.
Executing the Command in Terminal
With the drive formatted and the installer downloaded, you will utilize the Terminal application to combine the two. Terminal allows you to interact directly with the Unix foundation of macOS, executing a command that copies the installer files to the USB drive. This method is preferred because it provides a direct, script-like execution that minimizes the risk of user error compared to graphical interfaces.
The Step-by-Step Command
Open Terminal, which is located within the Utilities folder inside the Applications directory. You will need to identify the identifier of your USB drive, typically labeled as "disk2" or "disk3" in the command. Be absolutely certain of this identifier, as using the wrong one can result in overwriting your main system drive. The command structure generally follows this format: sudo /Applications/Install\ macOS\ [Version].app/Contents/Resources/createinstallmedia --volume /Volumes/[DriveName] --nointeraction .