Bill Farmer

Random thoughts on random subjects

Install OSX El Capitan on a PC (MBR)

by Bill Farmer. Categories: Hacking .

OSX El Capitan

Prerequisites

  • A real Mac or Hackintosh
  • A spare disk drive – at least 8Gb, preferably USB
  • An 8Gb or larger USB stick
  • The Install OSX El Capitan.app from the App Store
  • A disk partition to install in

Install on spare disk drive

El Capitan Installer

Connect your spare drive to your PC. Use the method described here to build the El Capitan install USB stick and install OSX using the GPT partition scheme on your spare disk drive. Check it boots up OK and works OK.

Copy to your MBR partition

Disk Utility

Use the Disk Utility to either copy the El Capitan partition to your MBR partition, or create a disk image and restore it to your MBR partition. Install Clover on your new El Capitan partition using the MBR options.

Clover

Copy the kexts you used to build the USB stick to the new El Capitan partition in EFI>CLOVER>kexts>10.11. I needed FakeSMC.kext, NullCPUPowerManagement.kext and a ethernet driver AppleRTL8169Ethernet.kext. Disconnect the spare disk and reboot to check the El Capitan installation boots OK and works OK. If it worked on your GPT disk then it should be OK on MBR with the same drivers.

Screenshot

The problem with creating a GPT partitioned disk and installing on it is that you end up with a bios boot menu item ‘Mac OSX’ which you can’t delete, even using the Clover EFI shell or the linux utility efibootmgr. I’ve got two flavours of linux and efibootmgr refuses to work on both of them. It may be possible to get around this by installing on a USB drive.

I have since found you need to run the Clover EFI shell while doing a UEFI boot to get access to the bios boot menu items.

Later releases

I couldn’t get this to work on Sierra and High Sierra because the installer automagically creates a recovery partition which doesn’t get transferred. So I have converted to UEFI, which works fine using the USB stick method.


See Also