Make El Capitan Bootable Usb

It was 2009 when Apple last released a new operating system on physical media. Things have proceeded remarkably smoothly since version 10.7 switched to download-only installers, but there are still good reasons to want an old, reliable USB stick. For instance, if you find yourself doing multiple installs, a USB drive may be faster than multiple downloads (especially if you use a USB 3.0 drive). Or maybe you need a recovery disk for older Macs that don't support the Internet Recovery feature. Whatever the reason, you're in luck, because it's not hard to make one.

As with last year, there are two ways to get it done. There's the super easy way with the graphical user interface and the only slightly less easy way that requires some light Terminal use. Here's what you need to get started.

Create A Bootable El Capitan Usb. 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: Press Return to enter the command. Assuming that you have the OS X El Capitan installer in your Applications folder and you have a Mac OS X Extended (Journaled)-formatted USB drive named 'Untitled' mounted on the system, you can. 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.

Bootable
  • A Mac that you have administrator access to, duh. We've created El Capitan USB stick from both Yosemite and El Capitan, but your experience with other versions may vary.
  • An 8GB or larger USB flash drive or an 8GB or larger partition on some other kind of external drive. For newer Macs, use a USB 3.0 drive—it makes things significantly faster.
  • The OS X 10.11 El Capitan installer from the Mac App Store in your Applications folder. The installer will delete itself when you install the operating system, but it can be re-downloaded if necessary.
  • If you want a GUI, you need the latest version of Diskmaker X app. Version 5 is the one with official El Capitan support.
  • Diskmaker X is free to download, but the creator accepts donations if you want to support his efforts.

The easy way

Capitan

Once you've obtained all of the necessary materials, connect the USB drive to your Mac and run the Diskmaker X app. The app will offer to make installers for OS X 10.9, 10.10, and 10.11, and it should run on OS X versions all the way back to 10.7—support for 10.6 was dropped in the most recent release.

Advertisement

Diskmaker X has actually been around since the days of OS X 10.7 (it was previously known as Lion Diskmaker), and it's still the easiest GUI-based way to go without intimidating newbies. If you're comfortable with the command line, it's still possible to create a disk manually using a Terminal command, which we'll cover momentarily.

Make El Capitan Bootable Usb From Dmg

Select OS X 10.11 in Diskmaker X, and the app should automatically find the copy you've downloaded to your Applications folder. It will then ask you where you want to copy the files—click 'An 8GB USB thumb drive' if you have a single drive to use or 'Another kind of disk' to use a partition on a larger drive or some other kind of external drive. Choose your disk (or partition) from the list that appears, verify that you'd like to have the disk (or partition) erased, and then wait for the files to copy over. The process is outlined in screenshots above.

The only slightly less-easy way

If you don't want to use Diskmaker X, Apple has actually included a terminal command that can create an install disk for you. Assuming that you have the OS X El Capitan installer in your Applications folder and you have a Mac OS X Extended (Journaled)-formatted USB drive named 'Untitled' mounted on the system, you can create an El Capitan install drive by typing the following command into the Terminal.

sudo /Applications/Install OS X El Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install OS X El Capitan.app --nointeraction

The command will erase the disk and copy the install files over. Give it some time, and your volume will soon be loaded up with not just the OS X installer but also an external recovery partition that may come in handy if your hard drive dies and you're away from an Internet connection.

Create Bootable Linux Flash Drive

Whichever method you use, you should be able to boot from your new USB drive either by changing the default Startup Disk in System Preferences or by holding down the Option key at boot and selecting the drive. Once booted, you'll be able to install or upgrade El Capitan as you normally would.

Summary

How to make a bootable USB drive on Linux Mint (19.3) to allow you to install Mac OS X El Capitan on a MacBook with broken or corrupted recovery mode.

Background

I was recently given a 2011 MacBook Pro that had been “well-loved” and was therefore a mess of missing applications, ghost files and generally slow-as-hell. Since there wasn’t much worth saving I wiped it and initiated recovery mode in order to re-install OS X (El Capitan).

Having recently fixed a busted MacBook Air I had learned a bit about Recovery Mode (hold Command+R whilst pushing the Power button and release a few seconds after the machine wakes up). I tried that with this machine, and upon hitting “Reinstall MacOS X” was greeted with a prompt telling me it would take -2,148,456,222 days and 8 hours (an uncaught buffer overflow, me thinks). After about 30 seconds, a window pops up saying “Can’t download the additional components needed to install Mac OS X” and the installation gives up. The detailed error log says “Chunk validation failed, retrying” about 1000 times and eventually gives up altogether.

Further investigation suggests this may be something to do with security certificates having expired and hence the machine not being able to download the necessary files from Apple’s servers, but it seems the error can appear for all sorts of reasons. I also tried Internet Recovery (Command+Option+R) but that gave exactly the same error (and would also only have installed OS X Mountain Lion).

I then turned to attempting to make a bootable USB stick of OS X El Capitan from an image downloaded from Apple. I use Linux Mint on my main laptop and that was all I had available. Apple seem to assume everybody has a spare MacBook from which to create a bootable USB so they provide absolutely no documentation to help with this. I also couldn’t find a single guide online that worked from start to finish, so here I summarise what needs to be done.

Steps

As usual, this is all at your own risk 🙂

First you need to go to Apple’s OS Download Page and (step 4) get ahold of “InstallMacOSX.dmg” for El-Capitan. It’s a 6GB file so it might take a ‘lil while. You will also need to find a USB drive with at least 8GB capacity, and make sure it’s blank. The format doesn’t matter, because this procedure will format it correctly.

(In total you will need to use about 15-18GB of disk space by the time you’ve done all the extracting necessary, which shouldn’t be a problem for most computers but it was a challenge for my laptop with it’s 128GB SSD and dual boot Windows/Linux!)

Then you need to get a program called ‘dmg2img’

You can then extract the DMG

Now double click the .img file to mount it. In there is a InstallMaxOSX.pkg file. This requires a utility called “xar” to extract, which can be installed with these instructions (from https://www.oueta.com/linux/extract-pkg-and-mpkg-files-with-xar-on-linux/)

Then build and install with

Now you can extract the .pkg file. It will extract to the current working directory

Now, within the extracted files you will find something called InstallESD.dmg. This actually contains all the interesting boot files, but it isn’t a pristine image, so we can’t just burn it to a USB. Thankfully, a script exists to convert this DMG to a bootable usb, and it’s available here. It takes the DMG and writes everything directly to the USB in the right place.

ONE CAVEAT: When I ran this script on my InstallESD.dmg, it crashed because it didn’t recognise the checksum. I think this is because Apple updates the dmg’s anytime there is a security update for El Capitan so the checksum list isn’t updated. All I did was delete the checksum check from the script above. Essentially, just open the script and delete this section

Once I had done this, I ran the script with my USB connected (/dev/sdb for me, but CHECK YOURSELF with fdisk or similar) and after quite a while it finished copying.

I plugged the USB into the MacBook, and opened the startup menu by holding down Option whilst pushing the power button. This gave me the choice of booting from EFI, or choosing a WiFi network. Click on the EFI, and then follow the prompts to install OS X from the USB drive!

When you’re done, you may need to use Parted or a similar utility to re-format your USB as a normal drive again.