Create bootable macOS mojave installer on windows 10

Last Updated: Wed Jul 15 2020
featured

In the past few years, the Hackintosh community has grown pretty fast and is still growing rapidly. Most of the people prefer macOS over windows when it comes to running productivity software, as they are more stable and some apps are available for macOS only. While creating a bootable macOS installer is a very straightforward and easy process but it can only be created from a macOS. Most of the people who want to build a Hackintosh don’t own a mac making building a Hackintosh a dream. In this tutorial, I will show you how you can install macOS Mojave on pc without having a mac.

Coming to macOS Mojave, it was launched by Apple in WMDC 2018. macOS Mojave brings the most awaited dark mode, along with many several new features as well as improvements to existing features. In macOS Mojave, Apple made APFS conversion enforced whether you are using SSD or HDD.  In high sierra, there was an option through which you could avoid APFS conversion, but it was removed in macOS Mojave.

Download the required files.

Note: A USB drive with size 8gb or more is required to follow this tutorial.

Before starting the tutorial, download the required files to create the USB installer.

  1. Download macOS Mojave DMG (Mega.nz)
  2. Transmac

Extracting the DMG to the USB drive.

1. Install transmac and open it as an administrator.

2. Plug in your USB drive

3. Select the USB drive from the side menu and right-click it and then select “format disk for mac”.

Please note that this step will erase the USB drive

4. Again right-click the drive and select “restore with disk image”, select the macOS Mojave DMG file when prompted.

Now sit and relax as this will take some time like 10-20 minutes depending on the speed of the drive.

Note: After the restoration process is finished, Windows may prompt you to format the USB drive as HFS file system is not supported in Windows. Cancel the prompt.

Related:  Install macOS mojave 10.14 on VMware on windows

Installing Clover

Now that the DMG is fully extracted into the USB we can now proceed to install clover. I have not included clover in the DMG as it gets outdated quickly and as now clover provides zip file option, you can now install it from windows without much hassle.  Alternatively, you can use opencore bootloader instead of clover, but in this tutorial, we will use clover since it is easy to install and setup as compared to opencore.

At first download the latest clover zip from their official GitHub release page. Extract the zip and copy all the contents into EFI volume (In USB).

Clone or download the config files Github repo of rehabman, it contains config files for intel processors, these config files contain basic configuration, any device-specific patches that are required by your device to boot the installer should be enabled by yourself. According to your CPU architecture select a config file and rename it to “config.plist”. Then copy and replace the file to clover folder inside EFI (USB).

The latest versions of clover are shipped with all the drivers that are required to boot macOS. Some of the drivers are kept in the off directory which means they are disabled by default. To enable them you just need to copy the files from drivers/off/UEFI/* to drivers/UEFI. Some of the drivers you need to copy:

Since most of the modern motherboard uses UEFI, you only need to copy the files from and to UEFI.

1. FileSystem -> ApfsDriverLoader.efi, VBoxHFS.efi

2. MemoryFix -> OsxAptioFix3Drv.efi

In some rare cases, clover may not show APFS drives, which means that due to some reason ApfsDriverLoader is not working. You can use APFS.efi driver which is basically same but unlike ApfsDriverLoader which loads the apfs drives from macOS system, it contains the driver in itself.

Now the drivers are all set up, lets now install the required kexts. In order to boot the installer, you need to install the required kexts only. Any unnecessary kexts may cause a kernel panic and stop the installer from booting. The kexts we are installing are the most basic requirement for booting the installer. However, your device may need some additional kexts for it to install properly.

Download the following kexts:

1, FakeSMC.kext

2. VoodooPS2.kext

FakeSMC is the most essential kext for booting the macOS Mojave installer without it you will never boot, VoodooPS2 is for making keyboard and mouse working.

Any other required device-specific kexts should be also downloaded any installed. Remember that you should not install any unnecessary kexts.

Copy the downloaded kexts into EFI/EFI/CLOVER/Kexts/others/

Installing macOS Mojave

Now that the macOS Mojave installer is finished and ready to install on your device.

If you wish to dual boot macOS Mojave with windows 10 we have a very detailed guide to help you out!

Some Post installing guides you might want to check out:

How to make Intel WiFi work in macOS

Beginner’s guide to patch DSDT in Hackintosh

Beginner’s guide to fixing audio on Hackintosh

Comments

No comments