Skip to content
This repository has been archived by the owner on Sep 17, 2018. It is now read-only.

Installing macOS

Alex James edited this page Mar 28, 2017 · 5 revisions

Formatting the USB disk

Using an existing install of macOS (on a Mac, Hackintosh, or virtual machine), download macOS Sierra from the App Store. Use Disk Utility to format the target USB drive as Mac OS X Extended (Journaled) with the GUID Partition Map, and name the drive "MacInstall". Make sure there are no other drives with this name, as they will be wiped by createinstallmedia.

Disk Utility screenshot

Copying the macOS installer files to the USB disk

Use createinstallmedia to copy the installer files to the target USB disk:

$ sudo "/Applications/Install macOS Sierra.app/Contents/Resources/createinstallmedia" --volume /Volumes/MacInstall --applicationpath "/Applications/Install macOS Sierra.app" --nointeraction

Erasing Disk: 0%… 10%… 20%… 30%…100%…
Copying installer files to disk…
Copy complete.
Making disk bootable…
Copying boot files…
Copy complete.
Done.

Installing Clover to the USB disk

Clone the repo and run tools/mkusb to install Clover to the USB disk's EFI system partition.

$ git clone --recursive https://github.com/theracermaster/Gigabyte-GA-Z77X-macOS-Install && cd Gigabyte-GA-Z77X-macOS-Install
$ tools/mkusb "/Volumes/Install macOS Sierra"

macOS installer ESP mounted at /Volumes/EFI.
Installing Clover to /Volumes/EFI...complete.

Your macOS installer should now be bootable.

The USB disk should now be bootable. Boot it, format your target hard drive/SSD in Disk Utility, and install macOS. Once the installation completes, boot your USB disk again, this time selecting your newly-installed macOS partition.