The following guide is a complete installation guide for installing a fresh copy of macOS Mojave. The post-installation has been covered in another section. The required tools and downloads are available at the forum.

Before you start with this guide, here's are few requirements

A working Internet connection.

A 16 GB or larger USB Flash Drive.

A other USB Flash Drive of any size for the Post install.

A complete backup of your system. We advise you to perform a complete backup of your system along with the existing installation. In case something goes wrong, you can restore it using the backup you created.

To start with the guide, you'll also need to have access to fully functional computer running Mac OS X 10.7.5 or greater. This requirement is must as you need to access to Mac App Store in order to download a copy of macOS and create a installation USB Flash Drive later on. If you need to start from scratch, you can follow the guide here.

Download macOS Mojave
The very first step is to download macOS Mojave. The copy of macOS is available for free to download for anyone who has purchased Mac OS X Snow Leopard, Lion, or Mountain Lion or has a Mac with OS X Mavericks or greater. Download the copy of macOS from Mac App Store using your Apple ID on any Mac or functional computer running OS X 10.7.5 or later.

Here are the steps to download the copy of macOS Mojave

Open Mac App Store

Log in into App Store with your Apple ID

Find macOS High Sierra and start downloading macOS Mojave

Once the download is complete, it will appear in your Applications folder named as Install macOS Mojave.

Creating a Bootable USB Flash Drive with Createinstallmedia
The next step is to create a bootable installation drive. Follow the steps below to create the installation media.

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.

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 High Sierra

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. According to your system, either Legacy or UEFI, install the Clover Bootloader.
3. Extract the Clover EFI bootloader installer package and right click on the .pkg file and select Open
4. 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.
5. Click on Customize and configure the following settings.

For Legacy:
If you’re using a Legacy BIOS, then it’s recommended to install Clover as a Legacy. Configure the following options for Legacy BIOS.

Install Clover in the ESP

Bootloder: Install boot0af in MBR

CloverEFI: CloverEFI 64-bits SATA

Themes: Select any

For UEFI:
If you’re using a UEFI based motherboard, then it’s recommended to install Clover as a UEFI. Configure the following options for UEFI BIOS.

Install Clover for UEFI booting only

Install Clover in the ESP

Themes: Select any

Drivers64UEFI: AptioMemoryFix-64 and ApfsDriverLoader-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:

You need two additional drivers. HFSPlus.efi and apfs.efi

Without HFSPlus, you won't be able to see any HFS+ volumes including your installation drive.

If you're installing High Sierra, and using a SSD, the file system will be APFS File System. Without apfs.efi, you won't be able to see any bootable apfs volumes when macOS finishes installing.

With the use of AptioMemoryFix-64, you don't need to use EmuVariableUefi-64. If you're having issues when booting, use OsxAptioFix2Drv-64 or OsxAptioFixDrv-64.

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/10.14/ and place all the 3 kexts (FakeSMC.kext, VoodPS2Controller.kext and USBInjectAll.kext)

Notes:

Do not place unnecessary kexts here. It might prevent booting the installer.

Only use basic kexts which is required to boot off the installer. You can install the rest required kexts at the time of post-installation.

The FakeSMC package includes FakeSMC plugins which includes (FakeSMC_ACPISensors.kext, FakeSMC_CPUSensors.kext, FakeSMC_LPCSensors.kext, FakeSMC_GPUSensors.kext). You do not need these kexts for booting the installer.

If your SATA uses RAID mode instead of AHCI mode, you'll need to use a injector. This can fix no drives detected at Disk Utility.

If you have an unsupported SATA controller (8086:a103, 8086:9d03), use SATA-100-series-unsupported.kext. This will fix the above mentioned issue(No drives detected at Disk Utility).

Preparing Tools for Post Installation
The next step is to place the required tools, kexts to the another Flash Drive which will help you in the post installation. This will also benefit those users who don't have another system. Once the Internet connection is available, you can continue the process from the build itself.

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. Also, copy the Ethernet kext so that you can have a working Internet connection on your build.
5. Copy AppleALC, Lilu, or the VoodooHDA so that you can have a working Audio on your build.

When done, simply eject your second Flash Drive.

Setting Up BIOS
If you're installing on a desktop with AMI UEFI, the options are simple. For other systems using a different vendor, make sure to set your BIOS or UEFI to Optimized Defaults, and the SATA Mode to AHCI.

Set X.M.P. Memory Profile to Profile 1 (Optional, if using a High Frequency RAM).

Set Windows 8/10 Features to Other OS.

SetNetwork Stack to Disabled.

Set Secure Boot to Disabled.

Set Intel Platform Trust Technology (PTT) to Disabled.

Set XHCI Hand-Off to Enabled.

SetSATA Mode to AHCI.

Set Internal Graphics to Auto.

If your system has a VT-d Option, Disable it.

If your system has Intel Virtualization Technology, Enable it.

If your system has Serial Port, Disable it.

If your system has Parallel Port, Disable it.

If your system has Fast Boot Option, Disable it.

Save & Exit Setup.

Note :

If you're using a external Graphics Card for your build, such as NVIDIA or AMD GPU, set Initial Display Output to PCIe Slot 1.

Install macOS Mojave
After setting up BIOS, the next step is to install macOS Mojave. Follow the steps below for the installation.

1. Turn on your PC
2. Press F12 to enter boot menu. The boot menu key may not be same for all. If you're having a ASUS Motherboard, use F8, use F11 for MSI and AsRock Motherboards).
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 High Sierra.
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 your Hard Drive or SSD on which you want to install macOS Mojave.
10. Make sure that you don’t select partition, select the Drive and click on Erase button.

Under Name type Macintosh HD (You can rename it later on).

Under Format select Mac OS Extended (Journaled).

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 your Drive on which you want to install macOS Mojave i.e 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 or (Your drive name)

15. After installation, boot it using USB, but this time select Macintosh HD or (Your drive name).
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
After installation, Post Installation needs to be performed. 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.

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

Note :

For few Legacy Systems, you may need to install Clover Bootloader.

Graphics
Depending on the Graphics your system uses, either Intel HD Graphics (integrated), NVIDIA or AMD Graphics, follow the guide here to enable Graphics. Few Graphics have certain requirements. Make sure to follow the guide carefully.

Network
Depending on the Network Chip (Ethernet), your system uses, follow the guide here. The required files can be downloaded from the downloads section.

Audio
Depending on the Audio Codec your system uses, either Realtek, VIA, Conexant, or Sound Blaster X, follow the guide here to enable Audio on your build. The required files are available in the download section.

After completing the post-installation, restart your system and you would be running macOS Mojave on your build. If you encounter any issue, post your queries in the appropriate section.

Troubleshooting and further System Optimizations
After completing the guide, few things such as Power Management, HDMI Audio, may not work by default. Here's a list which will serve in fully optimizing your system after this guide. This list will be updated from time to time.

I've been able to successfully get Mac OS Mojave installed on my Dell Optiplex 3020. I am however missing a few things that I just can't figure out.

1. How to make it boot from the internal HDD.
2. How to get the NIC installed. In fact, at the Welcome Screen, it kept coming back to it reboot after reboot until I selected the option to say that the computer would not be on the Internet.