Installation Overview
Installing macOS on non-Apple hardware involves several key steps. This guide will walk you through the entire process, from creating your installation media to booting into your new Hackintosh for the first time.
Prepare Installation Media
Create a bootable USB drive with macOS and OpenCore
Configure OpenCore
Set up the config.plist file for your specific hardware
Configure BIOS/UEFI
Adjust your motherboard settings for compatibility
Install macOS
Boot from the USB and install macOS on your drive
Post-Installation
Fine-tune your system for optimal performance
Prerequisites
Before starting the installation process, make sure you have the following:
Compatible Hardware
Ensure your hardware is compatible with macOS. Refer to our Hardware Guide for details.
USB Drive (16GB+)
A USB flash drive with at least 16GB of storage for the installer.
Access to macOS
You'll need a Mac or existing Hackintosh to create the installation media.
Backup Your Data
Always back up important data before partitioning drives or installing a new OS.
Basic Knowledge
Familiarity with BIOS settings, partitioning, and basic terminal commands.
Creating the Installation Media
The first step is to create a bootable USB drive with macOS and OpenCore.
Downloading macOS
You can download macOS from the App Store or using a command-line tool.
# Download macOS using gibMacOS
git clone https://github.com/corpnewt/gibMacOS
cd gibMacOS
./gibMacOS.command
Alternatively, you can download macOS from the App Store:
- Open the App Store on your Mac
- Search for "macOS" (e.g., "macOS Sonoma")
- Click "Get" or "Download"
- The installer will download to your Applications folder
Formatting the USB Drive
Prepare your USB drive with the correct format for the installer.
- Connect your USB drive to your Mac
- Open Disk Utility (Applications → Utilities → Disk Utility)
- Select your USB drive from the sidebar
- Click "Erase" and use these settings:
- Name: USB
- Format: Mac OS Extended (Journaled)
- Scheme: GUID Partition Map
- Click "Erase" to format the drive
Important Note
Make sure to back up any important data on the USB drive before formatting, as this process will erase all data on the drive.
Installing OpenCore
Set up OpenCore on your USB drive.
- Download the latest version of OpenCore from the official repository
- Extract the downloaded file
- Navigate to the OpenCore directory and locate the EFI folder
- Copy the EFI folder to the root of your USB drive
# Create the installer using createinstallmedia
sudo /Applications/Install\ macOS\ Sonoma.app/Contents/Resources/createinstallmedia --volume /Volumes/USB
This process may take 20-30 minutes depending on your USB drive speed.
OpenCore Configuration
Configuring OpenCore is the most critical part of the Hackintosh installation process. You'll need to create a config.plist file tailored to your specific hardware.
Basic Structure
The config.plist file is organized into several sections:
- ACPI: ACPI patches and SSDTs
- Booter: Boot-related patches
- DeviceProperties: Device-specific properties
- Kernel: Kernel patches and kexts
- Misc: Miscellaneous settings