This guide will show you the steps to install Sierra on a AMD Ryzen PC using a VMWare Virtual Machine. I’m making this guide for those who don’t have access to a Mac and need macOS to either try out for a bit or create a macOS boot loader installer for a AMD hackintosh build. There is another VMWare Sierra guide on this site, but with AMD system a modified VMWare image is required to even be able to boot macOS so this AMD VMWare guide has to be used instead.
WHY NOT A HIGH SIERRA VM?
So getting High Sierra running as a virtual machine in Windows or Linux is actually pretty difficult with a Ryzen PC. Some will manage to get it working, butt not for others with there being all sorts of errors that can potentially popup on the screen. I actually spent half a day trying to get High Sierra working on VMWare player and wasn’t able to do it, so I had to resort to using Sierra, which I posted the steps for here. You can still use a Sierra VM to download High Sierra and create a High Sierra boot loader if you are trying to create a hackintosh.
AMD RYZEN SIERRA VMWARE GUIDE
Understand that even after you get macOS running, virtual performance with macOS is going to bad. There wont be able acceleration and on AMD machines it runs pretty pretty laggy, which is why it’s best to make a hackintosh if you want a smooth experience
STEP 1: DOWNLOAD SIERRA AMD VMWARE IMAGE
Credit goes to Shamme for providing the hackintosh community with this modified VMWare image. Unfortunately mega.nz will require you to download there app and signup with email veritification inorderto download this file.
![](https://hackintosher.com/wp-content/uploads/61icDhJ-7AL._SL1000_.jpg)
This is a basic guide that can be used to get a Ryzen desktop PC running macOS High Sierra 10.13.x. Installing macOS on an AMD build has more steps involved and harder to get working for beginners so I tried to simplify that process as much as possible and make it as easy to understand with this guide as I could.
If you have an Intel based system see: Guide to fresh installing macOS High Sierra on a Hackintosh (10.13 Update) as this guide is for Ryzen only.
Using the steps in this very basic Ryzen High Sierra guide I was able to get the following working:
- Sound
- Ethernet
- All USB Ports
- USB 3 Speeds
- Nvidia GPU
- AMD GPU
- Wake from Sleep
RYZEN HIGH SIERRA HACKINTOSH OVERVIEW
With a little extra effort Ryzen can be made working in a hackintosh, although it wont be as smooth of an experience as a Intel machine would be since that is afterall what Mac’s are based on.
This guide is based off the Clover method and uses a custom Ryzen kernel that’s applied during the installation for Ryzen compatibility. The install will also take significantly longer to perform compared to an Intel machine.
All you need is a spare flash drive, hard drive, and a Mac or Windows/Linux machine capable of running a virtual machine to complete this. I’ve included an EFI folder aswell as the PreInstall & PostInstall folders necessary to do the installation. Sound should work after the install is completed I used VoodooHDA.kext was used to get sound working, USB 2/3 ports were gotten working using USBInjectAll.kext/GenericUSBXHCI.kext, while for Ethernet I included all the kext files I could think of that Ryzen motherboards use, so that should work too after the install is complete.
Using the steps and files contained within this guide I was able to get both AMD RX and Nvidia GTX graphic cards functioning. With a Ryzen CPU there will be some graphical performance degradation. Newer AMD graphic cards suffer about a 10-15% performance drop while for Nvidia the performance just isn’t there, suffering around a 50% drop in performance/fps.
Also sleep works for me whether I have an AMD or Nvidia graphics card plugged in. Getting sleep to work on Ryzen + Nvidia has caused other people to have restart issues instead of waking normally, but it appears to have been resolved as of High Sierra 10.13.1 build (17B1003) and 10.13.2 (Beta) as I haven’t experienced this issue with my GTX 1050 Ti using the files contained in this guide.
One sigificant issue of Ryzen hackintosh is not being able to install macOS updates. For example when I tried I was unable to run the update installer to go from 10.13.1 to 10.13.2. Small updates do work for example when Apple had that root issue with macOS 10.13.1 I was able to update to a newer build version of 10.13.1. However to upgrade tp 10.13.2 my only option is to do a fresh install of High Sierra after downloading the updated version on the app store, then creating another USB Installer.
This and slower graphical performance especially when paired with an Nvidia graphics card in my opinion has been the most inconvenient part of using a Ryzen hackintosh. If you haven’t bought your computer parts yet and plan to use macOS as your main operating system I recommend going with Intel instead only for a more smoother experience, but if you already have a Ryzen PC like I do lets get started…
PART 1 – CREATING A RYZEN INSTALLER
To create a Ryzen hackintosh you will need a to create a spare 8GB+ flash drive to put the High Sierra installer on. I also recommend the flash drive be a USB 2.0 drive instead of USB 3.0 as especially if you don’t have have any usb 2.0 ports as the installer may not load.
Also a mac is needed or for those without a Mac, you need to create a Virtual Machine running macOS
This is a written guide, however if you prefer to follow a video guide check out this video created by XLNC
STEP 1. CREATE A HIGH SIERRA USB INSTALLER
To install macOS the first thing you need to do is configure a flash drive with a macOS installer.
To create a macOS installer you first need access to a mac or a virtual machine running macOS.
Step 1.1 Create a Ryzen macOS Virtual Machine
Step 1.2 Create a flash drive installer
STEP 2. RYZEN KERNEL SETUP
Now that we have the High Sierra Installer in our hands we need to configure it to be more Ryzen friendly by placing in a modified kernel created by Bronya@InsanelyMac and PreInstall/PostInstall scripts created by XLNC:
2.1. FOLDER VISIBILITY
The AMD kernel files are added to folders that hidden by default on macOS, so lets unhide those folders:
- Open Terminal
- Enter the following two lines:
defaults write com.apple.Finder AppleShowAllFiles true killall Finder
- Restart macOS so that the hidden files will show after editing defaults.
- Open the flash drive you made in Step 1 Install macOS High Sierra you to see a bunch of semi transparent folders. These are the hidden folders we will be making changes to.Take note of the folders .IABootFiles and System for this is where you will be adding things into.
2.2. ADDING THE AMD PATCHED KERNEL
Now we are going to start copy pasting files from a downloadable folder to the USB Flash dri`ve
- Download Ryzen_Kernel_10.13.zip
- Unzip Ryzen_Kernel_10.13
- Navigate to Ryzen_Kernel_10.13/PreInstall/Prelinkedkernel/
- Copy prelinkedkernel (The file not folder)
- We are going to use this patched version of prelinkedkernel to replace the existing Apple ones on the Install macOS High Sierra. Paste & replace prelinkedkernel in the following locations:
- /Volumes/Install macOS High Sierra/.IABootFiles/
- /Volumes/Install macOS High Sierra/System/Library/PrelinkedKernels/
- Navigate back to the Ryzen_Kernel_10.13 folder
- Copy PreInstall & PostInstall folders
- Paste them on the flash drive /Volumes/Install macOS High Sierra/
STEP 3. EFI PARTITION CONFIGURATION
Now the boot partition of the flash drive must be configured by adding a preconfigured EFI folder.
- Mount EFI Partition:
- Download Clover Configurator
- Open Clover Configurator
- Select Mount EFI under TOOLS
- Click Mount Partition for Install macOS….
- Click Open Partition
- Delete the folder called EFI if it exists in the mounted partition.
- Download Ryzen_High_Sierra_10.13_EFI.zip
- Unzip Ryzen_High_Sierra_10.13_EFI.zip
- Copy the unzipped EFI folder
- Paste the copied EFI into the mounted EFI partition or /Volumes/EFI
PART 2 – INSTALLING HIGH SIERRA ON RYZEN
Installing High Sierra on Ryzen is more difficult to perform compared to an Intel based system, mainly because of how slow various parts of the installer take to load in comparison and the patience it takes dealing with failed boots.
As you go through the macOS installer on Ryzen you may frequently encounter this famous screen:
Not to worry, when this happen just reboot the system and try again. The slashed circle/failed boot icon can also appear every now and then during normal booting after having macOS installed on the Ryzen Hackintosh, although it should happen less frequently than when the install is taking place.
This is one of the compromises you’ll have to make with a Ryzen hackintosh. For me this isn’t as big of an issue as I prefer to sleep the machine when I’m done using it instead of shutting down and turning on.
STEP 4. BIOS SETTINGS
Now that the USB Installer has been finished it’s time to configure the BIOS for macOS compatibility.
- Restart your machine and enter BIOS, the hotkey will either be F8, F10, F11 or F12
- Head over the Exit section and reset the BIOS settings back to Default
- I recommend setting the flash drive’s UEFI: partition as the Boot #1 which can’t be found under the Boot section of BIOS
- Set the following BIOS settings: (You may not have all these settings and that’s okay)
- AMD-V / SVM = Disabled (Can be re-enabled after
installation if needed) - SATA Ports = AHCI
- IOMMU = Disabled
- APU = Disabled
- HPET = Enabled
- EHCI Hands-off = Enabled
- XHCI Hands-off = Enabled
- Serial Port = Disabled
- Parallel Port = Disabled
- AMD-V / SVM = Disabled (Can be re-enabled after
STEP 5. BOOTING THE USB INSTALLER
Plug in the flash drive, preferably to a USB 2.0 port if you have one. Boot up your computer and select the UEFI: partition of the flash drive from the list of boot devices.
Boot into the UEFI of the macOS USB flash drive installer to load the Clover Boot Menu.
If the USB drive isn’t set as the default boot volume change the temporary boot device when the boot screen appears the button that needs to be pressed to do this is usually F10, F11, or F12. When the temporary selection screen appears Select UEFI : (USB Device Name).
- You are now in the Clover Menu. Use the arrow keys to verify Boot OS X Install from Install macOS High Sierra is selected
- Press Enter
- Installer will now slowly load… If you get the cigarette cross sign instead of the image below just restart and try it again. I had this happen a couple times as I went through the steps of the installer and simply trying again let me get around that.
When the installer loads we will want to properly format the disk as GUID for hackintosh usability before beginning the install.
- Press Continue when the installer appears
- Select your language
- Select Disk Utility from the install menu
- Select Show All Devices from the drop down menu by pressing the View button at the top left top left corner. (Note: NVME drive not showing?)
- Select the disk you will be installing macOS and erase it with the following settings:
- Name: (It can be named anything you want)
- Format: Mac OS Extended (Journaled)
- Scheme: GUID Partition Map
It’s important to remember the drive name you choose for the AMD Kernel and or disabling APFS conversion. - Press Erase
- Close Disk Utility
- Install macOS High Sierra
Note: While macOS is being installed the screen may go black the display is just sleeping you cap press a key on your keyboard or wiggle a mouse to wake screen
After the installer is finished the computer will restart and you’ll want to get back into the Clover Menu.
STEP 6. AMD PREINSTALL KERNEL EXECUTION
There is now a second option in Clover, but before we can do that we must first do the preinstall portion of the AMD Kernel
- Select Boot OS X Install from Install macOS High Sierra again
- Open Terminal through Utilities at the Top Menu Bar once installer finishes loading.
- (Optional) Disable APFS with Terminal
- If you forgot the name of your drive type the following:
ls -1 /Volumes
ls -1 /Volumes will list the available volumes. We want the name of the drive set in step 4.2 for the line below- Type the following into Terminal:
/Volumes/Image\ Volume/PreInstall/pre
- Press Enter
- Volume Name: is what you named your drive when you formatted it. So type it in and press enter.
- Let it run…
- Restart computer from the Top Silver Menu Bar when it prompts you to do so in Terminal
STEP 7. FINISH THE INSTALLER
- Reenter the Clover Menu on restart
- Select Boot macOS Install from “Hackintosh”
- Setup will finish the High Sierra install… If you are stuck at a grey screen reboot and try again until it loads the bottom image successfully. Also this part took me a long time to finish I was stuck at “About 18 minutes remaining” for like 10 minutes.
Note: On High Sierra 10.13.3 I had to do Step 4 as the installer restarted with partway through and then finally completed when I ran it the second time.
Check out High Sierra fix – “macOS could not be installed on your computer” if you get a restart error prompt instead of this pic.
STEP 8. AMD POST INSTALL KERNEL EXECUTION
- Select Boot OS X Install from Install macOS High Sierra again
- Open Terminal through Utilities at the Top Menu Bar once installer finishes loading.
- Type the following into Terminal:
/Volumes/Image\ Volume/PostInstall/post
- Press Enter
- Type in drive name for Volume Name:
- Let it run…
- Restart computer from the Top Silver Menu Bar when it prompts you to do so in Terminal
STEP 9. RYZEN FINAL SETUP & FIRST BOOT
After install is finished computer will automatically restart.
- Select Boot macOS from “Hackintosh”
- Select Language
- Select Keyboard
- Select My computer does not connect to the Internet
- Select Don’t transfer any information
- Agree to the Terms and Conditions
- Fill out Login information
- (Optional) Choose Customize Settings at Express Set Up if you don’t want to be tracked.
- macOS High Sierra will boot for the first time…
PART 3 – RYZEN HACKINTOSH POST-INSTALL
There are still an number of things left like being able to boot from the hard drive instead of flash drive and getting proper video acceleration from graphic cards that have to be done.
STEP 10. CONFIGURING THE EFI PARTITION
Now that we’re in macOS we want to be able to load macOS without the USB flash drive plug. To be able to boot macOS from the drive it’s installed on the folder in the EFI partition of the flash drive needs to be copied over to the EFI partition of the boot drive. You should also have internet access.
- Open Clover Configurator
- Mount the EFI of the Flash Drive
- Press Open EFI or navigate to the EFI location in finder
- Copy the EFI Folder onto your desktop
- Open Finder and Eject the Flash Drive
- Using Clover Configurator Mount the EFI of the Disk you just installed Mac OS on
- Press Open EFI or navigate to the EFI location in finder
- Paste the EFI over the existing EFI on the disk
- Select Merge when it prompts you with a menu saying that the folder EFI already exists
You will now be able to boot macOS without the USB Flash Drive
Recommendation: Delete the Folder called APPLE in your EFI Folder if it exists. This folder is created automatically on EFI partition of the flash drive during the install and may cause issues for the hackintosh. The folder will eventually be recreated, however you only need to delete it once after installing macOS.
STEP 11. REMOVE USB KEXTS
While the EFI partition is still mounted from Step 10. it’s a good idea to remove the USB kexts in your EFI folder as they’re no longer needed after the post install patch which modified S/L/E. Having these kexts in both locations will interfere with one another and may cause some USB ports to not work on Boot or Wake so we should remove these kexts from our EFI folder.
- Navigate to /Volumes/EFI/EFI/Clover/kexts/Other of your mounted EFI partition
- Delete DummyUSBXHCIPCI.kext, DummyUSBEHCIPCI.kext and GenericUSBXHCI.kext
- You’ll need to restart for these changes to take affect
STEP 12. AMD CPU SPEED ENHANCEMENT
There is about a 20% CPU performance drop running an AMD Ryzen Hackintosh by default. This can be fixed by setting the busratio bootflag to match your Ryzen CPU.
Bus Ratio is calculated by: CPU Speed Clock (MHz) / Bus Speed (MHz) = BusRatio.
CPU Speed Clock (MHz) = CPU Speed (GHz) x 1000
Bus Speed (Mhz) = 100MHz for all Ryzen CPU’s
Examples:
- Ryzen 1800X 3.6GHz; busratio=36
- Ryzen 1700x 3.4GHz; busratio=34
- Ryzen 1700 3.0GHz; busratio=30
- Ryzen 1600X 3.6GHz; busratio=36
- Ryzen 1600 3.2GHz; busratio=32
- Ryzen 1500X 3.5GHz; busratio=35
- Ryzen 1400 3.2GHz; busratio=32
SET BUS RATIO:
- Mount EFI partition
- Navigate to /Volumes/EFI/EFI/CLOVER/
- Open config.plist in Clover Configurator
- Select Boot on left-side column
- Under Custom Flags add the proper busratio=xx for your CPU:I’m using a Ryzen 1700 CPU so my busratio is 30 because of the 3.0GHz clock speed.
STEP 13. DEDICATED GPU ACCELERATION
For your specific motherboard you may need to add NVRAM detection fix to dGPU acceleration. I didn’t need it on my AMD RX 560, but needed it when I slotted in my Nvidia GTX 1050 Ti which I thought was weird.
To add EmuVariableUefi-64.efi:
- Open Clover Configurator
- Mount your EFI Partition
- Open config.plist using Clover Configurator
- Click Install Drivers on left column of Clover Configurator
- Click EmuVariableUefi in bottom left box.
- Verify EmuVariableUefi-64.efi exists in /Volumes/EFI/EFI/Clover/Drivers64UEFI/
AMD:
I included the files to get AMD RX cards working excluding the Vega 56/64 which will require more work. If you have an RX 560 add the boot flag
-rad4200
to prevent freezing as detailed here.NVIDIA:
In addition to EmuVariableUefi-64.efi if you are using one of the more recently released Nvidia GPU’s you will to install the web drivers. There shouldn’t be anything else you need to do I already set the proper CsrActivateConfig and added the ncessary kexts. If it doesn’t work for some reason after installing the web drivers you may need to disable CMS in BIOS.
Head over to the driver page to get the web drivers:
Note: May have to reinstall the Nvidia web drivers if they don’t successfully install the first time due to privacy settings.
STEP 14. ETHERNET
I included all the Ethernet kexts I could think of that would work with Ryzen, but I recommend removing the kexts you don’t need.
留言
張貼留言