Sunday, September 11, 2016

How to Install macOS Sierra on a Hackintosh

Hackintosh: How to Install macOS Sierra on a Hackintosh


Here are the things you'll need (I recommend you save them in a folder on your desktop):
  • A genuine Mac
  • macOS Sierra Installer | App Store
  • EFI Mounter v3 | Link
  • Latest version of Clover | Link
  • FakeSMC.kext | Link
  • An 16GB or more USB


1) First you're going to want to use a tool in Terminal called "createinstallmedia" to make your USB drive. Assuming the Install macOS Sierra.app is in your Applications folder, run this command in Terminal (replacing where necessary, I'd recommend copying and pasting, and then going back and editing):


sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --applicationpath /Applications/Install\ macOS\ Sierra.app --volume /Volumes/{USB name here}

This could be anywhere between 10 and 30 minutes, but could be more or less depending on your setup. When the process is completed, you will be able to type in Terminal again.

2) Now run the Clover package. Select the USB as your destination, click Customize and use the following options: "Install for UEFI motherboards" then, under Drivers64UEFI, select "OsxAptioFixDrv-64" and "PartitionDxe-64".


3) Mount the EFI partition of your flash drive using EFI Mounter v3 | Link

It will prompt you to enter your password, do so and press ok. A list of mounting points should appear. disk0s1 is your main drive. Choose the USB drive, mine was disk2s1.


Scroll down and click the USB drive
Now press mount.

4) Place FakeSMC.kext and any kexts you need into /EFI/CLOVER/kexts/Other.

4) Now boot from your USB! 

DIDN'T BOOT?: Make sure you're using a USB 2.0 port and your flash drive is 16 GB or higher. You probably will have to configure your BIOS.


SUGGESTED: How to access the boot menu – Explanation of what each boot flag is and does and how to use them.


Use the kext-dev-mode=1 and rootless=0 bootflags and add -v to the end of the boot flags so you can get an output of what's going on (verbose mode).

5) Get into the installer, and then install macOS Sierra to your HDD or SSD.


6) When the install completes, reboot, boot from the USB and this time select your main boot drive that you just installed Sierra onto. Use the kext-dev-mode=1 -v and rootless=0 bootflags once again. 


SUGGESTED: Hackintosh Boot Flags – Explanation of what each boot flag is and does and how to use them.


7) Install Clover to your boot drive.

7) Copy the FakeSMC.kext and your network kext across to the EFI partition on your hard drive. The rest depends on your system, you may need to download some more kexts and drivers, you may now be good to go. Good luck!


Beta NVIDIA web drivers are available for macOS Sierra here. Official drivers should be released in the coming weeks.

If you have any issues installing, leave a comment!
Share This:    Facebook Twitter Google

12 comments:

  1. kext-dev-mode=1 is Yosemite and rootless=0 was El Capitan Developer Previews... Neither are for Sierra...

    ReplyDelete
    Replies
    1. Rootless=0 disables SIP and kext-dev-mode=1 enables unapproved kexts. Both of these work with Sierra and serve their purpose.

      Delete
  2. I tried to install windows 10 installed laptop by dividing partition(of course formatted for mac&did all todos listed above), but I can not even see the boot menu just black screen and than windows 10 trying to repair the startup...

    ReplyDelete
    Replies
    1. Sounds like clover never got installed to HDD. You will probably need to erase windows and create a large EFI partition, then installing windows, then installing MacOS. :)

      Delete
  3. Thank you for tutorial! I'm stuck on step number 6.
    In log I've got this:
    AppleKeyStore: operation faild
    IOGprahics flags 0x43
    prevent idle sleep list: IODisplayWrangler+ (1)

    Do you have any idea how to fix this?

    Thank you in advance!

    ReplyDelete
    Replies
    1. I'm also got same problem, please help ,
      prevent idle sleep list: IODisplayWrangler+ (1)

      Delete
  4. I'm new to this, can I apply this to an older MacBook (2007) that is officially limited to lion?

    ReplyDelete
  5. Hi Grant, thanks for the reply. Can you orient me a bit towards the other solutions? I would really appreciate it.

    Thanks in advance!

    ReplyDelete
    Replies
    1. I would use the macOS Sierra Patch Tool. It allows it to install on unsupported macs.

      http://dosdude1.com/sierrapatch.html

      Delete
  6. This comment has been removed by the author.

    ReplyDelete
  7. If you get a minute, I'd be grateful if you could give us some ideas on how to go about and install Sierra on a Fusion drive on a Hackintosh. I have installed successfully, it seems to be working fine, but I cannot for the life of me install Clover properly so that I can boot from the Fusion disk. I copied Clover on EFI on both the SSD and the HD that make up the Fusion volume.

    Thanks

    ReplyDelete