MacOS Installation Guide on PC

0
65

In our new hackintosh guide, we install Mojave, the latest version of macOS, on an up-to-date desktop PC.

A lot has changed on both macOS and hackintosh since we made the first hackintosh guide in 2013. The only thing that hasn’t changed is that Apple still uses Intel processors in the Mac ecosystem. Although the company will switch to its own ARM architecture processors in its laptop computers in 2020, there is still no alternative for x86 architecture processors for high performance on desktops. This means that unless there is a massive core increase in ARM processors, hackintosh will be among us in modern systems at least until 2025.

A Brief History of the Macintosh

The full name of Mac computers was Macintosh before Apple switched to the abbreviation Mac. In 1979, Apple employee Jef Raskin wanted to design an affordable computer that anyone could use. Raskin also wanted to name the computer his favorite type of apple, McIntosh , which was currently used by audio equipment manufacturer McIntosh Laboratory . Steve Jobs asked the company for permission to use this name, but was unsuccessful. As a result, in 1981 Raskin updated the nomenclature to Macintosh.

Macintosh computers used different processors developed by Motorola, Apple and IBM until 2005. But at the Developer Conference on June 6, 2005 , Steve Jobs talked about his plan to switch to Intel processors and showed an Intel system running Mac OS X version 10.4.1 in a modified Power Mac G5 chassis. This development would open the doors of a new world: Hackintosh. If Mac OS X can run on Intel-based Mac computers, why not Intel-based PCs?

The Hackintosh Age Begins

On February 14, 2006, a computer programmer with the pseudonym crg92 released the first Mac OS X 10.4.4 “hack” into the vast world of the Internet. In the hours that followed, Apple released the 10.4.5 update, but this update was also broken by the same programmer within two weeks. On April 3, 2006, Apple released the 10.4.6 update, but this version was cracked within two weeks and made available to non-Apple devices.

Although there were some difficulties in the future, developers and hackers were now making the new Mac OS X versions work on the PC in a short time. Finally, with the release of “Snow Leopard”, Russian hacker netkas created a version of the Chameleon bootloader that can run Mac OS X v10.6, thus ushering in a new era of installing Mac OS on PC.

At the point we have reached today, we can say that Chameleon has now been replaced by the Clover boot loader. Thanks to this bootloader, which supports both BIOS and UEFI, it is now much easier to install Mac OS X or new versions macOS on a PC. Most patches are instant and you can update your PC just like a normal Mac would.

macOS Compatible PC

In fact, today, almost every computer -whether it is an AMD processor or an Intel processor- can be installed with macOS with a little effort. However, if you want a smooth experience and extra features, it is useful to choose compatible components. At Technopat Social we have a category for hardware compatible with macOS . In this context, before buying a product, you can look at the issues or ask here whether the product you will buy is compatible. In this guide, we will use a 2019 model PC with a 9900K processor and Z390 chipset. There will still be components that don’t work inside, though: like the Intel Wireless-AC 9560 WiFi chip and the GT 1030 graphics card.

First, let’s take a look at the PC we’ll be using in this guide:

  • Intel – Core i9-9900K 3.6 GHz 8 Core Processor
  • Cooler Master – MasterLiquid ML240L RGB 66.7 CFM Liquid CPU Cooler
  • Gigabyte – Z390 AORUS XTREME EATX LGA1151 Motherboard
  • Corsair – Vengeance LPX 64GB (4 x 16GB) DDR4-3000 Memory
  • Samsung – 970 Evo 2TB M.2-2280 SSD
  • Samsung – 860 EVO 2TB 2.5″ SSD
  • Samsung – 860 EVO 2TB 2.5″ SSD
  • Toshiba – X300 8TB 3.5″ 7200RPM Internal Disk
  • MSI – GeForce GT 1030 2GB 2GH LP OC Graphics Card
  • Cooler Master E500L Chassis*

* The case is incompatible with the motherboard. If you are buying an EATX motherboard, choose an EATX compatible case.

Processor : The 9900K is the highest single-core Intel processor you can find on the market right now. Of course, you don’t have to use such a high processor. The AMD or Intel processor in your current computer will also be compatible. It is only worth mentioning that macOS is not an operating system that you can install to revive your old computer. If you have such a purpose, you can turn to Linux distributions designed for this job.

Motherboard: Even the latest chipset like the Z390 are now macOS compatible. Although Gigabyte is better in terms of brand, it can now be easily installed on ASUS and MSI motherboards.

SSD: You can install macOS directly on your M.2 SSD. In this way, you can enjoy high performance.

Graphics Card: One of the most important issues regarding macOS compatibility is the video card. Even though we used GT 1030 while assembling the system, Apple still does not allow NVIDIA to release macOS Mojave drivers. Although the new macOS version will be announced in June, you cannot use GT/X 1000 and RTX series graphics cards in Mojave. In this context, you will either use the iGPU in the processor or turn to AMD. Or if you insist on using GT/X 1000 series, you will install High Sierra.

We did not remove the GT 1030 from the system, but we enabled the Onboard GPU from the BIOS. Still, the video output is connected to the GT 1030 because the HDMI port on the motherboard is not working yet.

BIOS Settings

For macOS installation, you need to arrange a short visit to the BIOS. In most systems, you can make the PC to install macOS with two or three settings. The BIOS settings are a bit more, but don’t be intimidated, as we’ve also enabled Thunderbolt 3 in our guide. With your extensive list, the process is incredibly easy. You don’t have to be afraid for settings that are not in your BIOS either. You can skip that option.

Before making BIOS settings, our first recommendation is to update the BIOS to the latest version. The latest BIOS for the Z390 Aorus Xtreme was F5. We also updated our motherboard, which came with the F4 version, to the F5 version.

You can use Del/F2 keys to enter BIOS on Gigabyte, ASUS and MSI motherboards .

  • Switch to Classic Mode with F2
  • Save & Exit
    • Load Optimized Defaults
      • This is to reset the BIOS settings.
  • MYTH
    • Extreme Memory Profile (XMP) →  Profile 1
      • This setting is not essential, but if your memory is 3000 MHz and you want it to work at full performance, you can activate it.
  • BIOS
    • Windows 8/10 Features →  Other OS
    • CSM Support →  Disabled
      • After this process, Secure Boot should be disabled automatically. Still, check it out. With Secure Boot turned on, macOS will not boot.
  • Peripherals
    • Initial Display Output
      • Since IGFX > GT 1030 is not supported, we choose the internal GPU ( UHD Graphics 630) for the video output .
      • PCIe Slot 1 > If you have a compatible external video card -such as RX 580- make your selection according to the slot where the card is inserted.
    • Thunderbolt(TM) Configuration
      • Security Level →  No Security
        • After this change, the BIOS will ask you if you want to save the settings and exit. Continue by saying No.
      • Discrete Thunderbolt Configuration
        • Thunderbolt USB Support →  Enabled
        • GPIO3 Force Pwr →  Enabled
    • USB Configuration
      • XHCI Handoff →  Enabled
        • We can say that it is one of the most important settings for Hackintosh. We enable this for operating systems that do not support relinquishing control of USB ports.
  • chipset
    • Vt-d →  Disabled
      • You can now turn off advanced virtualization, although not necessarily.
    • Internal Graphics →  Enabled
      • We activate the UHD Graphics 630 internal GPU with this setting.
    • Above 4G Decoding → Enabled
      • Since macOS supports 64 Bit, it is not necessary to activate it. Let’s get our job done though.
  • Save & Exit
    • Save and Exit > Yes
    • Here you can see a list of all the changes you have made. After confirming, the system will reboot. It may take a while to boot up as we have XMP enabled.

Since we are giving the video output to the internal GPU, we may not be able to get video from the external video card here. In this case, you can use the HDMI or Thunderbolt 3 ports on the motherboard.

HDMI warning : The HDMI ports on the motherboard connected to the Intel GPU do not work under macOS without a patch. The patch also varies from motherboard to motherboard. We will specifically disable the iGPU under macOS until patching. If you are using an external video card or DisplayPort, you do not need to heed this warning.

Prepare the macOS Mojave USB

Now that we have made the BIOS settings, we can proceed to the installation. For this, we need a USB memory of at least 8 GB and, naturally, the macOS version.

Requirements :

The downloaded file will be directly RAW. At this stage, you can run Win32 Disk Imager, select the image and write it to your USB memory by clicking Write.

At the end of the process, your USB memory will be divided into two drives. You will not have access to any of these sections. The other one will have Clover Bootloader and necessary files.

To restore your USB stick later, you can run Rufus and write Freedos into it. This action will clear your memory.

Running PC from USB

You have three options for running your computer from USB stick:

  • If the device does not have any operating system, it will already boot from USB.
  • You can enter the BIOS and put the USB stick first.
  • You can open the boot menu and select the USB memory from here.

Of course, the third option is the best and most secure of these three options. For this, you need to know your motherboard’s Boot Menu key:

  • ASUS: F8
  • MSI: F11
  • Gigabytes: F12
  • For all other makes/models

While the PC is booting, we press the Boot Menu button several times and select the memory with UEFI in front of the menu that appears and press Enter – or Z390 Aorus Xtreme users can also choose with the mouse.

Config Selection

We booted our PC from the USB stick and reached the Clover screen. Now we are one step closer to installing macOS, but before starting the installation we need to choose a configuration.

In the past, a ready-made Config was selected as soon as you booted from the USB stick, but we put an end to it as it is not compatible with every system. Now you need to choose a Config suitable for your system.

For this, you follow the Options > Configs path. Here you will find four different Configs:

  • config_amdfx_config: AMD FX processors (like FX 8xxx)
  • config_amdzen_config: AMD Zen processors (like Ryzen, Threadripper & Athlon 2xxGE)
  • config_intelmobile_config: Intel laptops etc. for systems with mobile architecture
  • config_intelpc_config: For Intel desktops

We select the Config file suitable for our system and press Enter. At the end of the process, we press Esc twice to return to the main menu.

Here you will see a list of drives you can boot from. We select the entry with the SS USB icon on it and click Enter. It says Boot macOS Install from kealOS [Version Information] under it .

Errors, Errors…

Life is not rosy. Hackintosh too. That’s why we’re going to share with you the mistakes we’ve encountered in this guide, so you’ll be better informed about what to do when you hit a wall in a similar situation.

When we choose USB and want to boot, we first run into this error:

OsxAptioFixDrv: AllocateRelockBlock(): can not allocate relocation block (0x19C3C pages below 0x100000000: Not found

To solve this error, we make a small addition to the bootstrap parameters: slide=0 . This command sets the base address for the kernel. Required to boot on American Megatrend UEFI systems.

EndRandomSeed?

We fixed the previous error with a single command. Then we can proceed to the installation. We select our USB stick and press Enter again and boom! One more mistake. This time we are getting EndRandomSeed error. The reason for this error is the OsxAptioFixDrv-64.efi driver.

This driver is responsible for correcting the memory map created by the AMI Aptio EFI. Otherwise it is not possible to open macOS. But this driver may also need to be updated. After we made the guide, the new version of macOS 10.14.5 was released and the images were updated accordingly. While we have updated the image, we have also updated our OsxAptioFixDrv-64.efi file with the version that will not cause any problems. Then you can copy the downloaded driver from under Windows or macOS to the EFI \ CLOVER \ drivers64uefi folder in the memory. Delete the other drive in the folder or overwrite the existing drive.

macOS Uninstallable Warning

Finally, we left these two errors behind and now we can start the installation. At the beginning of the guide, we stated that we did not disassemble the GT 1030. However, since the card is not supported by macOS, we do not want to have problems and we need to disable the NVIDIA drivers before booting. For this, while USB is selected;

  • We press the spacebar.
  • From the menu that opens, we select the Set NVIDIA to VESA (nv_disable=1) option.
  • Now we can start the installation by going back and pressing Enter!

We are moving towards the loading screen. …and one more mistake. A warning sign and mixed text on the screen. This problem is usually caused by the installation not being able to read data from the USB stick.

  • Restart the computer at this stage.
  • Boot from USB again and start the installation again.
  • This time, remove the USB stick from the PC at the point where it is plugged in and plug it into another port.

We can say that you will no longer experience this problem in the new 10.14.5 version because we have included the USB patch directly in the Config file in this version. We will have a separate guide for powering USB ports though.

Installation Begins: Format Disk

We overcame all the errors and finally reached the installation screen without any problems.

  • First of all, we select the language and proceed.
  • When we click on the window with the mouse on the next screen, a menu will appear above.
  • From this menu, we call Utilities > Disk Utility.
  • When Disk Utility opens, click Show All Devices from the Display menu on the left.
  • Now we choose the disk on which we will install. In our example this is the Samsung 970 EVO M.2 SSD
  • We press the Delete button and first give a name to the disc from the menu that appears.
    • We named it Mojave.
    • Format: Mac OS Extended (Journaled)
    • Layout: GUID Partition Map
  • After making the necessary selections, we click Delete.
  • After the process is completed successfully, we close Disk Utility and click Continue on the setup screen.
  • We accept the contract by saying Resume.
  • At this stage, we select our Mojave disk and start the installation by clicking Continue.

First Opening

After the installation is finished, we boot from USB again because there is still no boot loader to the hard disk. This time, we come across multiple options and since we will no longer be installing, we choose the installed macOS version, not the USB memory.

  • We press the spacebar.
  • Again, we select the Set NVIDIA to VESA (nv_disable=1) option from the menu that opens.
  • With Boot macOS from Mojave selected, we press Enter.
  • At the first boot, you may not be able to select the country on the Welcome screen like us. In this case, restart the computer, disable the NVIDIA drivers again and say Boot macOS from Mojave.

Another issue you may encounter here is the blank Clover screen. To solve this problem, you can shut down the computer and boot from USB again.

  • We finally arrived at the country selection screen! We choose Turkey and say Continue.
  • We select the Turkish Q Standard keyboard and click Continue again.
  • We read the information on the Data and Privacy screen and click Continue again.
  • Since we will not transfer any information, we say Continue with the option to transfer information currently selected.
  • We’ll set up the Apple ID later. In this context, we call it Set and Skip Later.
  • We take the next step by saying I Accept the Terms and Conditions.
  • We give our account a name and a username.
  • In the next step, click Customize Settings > Enable Location Services on This Mac and Resume.
  • We also want to send the crash data to Apple and we say Continue.
  • We also choose between Dark or Light Mode and we reach the macOS Mojave screen by saying Continue.
  • On the keyboard screen that appears, we say Continue and press the key next to the Shift key on the left to define our keyboard. It will be defined as ISO (Europe). We finish the process by saying Done.

Clover Bootloader Installation

We need Clover Boot Loader to run macOS on PC. I believe you have already grasped this by this stage. The USB stick had Clover. In order to open macOS on PC, we need to install Clover, which will fire it. For this, we simply need to copy Clover from the USB stick to our SSD. We will copy Clover to the EFI partition on the SSD. Since this section is hidden, let’s reveal it first:

  • We follow the path KEALEFIMJV > kealOS_FILES_DOSYALAR on the desktop.
  • We run the Clover Configurator and come to the Mount EFI tab.
  • Here we click on the Mount Partition option on the right of the disk with Current Boot Disk on it and enter our password.
  • When the partition is placed, the Open Partition option appears, we click on it.
    • Here we come across the EFI folder. We open the folder and get this window to the left.
    • Now we enter the EFI folder on the USB stick and take it to the right.
    • Copy the BOOT and CLOVER folders and paste them into the EFI folder on the left.
  • Congratulations, you can now run PC without USB. You’ve completed the first step of Hackintosh!

Enabling Intel GPU

  1. Run Clover Configurator, first mount the EFI partition by saying Mount EFI.
  2. Click File > Open and open the Config.plist file under EFI\EFI\Clover.
  3. Switch to the Devices tab. Here we need to enter the code of our processor in the IntelGFX section. We can learn this code from Intel’s ARK page. For this, we can search by typing our Processor model + ARK. We enter Intel’s ARK page among the results.
  4. At the bottom of the page you will see the device ID phrase. We copy this. For 9900K, this value is 0x3E98
  5. Now we paste this value in the IntelGFX section in Clover Configurator and add 8086 at the end. So our code becomes 0x3E988086.
  6. Now we go to the Graphics tab and here we come to the ig-platform-id section and select the code that is suitable for the GPU in the processor we are using. For 9900K, this value is 3E9B0007. If you make a mistake here, it’s not a big problem, you can change it later.
    • Device ID 0x3E9B and Platform ID 0x3E9B0007 are available for most Coffee Lake desktop processors.
  7. Finally, we make sure that Inject Intel is also selected and save the changes we made by clicking File > Save.
  8. At this stage, a problem arises: the HDMI and DVI ports of your motherboard will stop working when the graphics card driver, which works without problems, is activated. In this case, you have two options before starting the computer: Connecting the monitor to a working port on the motherboard (eg DisplayPort) or using an external video card and connecting the monitor to the external video card. If you are going to use an external video card, it is useful to set the Initial Graphics setting in the BIOS according to the slot where your video card is installed. For example, in the top x16 slot, set this setting to PCIe 1 Slot. We installed and ran the GT 710 compatible with macOS to the system. If you wish, you can take images with the Type-C output on the motherboard without using an external video card.
  9. If we have solved this problem, we can now restart our computer.

Let’s Connect to the Internet!

There are two Ethernet controllers on the computer we install:

  • 10 Gbit Aquantia AQC107: macOS directly supports it.
  • 1 Gigabit Intel I219: Works with IntelMausiEthernet driver.

IntelMausiEthernet is available in USB. In this context, no matter which port you plug the Ethernet cable into, you are ready to connect to the Internet.

If you want to attach a wireless network adapter to your PC.

Operating the Sound Card

There has been a lot of improvement since the initial Hackintosh installation. The audio driver can now survive Apple updates. Here we also use VooDooHDA, a generic audio driver. If you wish, you can download the current version here: VooDooHDA

  • First, we open the EFI\Clover|kexts\other folder on the SSD and move the window to the left of the screen.
  • Now we open the KEALEFIMJV\kealOS_FILES_DOSYALAR folder on the desktop.
  • Double-click the VoodooHDA.kext-2.9.0d10.ZIP file located here.
  • Copy the resulting VooDooHDA.kext driver to the EFI\Clover|kexts\other folder in the left window.

Boot Without USB

We copied Clover, also provided the sound card and Internet access. If our system is ready to boot without a USB stick, it’s time to do it. While doing this, let’s put our SSD in the first place.

  • We turn off the computer and enter the BIOS with Del.
  • We come to the BIOS tab and here we highlight Boot Option #1 and press Enter.
  • Select the UEFI OS (Samsung SSD 970 EVO 2TB) entry.
  • We save this setting with F10 and restart our computer.

Yes, we will now have a Clover boot screen with only one or two options if Windows is installed. You can run Mojave from the SSD by saying Boot macOS from Mojave.

Let’s See the Apple Logo

“Are we going to see those articles in every opening?” First of all, those articles are there when a standard macOS is opened, but you do not see it. You can see similar articles on Mac when you turn on Verbose mode. Our purpose in seeing the articles is to easily detect any errors. Now that our system boots without any errors, we can turn it off.

  • We run Clover Configurator and mount the EFI partition.
  • Open the Config.plist under EFI\Clover.
  • We come to the Boot tab and here we select the phrase that says -v and delete it with the minus button on the right.

Let’s not have to say Boot from macOS Mojave at every boot.

  • First, we set the waiting time on the right with the Timeout value. You can do this for as many seconds as you want. We did 3.
    • If you wish, you can choose the Fast value and bypass the Clover screen completely.
  • Then we enter the name of the disk to be selected for automatic boot in the Default Boot Volume section. When we name this disk Mojave, we write Mojave here .
  • Finally, we save the changes we made by clicking File > Save.
  • We restart our computer and now macOS opens directly.

iCloud

One of the frequently asked questions is whether iCloud is working or not. Yes, iCloud works fine, but it requires a few minor tweaks.

First of all, if iCloud is not working, you will get the Account limit reached and Account limit expired errors when you try to log in. A little cleaning and a few tweaks from within Clover Configurator are all it takes to fix this issue.

  • We open the Clover Configurator and come to the Mount EFI tab.
  • We click on the Mount Partition button on the right of the disk that says Current Boot Disk among the disks here.
  • Now we open the Config.plist in EFI\Clover and come to the SMBIOS tab.
  • Here you will see a serial number in the System tile. We create a new serial number with the Generate New button at the bottom .
  • We go to the RT Variables tab and here we say Generate for the ROM section.
  • Now we copy the MLB value in the Info box below and paste it into the MLB box above.
  • Click File > Save to save the changes we have made.

In the next step, we need to do a cleaning. For this, we enter the drive where macOS is installed.

  • Open the Library\Preferences\SystemConfiguration folder.
  • Here we delete all files except com.apple.boot.plist and restart our computer.
  • You can now seamlessly log into your iCloud account under System Preferences > iCloud.
  • In the next step, you can choose the iCloud apps you want to use or not.

Dual Boot

Let’s talk about this issue while you have macOS installed. Windows 10 1903 is installed on one of the SATA SSDs in the system. Clover bootloader detects and lists the Windows partition during boot. In this way, Dual Boot works automatically. If you wish, you can also switch to Windows 10 by intervening with the keyboard during three seconds. You can even make Windows 10 the operating system that opens by default.

There is a small problem with Dual Boot systems. While Microsoft still uses the older Greenwhich time, Apple’s new Universal Time (UTC) causes the time to be incorrect when switching between these two systems.

When you run the Universaltimefix.reg file under Windows 10 and accept its contents to be added to the Registry, you will now have overcome this problem.

Formatting Disks

You can see that Mojave gives us a warning that the two inserted disks are not readable by the computer. This is because there are unformatted SSDs in the system.

  • We open Disk Utility to format these disks with the file system we want by saying initialize.
  • Click on Show All Devices from the left Display section.
  • Now we select the disk we are going to format and set the file system:
    • Name: We named it SSD Storage because we will use it for storage.
    • Format: We chose exFAT to be able to write data to discs under both Windows and macOS.
      • You can do NTFS if you wish. You can install this software to write to NTFS discs under macOS: Paragon NTFS for Mac
    • Layout: The GUID Partition Map is the most current, UEFI-readable partitioning standard currently used by both Windows and macOS.
  • If everything is ok, we format our disk by saying Erase.

We have prepared our discs, but we want to see them on the desktop as well. For this;

  • Finder > Preferences > Show these items on desktop > Hard disks checkbox.

More Than Necessary

Americans have a saying, you know? “Going the extra mile” is an idiom that we can translate into Turkish as doing your best. Everything works fine, but still, let’s run a few tests and remove that password that keeps popping up.

  • Let’s test Sleep Mode first. Our PC goes to sleep without a problem and wakes up with the power button.
  • Let’s remove the password. For this, we open the Terminal by following the Launchpad > Other path and go to the following command:
    • sudo spctl --master-disable
    • We enter our password for the last time.
  • Under System Preferences > Security & Privacy, you can now see that Anywhere is checked in the Allow apps downloaded from section .

LEAVE A REPLY

Please enter your comment!
Please enter your name here