Contribute
Register

[SOLVED]: Random Trouble Booting - Occasional, but Regular Success

Status
Not open for further replies.
Joined
Apr 27, 2010
Messages
16
Motherboard
macOS Sierra 10.12.3 - GA-Z77X-UP5-TH
CPU
i7 3770K
Graphics
GTX 980 Ti NVIDIA GeForce
I have through several iterations finally installed Sierra 10.12.3 on my Z77 Hackintosh. For full hardware specs, please visit my profile.

I am currently running version 3994 Clover, and have iMessage running smoothly.

The only problem is, at seemingly random times, I will boot and have this error:
IMG_2665.JPG


or this error:
File Jan 31, 16 05 31.jpeg


and depending on pure chance, the system will boot successfully. The success rate fluctuates between 1 out of every 2 boots to 1 out of every 4 boots. It boots successfully though, eventually - I have yet to get stuck (crossing my fingers.) I have tried to play with my config.plist and I will list my full plist at the end of this post in case anyone has any ideas. Does anyone out there have any idea why I would only occasionally get this error message? Not 100% of the time? Seems like it would be a memory or cache issue if it pops up sporadically.

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>ACPI</key>
    <dict>
        <key>DSDT</key>
        <dict>
            <key>Debug</key>
            <false/>
            <key>DropOEM_DSM</key>
            <false/>
            <key>Fixes</key>
            <dict>
                <key>AddDTGP_0001</key>
                <true/>
                <key>AddHDMI_8000000</key>
                <true/>
                <key>AddIMEI_80000</key>
                <true/>
                <key>AddPNLF_1000000</key>
                <true/>
                <key>DeleteUnused_400000</key>
                <true/>
                <key>FIX_ACST_4000000</key>
                <true/>
                <key>FIX_ADP1_800000</key>
                <true/>
                <key>FIX_INTELGFX_100000</key>
                <true/>
                <key>FIX_RTC_20000</key>
                <true/>
                <key>FIX_S3D_2000000</key>
                <true/>
                <key>FixAirport_4000</key>
                <true/>
                <key>FixDisplay_0100</key>
                <true/>
                <key>FixFirewire_0800</key>
                <true/>
                <key>FixHDA_8000</key>
                <true/>
                <key>FixHPET_0010</key>
                <true/>
                <key>FixIPIC_0040</key>
                <true/>
                <key>FixLAN_2000</key>
                <true/>
                <key>FixRegions_10000000</key>
                <true/>
                <key>FixShutdown_0004</key>
                <true/>
                <key>NewWay_80000000</key>
                <true/>
            </dict>
            <key>ReuseFFFF</key>
            <false/>
        </dict>
        <key>DropTables</key>
        <array>
            <dict>
                <key>Signature</key>
                <string>DMAR</string>
            </dict>
            <dict>
                <key>Signature</key>
                <string>SSDT</string>
                <key>TableId</key>
                <string>CpuPm</string>
            </dict>
            <dict>
                <key>Signature</key>
                <string>SSDT</string>
                <key>TableId</key>
                <string>Cpu0Ist</string>
            </dict>
        </array>
        <key>HaltEnabler</key>
        <true/>
        <key>SSDT</key>
        <dict>
            <key>DropOem</key>
            <false/>
            <key>EnableC6</key>
            <true/>
            <key>Generate</key>
            <true/>
        </dict>
    </dict>
    <key>Boot</key>
    <dict>
        <key>Arguments</key>
        <string>-v npci=0x2000 nvda_drv=1 kext-dev-mode=1 -no_compat_check</string>
        <key>Debug</key>
        <false/>
        <key>DefaultVolume</key>
        <string>Macintosh SSD</string>
        <key>Legacy</key>
        <string>PBR</string>
        <key>Secure</key>
        <false/>
        <key>Timeout</key>
        <integer>3</integer>
        <key>XMPDetection</key>
        <string>Yes</string>
    </dict>
    <key>CPU</key>
    <dict>
        <key>UseARTFrequency</key>
        <false/>
    </dict>
    <key>Devices</key>
    <dict>
        <key>Audio</key>
        <dict>
            <key>Inject</key>
            <string>1</string>
        </dict>
        <key>FakeID</key>
        <dict>
            <key>ATI</key>
            <string>0x0</string>
            <key>IMEI</key>
            <string>0x0</string>
            <key>IntelGFX</key>
            <string>0x0</string>
            <key>LAN</key>
            <string>0x0</string>
            <key>NVidia</key>
            <string>0x0</string>
            <key>SATA</key>
            <string>0x0</string>
            <key>WIFI</key>
            <string>0x0</string>
            <key>XHCI</key>
            <string>0x0</string>
        </dict>
        <key>USB</key>
        <dict>
            <key>AddClockID</key>
            <true/>
            <key>FixOwnership</key>
            <true/>
            <key>Inject</key>
            <true/>
        </dict>
    </dict>
    <key>DisableDrivers</key>
    <array>
        <string>Nothing</string>
    </array>
    <key>GUI</key>
    <dict>
        <key>Hide</key>
        <array>
            <string>Windows</string>
            <string>BOOTX64.EFI</string>
        </array>
        <key>Language</key>
        <string>en:0</string>
        <key>Mouse</key>
        <dict>
            <key>DoubleClick</key>
            <integer>500</integer>
            <key>Enabled</key>
            <true/>
            <key>Mirror</key>
            <false/>
            <key>Speed</key>
            <integer>8</integer>
        </dict>
        <key>Scan</key>
        <dict>
            <key>Entries</key>
            <true/>
            <key>Legacy</key>
            <false/>
            <key>Linux</key>
            <false/>
            <key>Tool</key>
            <true/>
        </dict>
        <key>Theme</key>
        <string>mac</string>
    </dict>
    <key>Graphics</key>
    <dict>
        <key>Inject</key>
        <dict>
            <key>ATI</key>
            <false/>
            <key>Intel</key>
            <true/>
            <key>NVidia</key>
            <false/>
        </dict>
        <key>NvidiaSingle</key>
        <false/>
    </dict>
    <key>KernelAndKextPatches</key>
    <dict>
        <key>AppleRTC</key>
        <true/>
        <key>AsusAICPUPM</key>
        <true/>
        <key>Debug</key>
        <false/>
        <key>KernelCpu</key>
        <false/>
        <key>KernelHaswellE</key>
        <false/>
        <key>KernelLapic</key>
        <false/>
        <key>KernelPm</key>
        <false/>
        <key>KextsToPatch</key>
        <array>
            <dict>
                <key>Comment</key>
                <string>External icons patch</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                RXh0ZXJuYWw=
                </data>
                <key>Name</key>
                <string>AppleAHCIPort</string>
                <key>Replace</key>
                <data>
                SW50ZXJuYWw=
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>10.9-10.12-AppleHDA/Realtek ALC898</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                ixnUEQ==
                </data>
                <key>Name</key>
                <string>AppleHDA</string>
                <key>Replace</key>
                <data>
                mQjsEA==
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>10.12-AppleHDA/Realtek ALC...</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                ihnUEQ==
                </data>
                <key>Name</key>
                <string>AppleHDA</string>
                <key>Replace</key>
                <data>
                AAAAAA==
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>AppleHDA/Resources/xml&gt;zml</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                eG1sLnps
                </data>
                <key>Name</key>
                <string>AppleHDA</string>
                <key>Replace</key>
                <data>
                em1sLnps
                </data>
            </dict>
            <dict>
                <key>Comment</key>
                <string>Increase 15 port limit to 26 in AppleUSBXHCIPCI</string>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                g710////EA==
                </data>
                <key>Name</key>
                <string>AppleUSBXHCIPCI</string>
                <key>Replace</key>
                <data>
                g710////Gw==
                </data>
            </dict>
            <dict>
                <key>Disabled</key>
                <false/>
                <key>Find</key>
                <data>
                AEFQUExFIFNTRAA=
                </data>
                <key>Name</key>
                <string>IOAHCIBlockStorage</string>
                <key>Replace</key>
                <data>
                AAAAAAAAAAAAAAA=
                </data>
            </dict>
        </array>
    </dict>
    <key>RtVariables</key>
    <dict>
        <key>BooterConfig</key>
        <string>0x28</string>
        <key>CsrActiveConfig</key>
        <string>0x3</string>
        <key>ROM</key>
        <string>UseMacAddr0</string>
    </dict>
    <key>SMBIOS</key>
    <dict>
        <key>BiosReleaseDate</key>
        <string>09/03/2013</string>
        <key>BiosVendor</key>
        <string>Apple Inc.</string>
        <key>BiosVersion</key>
        <string>IM142.88Z.0118.B00.1309031249</string>
        <key>Board-ID</key>
        <string>Mac-27ADBB7B4CEE8E61</string>
        <key>BoardManufacturer</key>
        <string>Apple Inc.</string>
        <key>BoardSerialNumber</key>
        <string>C02313600CDF9H18C</string>
        <key>BoardType</key>
        <integer>10</integer>
        <key>ChassisAssetTag</key>
        <string>iMac-Aluminum</string>
        <key>ChassisManufacturer</key>
        <string>Apple Inc.</string>
        <key>ChassisType</key>
        <string>13</string>
        <key>Family</key>
        <string>iMac</string>
        <key>Manufacturer</key>
        <string>Apple Inc.</string>
        <key>ProductName</key>
        <string>iMac14,2</string>
        <key>SerialNumber</key>
        <string>C02KGTO6F8JC</string>
        <key>SmUUID</key>
        <string>6F424CFE-03C7-4540-B7FE-BDBF6B97CAA1</string>
        <key>Trust</key>
        <false/>
        <key>Version</key>
        <string>1.0</string>
    </dict>
    <key>SystemParameters</key>
    <dict>
        <key>InjectKexts</key>
        <string>Yes</string>
        <key>InjectSystemID</key>
        <true/>
        <key>NoCaches</key>
        <true/>
    </dict>
</dict>
</plist>
 
Here's a snapshot of my kexts folder:
Screen Shot 2017-01-31 at 4.13.23 PM.png

(uh oh. should these be in my 10.12 folder? or Other? Currently those are empty since Sierra installed and it boots fine when it boots sucessfully, and all my USB and Ethernet and Sound work so I have been resistant to moving kexts around..)

Here's a snapshot of my drivers64UEFI also:
Screen Shot 2017-01-31 at 4.13.32 PM.png
 
I have through several iterations finally installed Sierra 10.12.3 on my Z77 Hackintosh.

As of macOS Sierra, nvda_drv=1 in config.plist under Boot > Arguments is no longer working to initiate drivers. Clover has been updated with a new System Parameter setting called NvidiaWeb.

New Method for Enabling NVIDIA Web Drivers in Clover

The only problem is, at seemingly random times, I will boot and have this error

Make sure that CsrActiveConfig is set to 0x67 not 0x03 in Clovers config.plist.
Replace VBoxHfs-64.efi with HFSPlus.efi in EFI/CLOVER/drivers64UEFI/
If that doesn't work, try using OsxAptioFixDrv-64.efi instead of OsxAptioFix2Drv-64.efi.

uh oh. should these be in my 10.12 folder? or Other? Currently those are empty since Sierra installed and it boots fine when it boots sucessfully, and all my USB and Ethernet and Sound work so I have been resistant to moving kexts around.

Yes you should have moved them to the 10.12 or Other folder.
You probably have these kexts also in System/Library/Extensions and/or Library/Extensions otherwise your system wouldn't boot.

Here's a snapshot of my drivers64UEFI also

If you don't use FileVault 2 delete the following drivers:
  • AppleImageCodec-64.efi
  • AppleKeyAggregator.efi
  • AppleUITheme-64.efi
  • FirmwareVolume.efi
  • SMCHelper.efi
 
Thanks BreBro for such a detailed response!! I will try one at a time and report back..
 
BreBro! Thanks a million. I implemented all the suggestions which do make me feel like I have a cleaner EFI. The most important fix which finally made it successfully boot 3 times in a row just now was the replacement of the OsxAptioFixDrv-64.efi instead of version 2. (It was the last thing I tried after implementing all the other fixes.) Very curious as to why that was the culprit.

I will probably leave all of the other fixes in place since those are strong recommendations and it feels like it makes it cleaner. Also, it works with all of the fixes enabled all at once.
 
Sry, but one question...where do I get the "OsxAptioFixDrv-64.efi" file? I have the the version 2 but I'm a newbie and I'm not really sure where to get the file.
I tried:
Replace VBoxHfs-64.efi with HFSPlus.efi in EFI/CLOVER/drivers64UEFI/
Make sure that CsrActiveConfig is set to 0x67 not 0x03 in Clovers config.plist.

f2v6m1
 
It says:
OsxAPtioFix2Drv: Starting overrides for System\Library\CoreServices\boot.efi
Using relic block: no, hibernate wake: no
Error allocating 0x121ac pages at 0x000000000677e000 alloc type 2
Couldn't allocate runtime area
Boot failed, sleeping for 10 seconds before exiting...
 
Sry, but one question...where do I get the "OsxAptioFixDrv-64.efi" file? I have the the version 2 but I'm a newbie and I'm not really sure where to get the file.
  • Download Clover Configurator (Vibrant Edition)
  • Open Clover Configurator
  • Mount your EFI partition
  • Choose Install Drivers
  • Delete OsxAptioFix2Drv-64.efi
  • Add OsxAptioFixDrv-64.efi
  • Close Clover Configurator
  • Check EFI/EFI/Clover/Drivers64UEFI if changes were made
 
Thx m8, but it also says, that in the section "extra drivers" OsxFatBinaryDrv UEFI is installed and not HFSPlus but I installed itan hour ago. And also nothing changed in my EFI Folder...it's still OsxAptioFix2Drv64.efi
 
Thx m8, but it also says, that in the section "extra drivers" OsxFatBinaryDrv UEFI is installed and not HFSPlus but I installed itan hour ago. And also nothing changed in my EFI Folder...it's still OsxAptioFix2Drv64.efi
Are you mounting the correct EFI partition?
 
Status
Not open for further replies.
Back
Top