Make An El Capitan Bootable Usb
Feb 17, 2012 Confirm that the USB drive will lose it’s data and enter the Admin password when asked; Disk Utility will now create a bootable OS X Mountain Lion installer drive out of USB drive using the disk image, this can take a little while depending on how fast the drive and Mac are but 20-30 minutes isn’t unusual. As usual, Apple no longer supply a bootable USB Flash Drive with latest OS X releases - including the new OS X 10.11 El Capitan. Using this tutorial you will.
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.
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
- Connect the USB flash drive or other volume that you're using for the bootable installer.
- Open Terminal, which is in the Utilities folder of your Applications folder.
- 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:*
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:
- Press Return to enter the command.
- When prompted, type your administrator password and press Return again. Terminal doesn't show any characters as you type your password.
- 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. - 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.
- 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
- Plug the bootable installer into a Mac that is connected to the internet and compatible with the version of macOS you're installing.
- Turn on your Mac and continue to hold the power button until you see the startup options window, which shows your bootable volumes.
- Select the volume containing the bootable installer, then click Continue.
- When the macOS installer opens, follow the onscreen instructions.
Intel processor
- Plug the bootable installer into a Mac that is connected to the internet and compatible with the version of macOS you're installing.
- Press and hold the Option (Alt) ⌥ key immediately after turning on or restarting your Mac.
- Release the Option key when you see a dark screen showing your bootable volumes.
- 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. - Choose your language, if prompted.
- Select Install macOS (or Install OS X) from the Utilities window, then click Continue and follow the onscreen instructions.
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:
Warning: Please follow these instructions at your own risk. I am not responsible for any damage or information loss that could result from following this guide. Also, note that installing OS X on PC is illegal. Please buy a real Mac if you're satisfied with your Hackintosh. This guide is for evaluation purposes only.
Requirements
- An Intel-based PC with UEFI bios
- A USB flash drive with at least 16GB capacity
- A dedicated hard drive (SSD highly recommended)
- A computer running OS X (10.9 or later) for preparing the installation USB flash drive
I chose to avoid the UniBeast installer (by Tonymacx86) because of its commercialized nature, as described here. Here is a vanilla guide to installing El Capitan on your PC!
Preparing the USB Installation Drive
First things first. We need to prepare a USB thumb drive that will contain the installation files as well as the bootloader and custom kexts for our specific Hackintosh build.
Create El Capitan Bootable Usb From Mojave
Download El Capitan from the Mac App Store
Head over to your existing OS X environment running 10.9 or later and open the Mac App Store.
Search for 'El Capitan' and click Download. The download is completely free if you're running OS X 10.9+.
Wait for the download to finish (this could take some time).
Format the USB Drive
Open Disk Utility in Applications/Utilities and locate your USB device. Make sure you've backed up anything important on that drive as it will be erased forever.
Select it, and then on the right, click the partition tab.
- Click Curent Layout and change it to 1 Partition.
- Set the Name to USB.
- Set the Format to Mac OS Extended (Journaled).
- Click Options and select GUID Partition Table.
Click Apply to format the drive.
Copy the Installation Files to the USB Drive
Make El Capitan Bootable Usb On Catalina
Now that we've downloaded the installation files from the Mac App Store and formatted our USB drive, let's copy the installation files to it.
Run the following command in the Terminal (Applications/Utilities):
The command will run a script inside the Install OS X El Capitan application that will copy the installation files to the USB drive.
This process takes about 15 minutes. Go out for a quick run, or a hamburger, or both. When you come back, it should have finished.
Installing a Bootloader
If you tried to boot from the USB drive as is after the previous step on a PC, it wouldn't work. We need a bootloader that makes it possible to boot OS X on x86 and x86_64 PCs.
There are 3 popular bootloaders to choose from.
- Clover
- Chameleon
- Chimera
I went with Clover as it seems to be the most popular choice among other El Capitan installers, mostly for the following reasons:
Clover is an open-source EFI-based bootloader created on Apr 4, 2011. It has a totally different approach from Chameleon and Chimera. It can emulate the EFI portion present on real Macs and boot the OS from there instead of using the regular legacy BIOS approach used by Chameleon and Chimera. For many, Clover is considered the next-gen bootloader and soon it will become the only choice since BIOS in being replaced by UEFI in every new motherboard. One big feature of Clover is that iMessage, iCloud, the Mac App Store works along with Find My Mac, Back To My Mac and FileVault since Clover can use the EFI partition. (Read more)
Install Clover on Your USB Drive
Installing Clover on your USB drive is relatively easy. It involves running an installation wizard and selecting some options.
Download the latest Clover installer from here.
- Run the installer.
- Click Continue twice.
- Click Change Install Location and set it to your formatted USB drive.
- Click Customize and check the following options:
- [x] Install for UEFI booting only
- [x] Install Clover in the ESP
- [ ] Drivers64UEFI
- [x] OsxAptioFixDrv-64 - fixes memory map created by AMI Aptio EFI. Booting OS X is impossible otherwise.
- Click Install and wait for the installation to finish. It shouldn't take more than a minute.
Copy Essential Kexts to the USB Drive
Next, we'll need to copy some kexts (kernal extensions, similar to drivers on Windows) to the USB drive.
- FakeSMC.kext - open source SMC device driver/emulator developed by netkas. Tricks OS X into thinking it's installed on Apple hardware. Absolutely required for Hackintosh installation.
- NullCPUPowerManagement.kext - disables AppleIntelCPUPowerManagement.kext which may cause kernel panics when you try to boot from the USB drive. It's optional, copy it only if you get an AppleIntelCPUPowerManagement-related kernel panic.
- ApplePS2Controller.kext and AppleACPIPS2Nub.kext - adds support for PS2 devices (such as PS2 keyboard/mouse). They're optional, copy them only if you still use PS2 devices.
Download these files from here and copy them to the EFI mounted volume at /EFI/Clover/kexts/10.11/.
Now that the installation USB drive is ready, let's install OS X El Capitan!
Boot from the USB Drive
Restart your computer and boot from the USB drive (Press Esc/F8/Del to access the boot selection menu).
Use the arrow keys to select Boot OS X Install from Install OS X El Capitan (It should be selected by default). Press the spacebar and select Boot Mac OS X in verbose mode. Verbose mode means that you'll be able to see exactly what's going on under the hood as OS X attempts to boot up its installer. You'll be able to see the exact error message if booting fails.
Press Enter and cross your fingers. Clover will now boot the installer from your USB drive. This could take some time, in my case, it takes around 5 minutes (Don't worry -- the startup time is around 5 seconds after installing on an SSD).
Did it fail?
It's more than likely that the boot will fail. Don't panic (ha-ha), as kernel panics usually mean that you forgot to copy an essential kext to the EFI partition. Look up the exact error you're getting before the boot log comes to an end and search Google for a solution.
Once you find an additional kext that your system needs, you'd attempt to copy it to the EFI volume, only to discover that it's gone! Not to worry, it's just unmounted and hidden. Follow this guide to mount the hidden partition, and then, follow the Copy Essential Kexts section above to copy it to the USB drive's EFI partition.
Format the Target Hard Drive
Once the installation wizard boots, the next step is to prepare the hard drive that you want to install OS X on.
Click Continue, followed by Disk Utility.
Select the target drive to install to (not the USB drive!) and click the Erase button. Make sure to back up anything important on that drive, as it will be deleted forever.
- Set the Name to El Capitan.
- Set the Format to OS X Extended (Journaled).
- Set the Scheme to GUID Partition Map.
Click Erase to format the drive.
Install OS X to the Target Drive
Exit the Disk Utility and click Install OS X.
Click Show All Disks and select the drive you just formatted to install OS X on it. Finally, click Install.
The process takes about 25 minutes. Be patient. For me, it hung at the end ('1 second remaining') for around 5 minutes. Don't be tempted to reset or cancel the installation.
When that's done, the system will reboot. Make sure to boot from the USB device again, and select Boot OS X Install from Install OS X El Capitan once again, in verbose mode. The installation is a two-part process that continues once you re-boot into the USB drive.
Finally, after about 25 more minutes, OS X El Capitan should be successfully installed on the target drive.
Boot into El Capitan via the USB Device
After the second reboot, boot from the USB device once again, but this time, select Boot OS X from El Capitan, and select verbose mode. Now you see me 2 hindi dubbed download.
Press Enter and cross your fingers again. If all goes well, you'll be presented with the setup wizard:
Take a minute to set up your new Hackintosh. Once you're done, there are a few things you need to do to finish off the installation.
Reinstall Clover on the Hackintosh Drive
In the previous step, we used Clover on our USB drive to boot our Hackintosh. This is fine, but most of us aren't going to keep that USB drive plugged in forever. Let's make it possible to boot El Capitan independently by reinstalling Clover on it.
Go back up to the Install Clover on Your USB Drive section and follow the steps again, but this time, select your El Capitan volume instead of the USB drive.
Once again, copy the essential kexts to the EFI partition that shows up after installing Clover.
Finally, make sure to add Clover EFI boot options which is possible by pressing Clover Boot Options in the Clover boot window (if there are 2 boot options -- find the one for your SATA drive). I literally spent 3 hours figuring out why Clover would not boot when I disconnected the USB drive before I figured out that I need to manually add the EFI boot options.
Now you'll be able to boot directly from the El Capitan hard drive, as it should be!
Audio and Networking
If you're lucky, audio and networking will work right out of the box. If not, you're on your own from here. You'll need to research your exact hardware (by using System Information in Applications/Utilities) and searching Google to find the right kext or installer to make it work on El Capitan.
Clover Themes
The default Clover theme is pretty ugly (no offense). Check out this theme database to improve Clover's appearance.
This is YosemiteLogin by xenatt:
Enjoy!
Create Bootable Linux Flash Drive
That's it! Enjoy your new Hackintosh, and if you absolutely love it, consider buying a Mac!