Updated fix for “Still waiting for root device” on OS X 10.8.1 Mountain Lion

Apple’s yesterday update to 10.8.1 for OS X Mountain Lion again results in “Still waiting for root device” error during the next boot for Hackintosh owners. Moreover, the previous disk enumeration delay patch for IOAHCIBlockStorage.kext doesn’t work anymore as the kext has been changed in 10.8.1. Thankfully z0rglub from InsanelyMac forums has already published the proper hex strings for the 10.8.1 patch. The following commands place a backup of the unmodified binary before patching it.

cd /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS
sudo mv IOAHCIBlockStorage IOAHCIBlockStorage.orig
sudo cp IOAHCIBlockStorage.orig IOAHCIBlockStorage
sudo /usr/bin/perl -pi -e 's|\xbb\x4b\x00\x00\xeb\x03|\xbb\x4b\x00\x00\xe8\x01|g' IOAHCIBlockStorage
sudo /usr/bin/perl -pi -e 's|\x74\x0e\x48\x8d\x3d\xb2\x91\x00\x00|\xbf\xc8\x00\x00\x00\x90\x90\x90\x90|g' IOAHCIBlockStorage
sudo touch /System/Library/Extensions

Update: This patch DOES NOT work for 10.8.2′s IOAHCIBlockStorage.kext Update 2: Updated fix for “Still waiting for root device” on OS X 10.8.2 Mountain Lion

This fix has been made possible due to countless hours spent by bcc9 from InsanelyMac forums reverse-engineering Apple’s work and his original script.

CMOS Reset Error on OS X 10.8 Mountain Lion after wake from sleep

If you experience CMOS checksum errors and CMOS resets on wake or reboot after installing OS X 10.8 Mountain Lion on your Hackintosh, you need to patch the AppleRTC.kext. Open your Terminal and follow these easy steps:

1. First backup the original kext:

mkdir ~/Desktop/BackupRTC
sudo cp -r /System/Library/Extensions/AppleRTC.kext ~/Desktop/BackupRTC/

2. Copy the original kext to your desktop for patching:

sudo cp -r /System/Library/Extensions/AppleRTC.kext ~/Desktop/

3. Patch it:

sudo perl -pi -e 's|\x75\x30\x89\xd8|\xeb\x30\x89\xd8|' ~/Desktop/AppleRTC.kext/Contents/MacOS/AppleRTC

4. Delete the original version:

sudo rm -rf /System/Library/Extensions/AppleRTC.kext

5. Copy the patched version in the place using Kext Wizard, rebuild the permissions and the system cache.
6. Reboot.

802.11n 450mbps WiFi PCIe card with native Airport support on OS X

For Hackintosh builds you have several Wireless networking options.

You can either build your own one from an Apple mini PCIe boards and a mini-PCIe to PCIe adapter card, or buy a ready-made card that happens to be natively supported in OS X, plus has full AirPort support. The cheapest such card is the TP-Link TL-WDN4800 Wireless N 450Mbps PCI Express Adapter Amazon $44.99

 

While this card costs more compared to the mini PCIe adapter method (that sometimes requires device id tinkering with the cheapest 3rd party wifi boards), it requires no extra drivers and works out of box in both OS X 10.7 Lion and 10.8 Mountain Lion.

OS X Lion 10.7.4 on i7-2600k and Gigabyte GA-Z68X-UD3H-B3 motherboard

Running Apple’s Mac OS X software on PC hardware has been a hobby for some enthusiasts for a while. There are several forums on the Internet that discuss the topic extensively, but here is a brief article with one of the possible hardware configurations that can run OS X Lion or Mountain Lion.

Essential Reading
UniBeast: Install Mac OS X Lion Using an All-In-One Bootable USB Drive
MultiBeast – The Ultimate Post-Installation Utility

Continue reading