Wesloo
All topicsTopics

Mac and macOS

Bootable macOS Installer: Setup and Creation Guide

Short answer

A bootable macOS installer provides an independent flash drive setup for deploying system software, performing clean installations, or recovering an unbootable Mac. Creating one requires a compatible USB drive of at least 16 to 32 GB, the full installer application downloaded from Apple, and the native createinstallmedia command. Once written, the drive acts as dedicated boot media for supported Intel and Apple silicon computers.

Key points

  • A dedicated USB flash drive of at least 32 GB is recommended for modern operating systems.
  • The full installer app must reside in the Applications folder before running the creation tool.
  • Terminal utilizes Apple's built-in createinstallmedia utility to format and write the drive.
  • Apple silicon Macs access the installer through a long press of the power button, while Intel models use the Option key.
  • Target systems still require an active internet connection to download necessary hardware firmware during setup.

Why Build a Bootable macOS Installer?

A bootable macOS installer gives administrators and regular users a direct way to deploy Apple system software on fresh storage, set up several machines without redownloading installer files, and troubleshoot hardware when standard macOS Recovery fails to open. While a standard update runs directly inside operating system settings, an external installation drive operates independently of the internal drive. This independence makes it possible to completely wipe corrupt partitions, test release builds, or install macOS on computers running older software.

An installation drive serves a different purpose than an external startup disk. A startup disk hosts an active, full installation of macOS that boots directly into a configured user account and desktop environment. In contrast, an installation drive contains a lightweight boot environment that opens Disk Utility, Terminal, and the core installer setup wizard. It acts purely as a vehicle for transferring the operating system onto internal storage drives.

Hardware Prerequisites and Drive Preparation

Before launching Terminal or formatting media, gather suitable hardware. Writing an entire operating system package requires an external USB flash drive or secondary external volume with sufficient storage capacity. For modern releases such as macOS Tahoe, macOS Sonoma, or macOS Sequoia, choose a drive with at least 32 GB of storage space. Older versions can fit on a 16 GB drive, but Terminal alerts you if the attached volume lacks the capacity needed for the image files.

When the creation tool begins writing data, it erases the entire target drive. Any preexisting partitions, personal files, and hidden volumes will disappear permanently. If your media stores important documents, make sure you back them up first. You can learn how to use Time Machine on a Mac to protect personal files before modifying system partitions. If you plan to split a large external disk into several volumes to retain space for general file transfers, review how to partition a drive on a Mac before selecting your volume label.

macOS VersionMinimum Drive CapacityRequired FormatPartition Scheme
macOS 15 and Newer (e.g., Tahoe, Golden Gate)32 GBMac OS Extended (Journaled)GUID Partition Map
macOS 11 through macOS 14 (Big Sur to Sonoma)32 GBMac OS Extended (Journaled)GUID Partition Map
macOS 10.15 Catalina and Earlier16 GBMac OS Extended (Journaled)GUID Partition Map

You do not need to format the drive manually in Disk Utility ahead of time because Apple's writing utility automatically reformats the target volume into Mac OS Extended (Journaled). However, naming your drive something simple without spaces, such as MyVolume or Untitled, makes running commands in Terminal much easier.

Downloading the Complete macOS Installer

The installer creation tool requires a complete application package inside your Applications folder. Stubs or partial upgrade packages downloaded through basic software prompts will not work with command-line tools. The installer application must be named according to Apple's standard format, such as Install macOS Tahoe, Install macOS Sonoma, or Install macOS Golden Gate.

You can obtain full installer packages through several official channels:

  • Mac App Store: Search for the release name. When you click Get or Download, System Settings opens Software Update to fetch the complete application. Should the installer prompt launch once the download finishes, close the window without continuing the setup.
  • Terminal softwareupdate Command: Open Terminal and list available installers by running softwareupdate --list-full-installers. You can download a specific release directly to your Applications folder by typing softwareupdate --fetch-full-installer --full-installer-version 15.0 (adjusting the version number to your desired build).
  • Apple Web Downloads: Older macOS releases are distributed as disk images (.dmg) or package files (.pkg). When opening these files, follow the on-screen prompts to extract the real installer app directly into your Applications directory.

How to Create a Bootable macOS Installer in Terminal

Apple includes a dedicated command-line program called createinstallmedia inside every official macOS installer package. Creating the installation drive requires administrative permissions to format the external media, mount the disk images, and configure the boot headers.

  1. Plug your prepared USB drive into an available port on your Mac.
  2. Open Terminal by navigating to Applications, then Utilities, or by locating it via Spotlight.
  3. Identify the exact mount name of your external drive. By default, it appears under /Volumes/. If your drive is labeled MyVolume, its path is /Volumes/MyVolume.
  4. Type the installation command corresponding to your downloaded operating system version. Ensure the path points to the correct installer file in your Applications directory.
  5. Press Return. Terminal prompts you for your Mac account administrator password. Type it and press Return; keystrokes remain invisible on the screen for security.
  6. When Terminal asks for confirmation to erase the volume, type Y and press Return.
  7. Terminal displays progress percentages as it formats the disk, copies the installation payload, and marks the disk as bootable. Do not disconnect the drive or put your Mac to sleep while this runs.

Upon completion, Terminal indicates that the installation media is ready. The volume name on your desktop will change automatically to match the installer name, such as Install macOS Tahoe.

Example Terminal Commands by Version

Below are standard command structures using an external drive mounted as MyVolume:

  • macOS Tahoe or Golden Gate:sudo /Applications/Install\ macOS\ Tahoe.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
  • macOS Sonoma:sudo /Applications/Install\ macOS\ Sonoma.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
  • macOS Ventura:sudo /Applications/Install\ macOS\ Ventura.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
  • macOS Monterey:sudo /Applications/Install\ macOS\ Monterey.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume

Systems running macOS Sierra 10.12.6 or earlier require an adjusted command syntax. You must append --applicationpath followed by the direct file path of the installer application inside the Applications folder.

Using Graphical Utilities

For users who prefer to avoid typing terminal commands, third-party software provides a graphical interface. Programs such as Install Disk Creator offer guided workflows. These applications run Apple's underlying createinstallmedia tool in the background while managing permissions and file paths through regular buttons.

Install Disk Creator features an integrated downloader that pulls public releases directly from Apple's content distribution networks. Users can select an available release from a dropdown menu, choose an attached flash drive, and grant administrative authorization to write the files. Regardless of whether you use Terminal or a dedicated application, the end result on the USB drive is identical.

Booting a Mac from the Installation Media

The method used to boot your computer from an external drive depends on whether your Mac uses Apple silicon (M1, M2, M3, M4 series chips) or an Intel processor.

Apple Silicon Macs

  1. Shut down the Mac completely.
  2. Hold down your Mac's hardware power button (or Touch ID sensor).
  3. Continue holding the button until the screen displays Loading startup options.
  4. The startup screen presents all detected drives, listing the connected external media next to internal partitions.
  5. Select the bootable installer volume, then click Continue.

Intel-Based Macs

  1. Turn off the Mac.
  2. Press the power button, then immediately press and hold the Option (Alt) key.
  3. Release the Option key when the Startup Manager screen displays the list of connected storage drives.
  4. Select the external installer drive using the arrow keys or mouse pointer, then press Return.

On Intel computers equipped with the Apple T2 Security Chip, external booting is blocked by default. If your Mac refuses to detect the installer, boot into standard macOS Recovery by holding Command-R at startup. Open the Utilities menu, launch Startup Security Utility, and adjust the external boot setting to allow booting from external or removable media. After finishing system deployment, users often enable FileVault on Mac storage to keep local files encrypted against unauthorized physical access.

Troubleshooting Common Errors

Several standard obstacles can interrupt media creation or startup execution:

Command Not Found: This error occurs when the text string in Terminal contains a typo, or when the installer app is missing from the Applications folder. Verify that the app is named correctly and does not include duplicate extensions like .app.app.

Firmware and Network Checks: Target machines must independently satisfy Apple's hardware support criteria, as USB installers do not circumvent compatibility checks. Furthermore, the installation environment requires an active Wi-Fi or Ethernet internet connection. During system deployment, the installer must contact Apple verification servers to download machine-specific firmware updates and confirm hardware authorization.

Write Failures: If Terminal stops midway through copying files, test the flash drive on another port or run Disk Utility First Aid. Inexpensive flash drives frequently overheat or disconnect during sustained multi-gigabyte transfers, causing Terminal to lose communication with the file system.

Questions people also ask

Can I use an installer drive to bypass macOS hardware restrictions?

No, a bootable installer cannot bypass hardware requirements established by Apple. The computer must officially support the macOS version you intend to install.

Why does my Mac still need an internet connection when installing from USB?

The installer must connect to Apple servers to verify software signatures and download specific firmware updates tailored to your Mac model.

Will creating a bootable installer erase everything on my USB drive?

Yes, the createinstallmedia utility automatically formats the specified volume as Mac OS Extended (Journaled), removing all files previously stored on it.

Related pages

  • Erase Reinstall macOS: Complete Clean Installation Guide

    Erasing and reinstalling macOS removes system corruption, wipes personal data, and restores the machine to a factory state. Depending on whether your hardware uses Apple silicon or an Intel processor, the procedure relies on Erase Assistant or macOS Recovery tools. Completing the process requires a verified broadband connection and a complete backup of all essential files.

  • Login Items Mac Guide: Manage Startup Applications

    Managing login items on a Mac allows users to choose which applications, documents, and network servers initialize automatically upon authentication. Through macOS System Settings, administrators can add or remove automated startup programs and regulate background helper daemons that check for updates or sync data. Suppressing these launch items decreases initial boot delays and conserves working system memory.

  • Enable FileVault Mac: How to Encrypt Your Storage

    Enabling FileVault applies full-disk encryption to your Mac startup volume, safeguarding personal documents and system data against unauthorized physical extraction. On hardware equipped with Apple silicon or the T2 chip, FileVault locks underlying encryption keys inside the Secure Enclave until an authorized user logs in. You can activate this feature directly through macOS System Settings or via terminal management commands.

  • How to Use Time Machine on a Mac

    Time Machine is macOS's built-in backup tool. It can copy your apps, music, photos, email, and documents to an external or network disk, then keep hourly, daily, and weekly versions. You can restore files to the same Mac or another Mac.

  • How to Partition a Drive on a Mac

    Partitioning splits one physical drive into separate storage areas that macOS can use independently. On a Mac, Disk Utility handles most partitioning tasks, while Boot Camp Assistant is the right tool for adding Windows to an internal drive. Because deleting or resizing can erase data, back up important files before you change any storage layout.

  • How to Take a Screenshot on a Mac

    You can capture the whole screen, a selected area, or one window with keyboard shortcuts. The Screenshot app adds timers, save locations, markup, and screen recording.

How this page was prepared

Before writing, the topic was researched in the sources below. The page then passed automatic quality checks.

Report a mistake on this page