This article mainly documents the process of installing Hackintosh.
Here is the link to my EFI repository
Version Information
- MacOS 11.3.1
- Bootloader: OpenCore
Hardware Configuration
Component | Model |
---|---|
Motherboard | MSI B460M MORTAR Wifi |
CPU | Intel i5 10400 |
RAM | Kingston HyperX Fury RGB Memory 8GB * 2 2666MHz |
GPU | Intel UHD Graphics 630 (integrated with CPU) |
SSD | Corsair RC10 512GB * 2 |
Power Supply | ZHENHUA LEADEX G 550 |
Case | Patriot M2 White |
Cooler | Jonsbo CR-1000 White |
Function Testing
- Sleep/Wake
- All USB ports
- Hardware acceleration of integrated graphics
- Audio output
- Bluetooth
- Wi-Fi
- Time synchronization issue between Windows and macOS
Downloading and Creating USB Installer
- Download the macOS image
11.3.1
from Hackintosh Build. After downloading, use WinMD5 to check if the md5 value matches. This step ensures the integrity of the downloaded image. - Use
balenaEtcher
to create the installation image (run as administrator). - After the installation is complete, use the disk management tool
diskgenius
to replace theEFI
file on the USB drive with the appropriateEFI
file for your configuration.
BIOS Settings
- Set the USB drive as the first boot option.
Installing MacOS
- Enter the OpenCore boot page.
- Select
Install macOS Big Sur
. - Wait for the installation process to complete and enter the installation interface.
- Select Disk Utility and click on
Show All Devices
in the upper-left corner. - Select the disk where you want to install macOS, click Erase, and set the name as desired, format as
APFS
, and scheme asGUID Partition Map
. After erasing, go back to the previous screen and clickInstall macOS
. - Follow a series of prompts to complete the installation.
System Settings
Start by opening Terminal and entering the following commands:
sudo spctl --master-disable # Enable installation from any source on macOS
sudo kextcache -i / # Rebuild cache
If for any reason you modified certain drivers in /System/Library/Extensions/
or /Library/Extensions/
, use the following commands to rebuild the cache:
sudo chown -R root:wheel /System/Library/Extensions/
sudo chmod -R 755 /System/Library/Extensions/
sudo kmutil install --update-all
sudo kcditto
Moving the EFI File to the Disk
This step allows the system to boot from the disk instead of the USB drive. You can use Hackintool to complete this step. Mount the EFI partitions of both your disk and the USB drive, then copy the EFI folder from the USB drive to the EFI partition of the disk. Finally, remove the USB drive. With that, the Hackintosh installation is complete.
References: https://mp.weixin.qq.com/s/UNtxsMIaKISyH6uRNt0LzQ https://github.com/cheneyxx/Hackintosh-10400-B460M-MORTAR