El Capitan Createinstallmedia

These advanced steps are primarily for system administrators and others who are familiar with the command line. You don't need a bootable installer to upgrade macOS or reinstall macOS, but it can be useful when you want to install on multiple computers without downloading the installer each time.

I just upgraded to an M1 Macbook Air, and it appears I'm no longer able to use the 'createinstallmedia' command line app: it errors out on 'Killed: 9': The same is also true for El Capitan, Sierra, High Sierra, and Mojave. It does work for Big Sur. I did some googling and 'Killed: 9' refers to the program nog having a valid code signature. Oct 02, 2015 Whenever I go to try and create a bootable USB installer using either the embedded 'createinstallmedia' command found within the El Capitan package, or using Diskmaker X v5.0, both methods successfully create the USB installer, but neither method generates a USB device that I can select as a Source Disk in System Preferences, nor will it.

What you need to create a bootable installer

  • A USB flash drive or other secondary volume formatted as Mac OS Extended, with at least 14GB of available storage
  • A downloaded installer for macOS Big Sur, Catalina, Mojave, High Sierra, or El Capitan

Download macOS

  • Download: macOS Big Sur, macOS Catalina, macOS Mojave, or macOS High Sierra
    These download to your Applications folder as an app named Install macOS [version name]. If the installer opens after downloading, quit it without continuing installation. To get the correct installer, download from a Mac that is using macOS Sierra 10.12.5 or later, or El Capitan 10.11.6. Enterprise administrators, please download from Apple, not a locally hosted software-update server.
  • Download: OS X El Capitan
    This downloads as a disk image named InstallMacOSX.dmg. On a Mac that is compatible with El Capitan, open the disk image and run the installer within, named InstallMacOSX.pkg. It installs an app named Install OS X El Capitan into your Applications folder. You will create the bootable installer from this app, not from the disk image or .pkg installer.

Use the 'createinstallmedia' command in Terminal

  1. Connect the USB flash drive or other volume that you're using for the bootable installer.
  2. Open Terminal, which is in the Utilities folder of your Applications folder.
  3. Type or paste one of the following commands in Terminal. These assume that the installer is in your Applications folder, and MyVolume is the name of the USB flash drive or other volume you're using. If it has a different name, replace MyVolume in these commands with the name of your volume.

Big Sur:*

Createinstallmedia El Capitan Usb

Catalina:*

Mojave:*

High Sierra:*

El Capitan:

* If your Mac is using macOS Sierra or earlier, include the --applicationpath argument and installer path, similar to the way this is done in the command for El Capitan.


After typing the command:

  1. Press Return to enter the command.
  2. When prompted, type your administrator password and press Return again. Terminal doesn't show any characters as you type your password.
  3. When prompted, type Y to confirm that you want to erase the volume, then press Return. Terminal shows the progress as the volume is erased.
  4. After the volume is erased, you may see an alert that Terminal would like to access files on a removable volume. Click OK to allow the copy to proceed.
  5. When Terminal says that it's done, the volume will have the same name as the installer you downloaded, such as Install macOS Big Sur. You can now quit Terminal and eject the volume.

Use the bootable installer

Determine whether you're using a Mac with Apple silicon, then follow the appropriate steps:

Apple silicon

  1. Plug the bootable installer into a Mac that is connected to the internet and compatible with the version of macOS you're installing.
  2. Turn on your Mac and continue to hold the power button until you see the startup options window, which shows your bootable volumes.
  3. Select the volume containing the bootable installer, then click Continue.
  4. When the macOS installer opens, follow the onscreen instructions.

Intel processor

  1. Plug the bootable installer into a Mac that is connected to the internet and compatible with the version of macOS you're installing.
  2. Press and hold the Option (Alt) ⌥ key immediately after turning on or restarting your Mac.
  3. Release the Option key when you see a dark screen showing your bootable volumes.
  4. Select the volume containing the bootable installer. Then click the up arrow or press Return.
    If you can't start up from the bootable installer, make sure that the External Boot setting in Startup Security Utility is set to allow booting from external media.
  5. Choose your language, if prompted.
  6. Select Install macOS (or Install OS X) from the Utilities window, then click Continue and follow the onscreen instructions.
El capitan createinstallmedia download

Learn more

A bootable installer doesn't download macOS from the internet, but it does require an internet connection to get firmware and other information specific to the Mac model.

For information about the createinstallmedia command and the arguments you can use with it, make sure that the macOS installer is in your Applications folder, then enter the appropriate path in Terminal:

I’m trying to sell a 2009 MacbookPro. It’s the model MacbookPro5.5 and Apple supports macOS El Capitan 10.11 as latest available version.

I’ve wiped all data from the installed SSD and had to boot from an external disk. Now I’ve got two problems:

  1. I’ve only got a Mac with Big Sur and Apple Silicon. I cannot use the package installer from the download provided by Apple to create the installer App for El Capitan. However, I need access to the installer so that I’m able to use the createinstallmedia command.
  2. The 2009 MacbookPro is already wiped and has only access to the recovery mode. You cannot execute the package installer in Recovery Mode to extract the media.

El Capitan Os X

Luckily I’ve found this blog post from Chris Warrick who explained how to extract the installer App from the package:

  1. Attach an external Disk which contains the downloaded pkg from Apple. You’ll need enough space on that Disk to extract the pkg and it needs to be writeable
  2. Open the Terminal from inside the Recovery Mode
  3. Go to the mounted volume
  4. Extract the package:

Mac El Capitan Download

Now we can try to create the install media from the installer app. Make sure you’ve attach another disk which can be overwritten by the installer. In this example its named „MyBlankUSBDrive“:

The InstallESD.dmg image is missing, which we’ll need to add to the right location:

Now we’ll have a valid installation medium which can be used to start the installer from. You can reboot from that disk and should be able to install El Capitan.

However, I’ve encountered another annoying issue which caused the installer to fail:

El Capitan Installer cannot be verified

Download El Capitan Installer App

Oh great… On to the next commands you can try from the Terminal inside the Recovery OS:

  1. installer -pkg /Volumes/Mac OS X Install DVD/Packages/OSInstall.mpkg -target /Volumes/'XXX' where XXX is the name of the disk you’re installing to.
  2. Wait for the installation to say it’s complete. You will not see any sort of progress display.

Great, you’ve got El Capitan installed! Apple had some issues with certificates and people found a way to either use the above commands for installation or you’ll have to tinker with your Macs time settings so that the signature is valid again. I would have expected that Apple resigned all installers so I wouldn’t have to use these commands at all but doesn’t look like they did.