How to Install OS X Mavericks using Clover

Clover is a new and exciting open source EFI bootloader. Developed over the past 2 years by a group of developers at Project OS X led by Slice, Clover aims to solve problems inherent in existing OS X installation methods and legacy bootloaders:


  • Boots troublesome desktop and laptop BIOS/UEFI
  • Uses native OS X installation media
  • Ability to patch DSDT/kernel/kexts at boot time
  • Creates OS X Recovery partition
  • No boot0 error with 4K Advanced Format drives
  • Solves multi-boot issues with Linux and Windows 7/8
  • Solves traditional bootloader NVRAM issues related to iMessage/FaceTime

Clover has a completely different system of configuration with a decidedly steep learning curve. It can be confusing for those who have only ever used the more traditional Chameleon or Chimera.

Clover is also in beta stage, and is not guaranteed to work well for all systems. Development has been fast and furious, with many major changes appearing in the code all the time. Clover can be a moving target, difficult to pin down- almost, it seems, by design. Recent changes, however, have stabilized things enough to be a reliable alternative for those adventurous enough to learn something new.

Overview
1. Download the OS X Mavericks Application from the Mac App Store
2. Prepare a Installer USB flash drive
3. Install OS X Mavericks
4. Install the bootloader and drivers to system drive


STEP 1: Download OS X MavericksName:  buyOSX.png
Views: 2086
Size:  21.1 KB
The full operating system is a free download for anyone who has purchased Mac OS X Snow Leopard, Lion, or Mountain Lion. Download the Application from the Mac App Store using your Apple ID on any Mac or functional computer running Mac OS X 10.6.8 or later.

1. Open Mac App Store
2. Log in with your Apple ID
3. Download OS X Mavericks

The Application Install OS X Mavericks will appear in /Applications.


STEP 2: Prepare Bootable USB Drive
This step extracts the OS X Installer contents, then installs Clover bootloader to the USB stick.

1. Insert the USB drive
2. Open /Applications/Utilities/Disk Utility
3. Highlight the USB drive in left column
4. Click on the Partition tab
5. Click Current and choose 1 Partition
6. Click Options...
7. Choose GUID Partition Table
8. Under Name: type USB (You can rename it later)
9. Under Format: choose Mac OS Extended (Journaled)
10. Click Apply then Partition
11. Open /Applications/Utilities/Terminal
12. Type the following, enter password and hit enter. This command completely erases the USB, then creates native OS X installer media from the Install OS X Mavericks Application.

Code:
sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ OS\ X\ Mavericks.app --no interaction
Upon completion, the USB will be renamed Install OS X Mavericks.
13. Download the latest version of Clover from sourceforge
14. Open Clover package installer
15. Hit Continue, Continue, Change Install Location...
16. Choose the USB, now called Install OS X Mavericks
17. Hit Customize and install Clover to the same USB with the following Custom Install settings:


(Legacy Mode)

Click image for larger version. 

Name: UEFI.jpg 
Views: 1952 
Size: 75.6 KB 
ID: 86375
(UEFI Boot Mode)

NOTE: There are a few different ways to setup Clover on the USB. Using Legacy Mode is the simplest and most reliable for 5, 6, 7, and 8 series Gigabyte motherboards with standard default BIOS or UEFI settings. For all other UEFI-based systems such as Asus 7 and 8 series motherboards, use UEFI Boot Mode to install to the EFI partition of the USB for UEFI booting only.

A few more changes need to be made to the default Clover installation:

20. Navigate to /EFI/CLOVER/ and replace default config.plist with attached config.plist*
21. Navigate to /EFI/CLOVER/kexts/10.9/ and add FakeSMC.kext
22. Navigate to /EFI/CLOVER/kexts/10.9/ and add your ethernet kext
23. Navigate to /EFI/CLOVER/kexts/10.9/ and add NullCPUPowerManagement.kext
24. Navigate to /EFI/CLOVER/drivers64UEFI/ remove VBoxHfs-64.efi and add HFSPlus.efi
25. (Optional) Navigate to /EFI/CLOVER/ACPI/patched/ and add DSDT.aml and SSDT.aml

*See attached config.plist for a working minimal configuration.


Name:  mavslogo.jpg
Views: 2071
Size:  3.3 KBSTEP 3: Install OS X Mavericks
Unlike UniBeast, this is a 3 part installation process. The system will reboot twice in order to finish the installation and the recovery partition.

1. Turn on the computer
2. Press the hotkey to choose boot device
3. Choose USB

If using a USB 3.0 port, the boot manager screen may appear, at which point proceed with steps a-b.

a. Choose Boot Manager
b. Choose EFI USB Device

4. When Clover boot screen is visible, choose Boot OS X Install from OS X Install OS X Mavericks
5. The system will then boot into OS X Installer
6. For a new installation of OS X, you MUST erase and format the destination drive according to the following steps before continuing. If you are upgrading from Snow Leopard, Lion, or Mountain Lion and you want to keep your files and apps, skip steps a-j.

a. Choose Disk Utility
b. Highlight your target hard drive for the Mavericks installation in left column.
c. Click Partition tab
d. Click Current and choose 1 Partition
e. Click Options...
f. Choose GUID Partition Table
g. Under Name: type Mavericks (You can rename it later)
h. Under Format: choose Mac OS Extended (Journaled)
i. Click Apply then Partition
j. Close Disk Utility

7. When the installer asks you where to install, choose Mavericks, or your existing install.
8. Upon completion, system will restart a 1st time
9. Press the hotkey to choose boot device
10. Choose USB
11. When Clover boot screen is visible, choose Boot OS X Install from OS X Install OS X Mavericks

The system will boot into the new drive, create the recovery partition, and complete the installation. Upon completion, system will restart a 2nd time.

12. Press the hotkey to choose boot device
13. When Clover boot screen is visible, choose Mavericks
14. The system will launch OS X Setup


STEP 4: Post-Installation
At this point, the easiest way to proceed is to install the bootloader, grab backups from the root of your USB drive, and copy the files that worked directly to the system drive's EFI partition. However, getting post-installation 100% right for your system is something that needs to be done on a case by case basis. No single Clover setup will work perfectly for every system. For best compatibility, it is recommended that the EFI partition also be reformatted to FAT32 instead of default HFS.

1. Open /Applications/Utilities/Terminal
2. Type: diskutil list and locate your system drive's EFI partition. It will be under IDENTIFIER. Be sure to use the correct one. (For this example: disk0s1)
3. Type the following, enter password and hit enter:

Code:
sudo newfs_msdos -v EFI -F 32 /dev/rdisk0s1
4. Download the latest version of Clover from sourceforge
5. Install Clover to Mavericks with the following Custom settings:
Click image for larger version. 

Name: Screen Shot 2014-02-25 at 7.41.25 AM.jpg 
Views: 2021 
Size: 43.9 KB 
ID: 84570
Click image for larger version. 

Name: UEFI-2.jpg 
Views: 1953 
Size: 76.8 KB 
ID: 85865
(Custom Install: UEFI-Capable Systems)

Click image for larger version. 

Name: BIOS-2.jpg 
Views: 1940 
Size: 77.4 KB 
ID: 85867
(Custom Install: BIOS-Only Systems)

These settings will install the bootloader to the system drive's EFI partition automatically as part of the scripting. After completion, the system drive's EFI partition will automatically mount.

A few more changes need to be made to the default Clover installation:

6. Navigate to /Volumes/EFI/EFI/CLOVER/ and edit config.plist
7. Navigate to /Volumes/EFI/EFI/CLOVER/kexts/10.9/ and add FakeSMC.kext
8. Navigate to /Volumes/EFI/EFI/CLOVER/kexts/10.9/ and add your ethernet kext
9. (Optional) Navigate to /Volumes/EFI/EFI/CLOVER/ACPI/patched/ and add DSDT.aml and SSDT.aml

See attached config.plist for a working minimal configuration. For more details and documentation navigate to /EFI/CLOVER/doc. To help navigate the config.plist and add a system definition, check out Clover Configurator. For a GUI to mount/unmount EFI partition, see EFI Mounter v2.

You've reached the end of the universal setup guide. If you have issues, please create a support thread in the Desktop Support or Laptop Support forums. Special thanks to toleda and Going Bald for their testing and comments during the making of this guide. Good luck!

Click image for larger version. 

Name: mavs mb.jpg 
Views: 1861 
Size: 202.1 KB 
ID: 86771

Clover Developers:
Slice, with help of Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr…

Source code credits:
Intel, Apple, Oracle, Chameleon, rEFIt and Xom.

This guide was tested on the following systems:
Gigabyte GA-Z87X-UD7-TH - i7 4770K - GeForce GTX 770
Gigabyte GA-H87N-WIFI - i3 4340 - HD 4600
Gigabyte GA-Z77X-UP5-TH - i7 3770 - Radeon HD 7970
Gigabyte GA-H67N-USB3-B3 - i3 2105 - HD 3000
Gigabyte GA-P55M-UD2 - i5 750 - GeForce 9400 GT
Gigabyte GA-X58A-UD7 - i7-920 - Radeon HD 5770
Asus Z87I Deluxe - i7-4770K - HD 4600/Radeon HD 7750
Asus P8Z77-I Deluxe - i7-3770K - HD 4000/GeForce GTX 570
Asus P8H67-I Deluxe - i5-2605S - HD3000/GT 640
 

Post a Comment

2 Comments