[Guide] HP Z620 Workstation - 2x 8-Core Intel Xeon E5-2670 - 96GB RAM - AMD Radeon RX580


EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Messages
515
Motherboard
GIGABYTE Z370 AROUS GAMING 3
CPU
Intel Core i9 9900K
Graphics
2xAMD RX 580 8GB
OS X/macOS
10.14.6
Bootloader
Clover (UEFI)
Mac
MacBook Pro
Mobile Phone
Android, iOS
This is a complete installation guide to install macOS Mojave 10.14 on your custom built hardware featuring Supermicro X9DRL-3F paired with 2x 8-Core Intel Xeon E5-2670. The purpose of this guide is to provide a step-by-step guide to install Mojave using Clover UEFI.


Specifications

Motherboard: HP Z620
CPU: 2x 8-Core Intel Xeon E5-2670
RAM: 96 GB DDR3 1600MHz
Graphics: AMD Radeon RX580
Monitor: LG
SSD: WDC Blue 1TB SSD
Ethernet: Intel 82579LM
Audio: Realtek ALC262

Summary

What's works?

Graphics ✔
Ethernet ✔
HDMI (Audio)✔
Power Management ✔
iMessage ✔
FaceTime ✔
iCloud ✔
USB 2.0, and 3.0Ports ✔


Not working
Everything works so far.

Bootable Media Creation
To create a Bootable media for Mojave, follow the steps below.

1. Insert your USB Flash Drive and open Disk Utility. The Disk Utility is located at /Applications/Utilities/Disk Utility
2. Select your USB Flash Drive in the left pane and click on Erase button, at top.
3. A pop-up will appear.
4. Under Name type USB
5. Under Format select Mac OS X Extended (Journaled)
6. Under Scheme select GUID Partition Map, and click on Erase.
7. When done, click on Done.
8. Launch terminal, located at /Applications/Utilities/Terminal.
9. Copy and paste the following sudo command in terminal.
Code:
sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/USB
10. Enter your password
11. Press (Y) to confirm and then press enter key and it will start to erase the disk and will create macOS Bootable USB.

Once the process completes, close the terminal. The USB Flash Drive will be renamed as Install macOS Mojave.

Note :
  • At this point, the bootable USB can be only used to boot Mac only. In order to boot the computer using the USB, follow the steps below.

Install Clover Bootloader
The next step is to install the Clover Bootloader to your USB Flash Drive.

1. Download Clover EFI Bootloader.
2. Extract the Clover EFI bootloader installer package and right click on the .pkg file and select Open
3. By default, the Clover Bootloader will select the system drive i.e Macintosh HD. Simply click on Change Install Location and select your installation Drive i.e Install macOS Mojave.
4. Click on Customize and configure the following settings.
  • Install Clover for UEFI booting only
  • Install Clover in the ESP
  • Themes: Select any
  • Drivers64UEFI: AptioMemoryFix-64 and ApsDriverLoader-64
The rest necessary drivers will be installed automatically by default.

6. Confirm the above options and click on Install. When promoted, enter your password. The clover bootloader will be installed to your installation drive.
7. Once done, simply click on Close

After installing the Clover bootloader, the EFI partition should be mounted on your Desktop.

Notes :
  • Do not forget ApfsDriverLoader-64 to install.
  • With the use of AptioMemoryFix-64, you don't need to use EmuVariableUefi-64.
  • Do not install AppleKeyFeeder-64 from Drivers UEFI.

Now you’ve successfully installed clover and the required drivers on your USB.

Placing required kexts
In order to boot into the installation, you need to place the necessary kexts. Follow the guide below to place the necessary kexts.

Downloads

Notes :
  • Do not download the project files. The pre-built binaries/downloads are available in the README.md section. Make sure you read it carefully.
  • Download the latest version for better support.
  • Use the kext from Release folder.
Copy all the kexts from the release folder downloaded above.
Navigate to /EFI/CLOVER/kexts/Others/ and place all the 6 kexts (FakeSMC.kext, VoodPS2Controller.kext, USBInjectAll.kext, Lilu.kext, WhateverGreen.kext and VoodooTSCSync.kext)

Preparing Post Installation Tools
The next step is to place the required tools, kexts to the another Flash Drive which will help you in the post installation.

1. Insert your another USB
2. Format the USB with the following parameters
Under Name type Post Install
Under Format select Mac OS X Extended (Journaled)
Under Scheme select GUID Partition Map, and click on Erase.

When done, click on Done.

3. Copy the important tools such as DPCIManager, Clover Configurator, IOReg, MaciASL.
4. Copy Intel 82574L Ethernet kext so that you can have a working Internet connection on your build.

When done, simply eject your second Flash Drive.

Copy the Config.plist
I've written a guide to create a config.plist. Follow the guide below

1. Download the config.plist file from the above linked guide.
2. Open the config.plist file using Clover Configurator and do the following edits.

Go to Acpi tab and include the below patch.
Code:
Comment: Rename EUSB to EH01
Find* [HEX]: 45555342
Replace [HEX]: 45483031
Code:
Comment: Rename USBE to EH02
Find* [HEX]: 55534245
Replace [HEX]: 45483032
3. Go to Boot tab and select "npci=0x2000"
4. You need to set the SMBIOS to MacPro6,1. The rest will be same as in the config.plist sample.

UEFI Settings
To access your BIOS/UEFI, press and hold Delete key on your Keyboard and then set the following.

Set Optimized Defaults.
Set Intel(R) VT-d to Disabled.
Set VGA Priority to Offboard.
Set Serial Port to Disabled.
Set SOL Serial Port to Disabled.
Set Boot Mode Select to UEFI.
Save & Exit Setup.


Installation
Follow the steps below for the installation.

1. Turn on your PC
2. Press F12 to enter boot menu.
3. Select your USB Flash Drive with the UEFI prefix and press enter to boot.
4. When at Clover screen, select Boot macOS Install from Install macOS Mojave.
5. It will take couple of minutes to boot into installer screen. Once you reach the installer, select your preferred language and continue.
6. For a fresh installation, you must erase the drive you wish to install on. Follow the steps below to erase the destination drive.
7. On top, click on Utilities and then select Disk Utility.
8. When at Disk Utility, click on View and select Show all Devices.
9. Now select the SSD.
10. Make sure that you don’t select partition, select the Drive and click on Erase button.

Under Name type Macintosh HD.

Under Format select APFS.

Under Scheme select GUID Partition Map, and click on erase button.

Close Disk Utility

11. Select Install macOS and continue with the options.

12. Now select Macintosh HD and click on Install.
13. Upon completion, the system will automatically restart. The system may restart few times to complete the installation.
14. If the system restarts, select Boot macOS Install from Macintosh HD.

15. After installation, boot it using USB, but this time select Macintosh HD.
16. The first boot maybe slower as the caches are not build yet. Once the caches are built, it will boot normally.
17. When you're at the welcome screen, continue with the basics options such as Keyboard setup, Network, Computer Account and Privacy settings.

Now the installation is complete, but the drive isn't bootable yet. You need to configure the Post Installation


Post Installation
Now, configuring the Post Installation

The post installation is required to achieve the fully system functionality.
Typically, the post installation includes enabling boot from the system drive, Graphics, Network, Audio, and USB.

Boot from System Drive
This is one of the most important part as it allows to boot it using the system drive without any need of installation USB.
Mount the EFI Partition.

Be sure to mount both the EFI partitions of your Hard Drive and macOS Sierra Bootable USB. Both the EFI partition of your Hard Drive and USB Flash Drive will be mounted on your Desktop.

Assuming that you’ve mounted your EFI Partition, continue the following.

1. Open your EFI Partition of your Hard Drive.
2. Select EFI folder and then move to Trash.
3. Now open your EFI Partition of your macOS Sierra Bootable USB.
4. Now copy the EFI folder to your EFI Partition of your Hard Drive.

By using this method, You’ll able to install Clover Bootloader automatically to your Hard Drive.

Graphics
This build is having AMD RX580 Graphics Card. The GPU works out of the box.

Network
The motherboard uses Intel 82574L Ethernet Chipset. All you need to do is to install the kext and reboot the system in order to activate Ethernet. The downloads for Intel Ethernet is available in the downloads section.

Audio
The motherboard uses a Realtek ALC262 Audio Codec.
There are several ways to activate audio. I'm using Apple ALC to enable audio on this build. Follow the guide below to enable Audio.

Notes :
  • Use layout id=11 only. If you use any other layout, there maybe distortion with the Speakers or the Headphones.
USB Ports
There are two USB Chipset used by this motherboard. The default Chipset from Intel and the ASMedia for USB Type-C and Type-A. The ports works OOTB. All the USB ports are activated by default.
Use the guide below and add the patches to your config.plist.

Save your config.plist file

CPU Power Management
Now, the final step is to implement CPU power management for maximum performance.
Follow the guide below to implement the CPU power management for X79 motherboard.

Restart your System
After completing the post installation, restart your system.