# Clover Setup

## Installing Clover

Fire up your Clover install package. On the 3rd page of the installer **make sure to select your USB as the destination**. We also want to **Customize** the installation - as the defaults are pretty lackluster.

![3rd Page of the Clover Installer - Note the "Customize" button in the bottom left](https://3898623438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LNeoQ00Ei54s-gBJWoS%2Fuploads%2Fgit-blob-cfc2df18547f95eaed4cdc4f3377de62038b7f86%2FScreen%20Shot%202019-08-28%20at%207.20.46%20PM.png?alt=media)

The *usual* options you want to check in the Customize menu are shown in the following screenshots with an explanation of each after (**Note**: any non-Z370 300-series board will need *EmuVariableUefi-64* as well - it is located under *UEFI Drivers -> Additional drivers* in current Clover packages):

![Recommended Customization Settings](https://3898623438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LNeoQ00Ei54s-gBJWoS%2Fuploads%2Fgit-blob-d8a958f82b0049c68706a2fcbf109d3856938e6c%2FScreen%20Shot%202019-08-28%20at%207.21.14%20PM.png?alt=media)

* *Install Clover for UEFI booting only*
* *Install Clover to the ESP*
* Under *UEFI Drivers:*
  * *AptioMemoryFix* (the new hotness that includes NVRAM fixes, as well as better memory management)
    * **Note:** You can use *OsxAptioFix3Drv* located in *UEFI Drivers -> Memory fix drivers* if using the official Clover installer from SourceForge. Optionally, you can download the final release of *AptioMemoryFix* from [here](https://github.com/acidanthera/AptioFixPkg/releases)
  * *HFSPlus* (or *VBoxHfs*) - one of these is required for Clover to see and boot HFS+ volumes. If you see the option to enable it in the installer, make sure it's selected - if you don't see it in the installer, verify that one of them exists in your Clover installs efi drivers folder
  * *ApfsDriverLoader* - (Available in Dids' Clover builds - or [here](https://github.com/acidanthera/ApfsSupportPkg/releases)) this allows Clover to see and boot from APFS volumes by loading *apfs.efi* from the ApfsContainer located on block device (if using *AptioMemoryFix* as well, ensure you have R21 or newer)

***That's it.***

If you don't need FileVault, and are setting up a standard UEFI installation, these are the only entries you should need. You may find more than the above selected in the *UEFI Drivers* section and subsections - feel free to deselect any not listed. There are some that can even cause conflicts with other settings/kexts (Like [*SMCHelper-64.efi*](https://github.com/acidanthera/VirtualSMC/blob/master/Docs/FAQ.md)), so it's a good idea to run as lean as possible here.

*Where do they install?*

If you need to manually make changes to the efi drivers on your Clover installation (or just verify that you have what you need), their location may differ depending on your Clover version.

* Clover version up to r4982: `EFI -> CLOVER -> drivers64UEFI`
* Clover versions r4983 to r4985: `EFI -> CLOVER -> UEFIDrivers`
  * Will still use `EFI -> CLOVER -> drivers64UEFI` if the above is not found
* Clover versions r4986 to present: `EFI -> CLOVER -> drivers -> UEFI`
  * Will still use `EFI -> CLOVER -> drivers64UEFI` if the above is not found

## Copying Kexts

Once Clover has been installed, you'll see the EFI partition of your USB on the desktop - we want to navigate to `EFI -> CLOVER -> kexts -> Other` and copy the kexts we downloaded earlier there. Make sure you unzip the kexts before copying them over. Any *dSYM* files can be ignored, we only want the *.kext* files.

*But what about the 10.xx folders?*

When Clover is looking to inject kexts, the kexts in the *10.xx* folders are only injected if Clover determines that the folder name matches the booted OS version. There are very few kexts that are OS version-dependent though, and updating the OS while forgetting to migrate the kexts can leave you in an unbootable state. The kexts located in the *Other* folder will inject regardless of the detected OS version.
