Macintosh in a pinch: Sierra on a Pentium G3258/ASUS H81M-D
Let me say first that while I've been into the Hackintosh scene for like seven or eight years, I am still learning the ropes with some aspects such as DSDT and a few other things. But let me share this install guide for you lads and lasses who are interested in cobbling up a Hackintosh of your own.
This guide is mostly based on Elad Nava's El Capitan installation guide, albeit with a few tweaks to account for the new OS and system to be installed on, assuming that you're on a G3258-based system. In my case, I am using a PC with the following specs:
- ASUS H81M-D (BIOS revision 2204)
- Pentium G3258 @ 3.2Ghz
- Kingston ValueRAM 8GB DDR3
- GeForce GTX 750 2GB GDDR5
- Western Digital WD10EZEX 1TB
You'll also need an existing Mac or PC to prepare the USB stick to be used for installation. There are guides and/or tools out there that allow for a doing so without a Mac, but I'm not sure about that myself. If you don't have an existing Mac, I recommend using a virtual machine image for you to cobble up an installer.
And yes, this does NOT involve any sort of -Beast utility from Tonymacx86 either.
Oh and another thing: Most people vouch on installing Mac first before Windows, in case you plan on having a dual-boot system. Doing it the other way around is possible, but wonky as you'd wind up with issues such as a small EFI partition.
Oh and another thing: Most people vouch on installing Mac first before Windows, in case you plan on having a dual-boot system. Doing it the other way around is possible, but wonky as you'd wind up with issues such as a small EFI partition.
First things first: Download macOS Sierra from the App Store, either through normal means or using the method as described here. I vouch for the latter as it allows you to use your favourite download manager and be able to verify the packages you downloaded. Downloading the installer should take some time, so grab a cup of coffee or do something else for the time being.
Once that's done, run Disk Utility, and format the USB drive (or any other storage drive to be used), making sure that the file system is Mac OS Extended (Journaled) and that GUID Partition Table is used.
Now run the following command in Terminal to copy the installation files to your USB drive:
sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ macOS\ Sierra.app --nointeraction
sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ macOS\ Sierra.app --nointeraction
This should take around 15-20 minutes to finish, and once that's done, you may now install the Clover bootloader. Run the package installer, set it to install the bootloader to your install USB, then make sure Install for UEFI Booting only, Install Clover in the ESP and OsxAptioFixDrv-64 is selected in the Customise page.
The latter option is a must for motherboards using an AMI UEFI BIOS as you'd end up getting stuck at the boot screen without it. Once that's done, go to your USB drive's Clover ESP partition, and then copy the 10.12 kexts folder which you can download from here to EFI/CLOVER/kexts. FakeSMC's essential for every single Hackintosh to run at all, and in our case we need NullCPUPowerManagement to work around kernel panic issues with our G3258 rig.
You may want to use this config.plist on the USB too. Now let's get on to the installation process.
Mash the F8 button on bootup to get to the boot selection screen. Assuming you're on an ASUS board or any board using an AMI Aptio, select the USB drive which may be named "UEFI:USB Mass Storage Device"UEFI:Kingston DataTraveler"or whatever. Select Boot macOS Install from Install macOS Sierra, press space then select Boot to Verbose, which should allow you to see what went wrong in case the installer freezes for some reason. If you're using an Nvidia card, make sure the boot flag nvda_disable=1 is present. Same goes for -xcpm and the CPUID 0x0306A0 since we're installing this on a Haswell Celeron/Pentium anyway - the config.plist I linked to should take care of that.
Now that you're on the macOS installer itself, you need to format the drive to be installed using Disk Utility:
Obviously you'll need to wipe the drive you're going to install macOS into, and don't blame me if you formatted the wrong drive. :P Now exit Disk Utility, and proceed with installing the operating system. Select the hard drive you just formatted, and then click Install. Be patient with this one kids, especially as the install goes through two stages - once the first stage finishes, boot again to the Clover USB like before, but this time select the hard disk where you are going to install macOS into. A grey installation screen will show up, with the Apple logo and a progress bar. If all goes well, the installation part should be fine and dandy.
But we're not done yet! Boot from the USB stick once again, and again select the hard drive, making sure you're starting macOS in verbose mode as you know. Once you get into the Welcome screen, you'll be asked to set things up such as your current location, keyboard type and whatnot.
You'll be taken to the desktop, and from there you need to install drivers or kexts for your respective GPU. That depends on the graphics card/IGP you're using, but in the case of recent Nvidias, all you need to do is to install the Web Drivers - the one to use is 367.15.10.05f01. Audio in my case is a trivial matter - AFAIK the Realtek ALC887 codec only calls for layout-ID 1 on Clover's audio settings and vit969's AppleALC kext. I already included mieze's Realtek LAN kext in the essential kexts package I linked to above, too. Oh and don't forget to install or update the Clover bootloader on your hard drive. The above mentioned settings for the install USB should work.
And here comes the tricky part: NullCPUPowerManagement can only get you so far, but that'll make the PC run at full blast with Speedstep disabled. macOS crashes with a kernel panic without the NullCPUPM hack, but there's a workaround to it, courtesy of vit969. The kernel patches not only enables XCPM mode, but should also keep certain apps like iMessage from crashing, I am not sure if the SSDT stuff as described by the OP is necessary with the above trick, but please let me know.
Hope that guide helps you with your Hackintoshing adventures. If not, feel free to ask. ;)
The latter option is a must for motherboards using an AMI UEFI BIOS as you'd end up getting stuck at the boot screen without it. Once that's done, go to your USB drive's Clover ESP partition, and then copy the 10.12 kexts folder which you can download from here to EFI/CLOVER/kexts. FakeSMC's essential for every single Hackintosh to run at all, and in our case we need NullCPUPowerManagement to work around kernel panic issues with our G3258 rig.
You may want to use this config.plist on the USB too. Now let's get on to the installation process.
Mash the F8 button on bootup to get to the boot selection screen. Assuming you're on an ASUS board or any board using an AMI Aptio, select the USB drive which may be named "UEFI:USB Mass Storage Device"UEFI:Kingston DataTraveler"or whatever. Select Boot macOS Install from Install macOS Sierra, press space then select Boot to Verbose, which should allow you to see what went wrong in case the installer freezes for some reason. If you're using an Nvidia card, make sure the boot flag nvda_disable=1 is present. Same goes for -xcpm and the CPUID 0x0306A0 since we're installing this on a Haswell Celeron/Pentium anyway - the config.plist I linked to should take care of that.
Now that you're on the macOS installer itself, you need to format the drive to be installed using Disk Utility:
Obviously you'll need to wipe the drive you're going to install macOS into, and don't blame me if you formatted the wrong drive. :P Now exit Disk Utility, and proceed with installing the operating system. Select the hard drive you just formatted, and then click Install. Be patient with this one kids, especially as the install goes through two stages - once the first stage finishes, boot again to the Clover USB like before, but this time select the hard disk where you are going to install macOS into. A grey installation screen will show up, with the Apple logo and a progress bar. If all goes well, the installation part should be fine and dandy.
But we're not done yet! Boot from the USB stick once again, and again select the hard drive, making sure you're starting macOS in verbose mode as you know. Once you get into the Welcome screen, you'll be asked to set things up such as your current location, keyboard type and whatnot.
You'll be taken to the desktop, and from there you need to install drivers or kexts for your respective GPU. That depends on the graphics card/IGP you're using, but in the case of recent Nvidias, all you need to do is to install the Web Drivers - the one to use is 367.15.10.05f01. Audio in my case is a trivial matter - AFAIK the Realtek ALC887 codec only calls for layout-ID 1 on Clover's audio settings and vit969's AppleALC kext. I already included mieze's Realtek LAN kext in the essential kexts package I linked to above, too. Oh and don't forget to install or update the Clover bootloader on your hard drive. The above mentioned settings for the install USB should work.
And here comes the tricky part: NullCPUPowerManagement can only get you so far, but that'll make the PC run at full blast with Speedstep disabled. macOS crashes with a kernel panic without the NullCPUPM hack, but there's a workaround to it, courtesy of vit969. The kernel patches not only enables XCPM mode, but should also keep certain apps like iMessage from crashing, I am not sure if the SSDT stuff as described by the OP is necessary with the above trick, but please let me know.
Hope that guide helps you with your Hackintoshing adventures. If not, feel free to ask. ;)
Comments
Correct me if I'm wrong, but shouldn't NullCPUPowerManagement.kext be removed if you're using XPCM? Also, my G3258 gives a kernel panic and when before (with El Capitan), it worked just fine without NullCPUPowerManagement.
I'm a G3258 user and I'm getting kernel panics with Sierra, and am forced to use NullCPUPowerManagement. El Capitan worked perfectly fine though. Any reason this is?
And on what motherboard are you trying to run Sierra on? I managed to get mine to work using the procedure on this thread: http://www.insanelymac.com/forum/topic/303755-how-to-intel-pentium-g3xxx-and-celeron-g1xxx-haswell-works-with-speedstep-yosemite-1010-and-mavericks-109/page-6
I'll try that method soon enough!
I'm having troubles booting the sierra install. Getting ACPI error: [_DSM] Namespace lookup failure, AE_ALREADY_EXISTS.
panic " Unable to find driver for this platform: \"ACPI\"n@/Lbirary/Caches/com.apple.xbs/Sources/xnu/xnu-3789.1.32/iokit/Kernel/IOplatformexpert.cpp:1666
Any ideas?
300gb hdd
Gigabyte g1.sniper b5
R7 265
11gb ram
thank you very much.
thank you very much.
@Unknown - I'm glad to be of service mate, 'tis a good thing that you got it to work on your wife's rig. :D
You may also try some of the suggestions here, but other than that I haven't honestly encountered such an error yet on my end:
https://github.com/syscl/XPS9350-macOS/issues/95
Intel Haswell Generation Pentium G3240
8 GB DDR3 RAM HyperX
NVIDIA GTX 660 2 GB VRAM
MSI Military Class 4 H81M-P33 mATX mobo
Built in Realtek ALC887
Built in Realtek Ethernet
UEFI Clover + Sierra with UniBeast and Kexts with
Plz tell if these specs will work
Intel Haswell Generation Pentium G3240
8 GB DDR3 RAM HyperX
NVIDIA GTX 660 2 GB VRAM
MSI Military Class 4 H81M-P33 mATX mobo
Built in Realtek ALC887
Built in Realtek Ethernet
UEFI Clover + Sierra with UniBeast and Kexts with
Plz tell if these specs will work
Intel Haswell Generation Pentium G3240
8 GB DDR3 RAM HyperX
NVIDIA GTX 660 2 GB VRAM
MSI Military Class 4 H81M-P33 mATX mobo
Built in Realtek ALC887
Built in Realtek Ethernet
UEFI Clover + Sierra with UniBeast and Kexts with
Plz tell if these specs will work
Intel Haswell Generation Pentium G3240
8 GB DDR3 RAM HyperX
NVIDIA GTX 660 2 GB VRAM
MSI Military Class 4 H81M-P33 mATX mobo
Built in Realtek ALC887
Built in Realtek Ethernet
UEFI Clover + Sierra with UniBeast and Kexts with
Plz tell if these specs will work
Good news!!! Thanks to @vit9696 Haswell Celeron/Pentium CPU's can use xcpm mode and work without NullCPUPowerManagement.kext and also prevent app crashing (Messages, iBooks etc.)
1. Remove NullCPUPowerManagement.kext.
2. Use macmodel iMac13,1
3. Use FakeCPUID - 0x0306A0
4. -xcpm in bootargs
5. Two kernel patches into KernelAndKextPatches section in config.plist (first patch prevent app crashing, second patch enables xcpm mode)
KernelToPatch
Disabled
Find
uaABAAAPMg==
MatchOS
10.12
Replace
uaABAAAxwA==
Comment
xcpm on Sierra Haswell Celeron/Pentium
Disabled
Find
g8PEg/si
MatchOS
10.12
Replace
g8PGg/si
Where should i paste this entry?
https://clover-wiki.zetam.org/Configuration/KernelAndKextPatches#kernelandkextpatches_kextstopatch
Some say it is required but others doubt its use.