Followup to Adventures with a CustoMac: Installing Mac OS X Mavericks on Asus P8Z77-V PC

Mavericks installed on CustoMac. NB: MBPr on desk and PowerMacintosh 8500/120 on right.
Mavericks installed on CustoMac. NB: MBPr on desk and PowerMacintosh 8500/120 on right.

Last summer, I wrote about my experiences installing Mac OS X 10.8 Mountain Lion on my Asus P8Z77-V and Intel i7-2700K PC here. What I neglected to say at the time was that an alarming number of creeping instabilities led me to ultimately abandon running Mountain Lion on my PC and return to Windows 7.

I later learned that some of these instabilities were likely linked to a bad PSU and video card–both of which were replaced by the manufacturers under warranty (awesome kudos to Antec and EVGA). With the new PSU and video card, my PC returned to 100% stability under Windows 7. This made me wonder if I could try rolling out a Mavericks installation on my PC.

Also, I wanted to use Mac OS X’s superior file content search technology and other third-party textual analysis tools in my research. I have a MacBook Pro 15″ retina (MBPr), but it lacks the hard drive capacity for my accumulated research files. The comfort that I feel in the MacOS environment and the need for lots of fast storage led me to turn my attention back to turning my PC into a CustoMac (aka “hackintosh”).

This time, I wanted to streamline and simply my setup as much as possible and incorporate components that should work out of the box (OOB). Toward this end, I reduced my hardware configuration from this:

  • ASUS P8Z77-V LGA 1155 Z77 ATX Intel Motherboard (disabled on-board Intel HD 3000 video and Asus Wi-Fi Go! add-on card)
  • Intel Core i7 2700K LGA 1155 Boxed Processor
  • Corsair XMS3 Series 16GB DDR3-1333MHz (PC3-10666) CL 9 Dual Channel Desktop Memory Kit (Four 4GB Memory Modules)
  • evga 01G-P3-1561-KR GeForce GTX 560 Ti 1024MB GDDR5 PCIe 2.0 x16 Video Card
  • Antec High Current Gamer 750W Gamer Power Supply HCG-750
  • Corsair Vengeance C70 Gaming Mid Tower Case Military Green
  • Cooler Master Hyper 212 Plus Universal CPU Cooler
  • Samsung 22X DVD±RW Burner with Dual Layer Support – OEM
  • Intel 128 GB SATA SSD
  • Western Digital Caviar Green WD10EARX 1TB IntelliPower 64MB Cache SATA 6.0Gb/s 3.5″ Internal Hard Drive – Bare Drive
Using on-board video and no ASUS wifi card.
Using on-board video and no ASUS wifi card.

to this:

  • ASUS P8Z77-V LGA 1155 Z77 ATX Intel Motherboard (using on-board Intel HD 3000 video and removing Asus Wi-Fi Go! add-on card)
  • Intel Core i7 2700K LGA 1155 Boxed Processor
  • Corsair XMS3 Series 16GB DDR3-1333MHz (PC3-10666) CL 9 Dual Channel Desktop Memory Kit (Four 4GB Memory Modules)
  • evga 01G-P3-1561-KR GeForce GTX 560 Ti 1024MB GDDR5 PCIe 2.0 x16 Video Card (removed to simply setup and save power–who has time for gaming?)
  • Antec High Current Gamer 750W Gamer Power Supply HCG-750
  • Corsair Vengeance C70 Gaming Mid Tower Case Military Green
  • Cooler Master Hyper 212 Plus Universal CPU Cooler
  • Samsung 22X DVD±RW Burner with Dual Layer Support – OEM
  • Intel 128 GB SATA SSD
  • Three Western Digital HDDs for file storage and work space. 
IoGear GBU521 and TP-Link TL-WDN4800 from Microcenter.
IoGear GBU521 and TP-Link TL-WDN4800 from Microcenter.

Also, I added two new components that were recommended from the TonyMacx86 Forums:

  • TP-Link 450Mbpx Wireless N Dual Band PCI Express Adapter (TL-WDN4800). It works in Mavericks OOB.
  • IoGear Bluetooth 4.0 USB Micro Adapter (GBU521). It works in Mavericks OOB.
DSC01487
ASUS’s Wi-Fi Go! card works great in Windows 7, but it caused problems with my Mavericks installation.

As noted above, I physically removed my 560 Ti video card, because I wanted to simply my setup for installation purposes. Also, I removed the ASUS Wi-Fi Go! add-on card, because despite disabling it in BIOS, the Mavericks installer seemed to hang on a wi-fi device while attempting to set its locale (a setting that determines what radio settings to use based on the country that you happen to be in). After I removed the Wi-Fi Go! card, I had a nearly flawless Mavericks installation process (NB: removing the Wi-Fi Go! card required removing the motherboard, turning it over, removing a screw holding in the Wi-Fi Go! card, turning the motherboard over, and unplugging the Wi-Fi Go! card).

These are the steps that I used to install Mavericks on my PC:

  1. Follow TonyMac’s Mavericks installation guide for making an installation USB drive and installing Mavericks.
  2. Following installation of Mavericks, boot from your USB drive, select your new Mavericks installation drive, arrive at the desktop, and run Multibeast.
  3. Select these settings in Multibeast:
    1. Quick Start > DSDT Free (I left all pre-selected options as-is. Below are additional selections that I made.)
    2. Drivers > Audio > Realtek > Without DSDT > ALC892
    3. Drivers > Disk > 3rd Party SATA
    4. Drivers > Graphics > Intel Graphics Patch for Mixed Configurations
    5. Drivers > Misc > Fake SMC
    6. Drivers > Misc > Fake SMC Plugins
    7. Drivers > Misc > Fake SMC HWMonitor App
    8. Drivers > Misc > NullCPUPowerManagement (I don’t want my machine to go to sleep)
    9. Drivers > Misc > USB 3.0 – Universal
    10. Drivers > Network > Intel – hank’s AppleIntelE1000e
    11. Customize > 1080p Display Mode
    12. Build > Install
  4. Repair Permissions on Mavericks drive from /Applications/Utilities/Disk Utility
  5. Reboot
  6. Run Chameleon Wizard (this will fix a problem that you might have with connecting to the App Store)
  7. Click SMBios > Edit > Premade SMBioses > choose MacPro 3,1 > Save
  8. Reboot
  9. CustoMac should now be fully operational!

In order to arrive at the above instructions, I read a lot of first hand experiences and third party suggestions on TonyMac’s forums. I owe a tremendous debt of gratitude to the amazing community of CustoMac builders who take the time to share their thoughts and lessons and equally so to the tool-builders who create amazing software including UniBeast, Multibeast, and Chameleon Wizard!

I would suggest that you remember that there is not always one path to a successful build. I distilled a lot of posts into my successful build. Your experience with similar hardware might take a different path. Reading others experiences and trying their suggestions experimentally can lead to your own successful discoveries. Thus, I took the time to try out different configurations of hardware until settling on the stripped down approach with on-board video and OOB networking gear. I tried several different installations: a failed Mavericks installation with kernel panics (Wi-Fi Go! card installed and wrong Multibeast configuration), a successful Mountain Lion installation (barebones and correct Multibeast configuration), and a successful Mavericks installation (detailed above).

Obviously, MacOS X can run on a wide range of PC hardware given the correct drivers, configuration information, etc. Apple could do great things if only Tim Cook and others would think differently and move beyond the tightly integrated hardware-software experience. Apple’s engineers could do great things with building better operating systems that adapt to a person’s hardware. Given the chance, they could challenge Microsoft and Google with a new MacOS X that is insanely great for everyone–not just those who can afford to buy new hardware.

Now, back to using some of the tools that I use in my research on a computing platform that I enjoy:

Steps for Installing Mac OS X 10.8 Mountain Lion and Ubuntu 13.04 Raring Ringtail in Dualboot Configuration on MacBook Pro Retina 10,1

Ubuntu's Circle of Friends Logo.
Ubuntu Circle of Friends Logo.

There are a number of useful guides to installing Mac OS X and Ubuntu in a dual boot configuration on Macintosh hardware such as James Jesudason’s guide here or Alex Victor Chan’s guide here. However, I ran into a problem with Mac OS X 10.8 Mountain Lion not waking from sleep due to using the rEFInd bootloader (more information about this problem documented on this thread).

The following is the process that I used for successfully having Mac OS X and Ubuntu play well together on my MacBook Pro Retina (MacBookPro10,1) (15.4″/2.6 Quad-core i7/8GB/512 GB SSD)

  1. Using a Mac OS X 10.8 bootable USB flash drive (create your own by following the DIY instructions here), partition your drive into two equal partitions with Disk Utility. Format the first partition as Mac OS Extended (Journaled) and the second as free space.
  2. Install Mac OS X on the Mac OS Extended (Journaled) partition.
  3. Boot into Mac OS X, download the rEFIt bootloader, and install it in Mac OS X. Reboot your Mac twice and you should see the rEFIt bootloader screen appear after the second reboot. It will have your Mac OS X installation highlighted. Press Enter to boot.
  4. Create a bootable USB Ubuntu disk with this guide for Mac OS X. It will involve downloading the Ubuntu 13.04 ISO image, converting it for Mac OS X, and using terminal commands to write the converted image to your USB drive. When it is all done, Mac OS X will not recognize the disk and ask you to initialize it. Choose “Ignore.”
  5. Reboot your MacBook Pro with the Ubuntu USB drive inserted. rEFIt will give you the option to boot Mac OS X (Apple icon) or Ubuntu (this might appear as two separate icons depicting four squares in a diamond configuration). Choose the first Ubuntu icon with the arrow keys on the keyboard, press Enter.
  6. Next, GRUB, another bootloader, will appear as white text over a black background (like DOS) and give you options to Try Ubuntu or Install Ubuntu. Unlike the other guides, I suggest selecting Install Ubuntu from this menu.
  7. The Ubuntu installer will guide you through the setup process. The only setting that you have to select is “Install alongside Mac OS X.” The Ubuntu installer will automatically find the free space partition that you created earlier, partition it in a way that Ubuntu anticipates, and install Ubuntu and its included software.
  8. At the end of the installation, it will return to a text-based screen and prompt you to remove the installation USB drive and press a key to reboot.
  9. After rebooting, rEFIt should show your Mac OS X installation (Apple logo) and Ubuntu represented by three stacked, colorful boxes (subtitled: EFI\ubuntu\grubx64.efi from EFI). Select the Ubuntu installation with the arrow keys and press Enter. GRUB will appear, select Ubuntu and hit Enter.
  10. The Ubuntu desktop should load very quickly, but it will appear very tiny at the native resolution of the MacBook Pro Retina’s 2880 x 1800 resolution. To adjust the resolution, click on the Gear/Wrench icon in the launch bar on the left to enter system settings. Click on Displays, choose a new resolution (I use 1680 x 1050), click Apply, and Confirm.
  11. The status bar at the top of the screen will show familiar icons for Bluetooth, WiFi, sound, and system/shut down (If Ubuntu does not automatically detect your WiFi card, you can download this package and its three dependencies from within Mac OS X, put them on a USB drive, reboot into Ubuntu, install each from terminal using the “sudo dpkg -i filename.deb” command for each–though, leave the Broadcom deb package for last. I downloaded the nightly build of 13.04, which I believe has this package on the installation disk.).
  12. To switch between installations, simply reboot the one that you are in and select the system that you want to run from rEFIt.
Apple's friendly byte.
Apple’s friendly byte.

Now, you can run Ubuntu or Mac OS X on your MacBook Pro. Here are some important things that you should do in Ubuntu after installation.

Also, it is possible to take GRUB out of the equation by installing Ubuntu with the “ubiquity -b” command from within the Live CD version of Ubuntu and configuring rEFInd or rEFIt, but I had trouble getting Ubuntu to boot following Jesudason’s guide for rEFInd (the fault is likely with what I did and not his thorough instructions). I can live with GRUB if it means that I can get my work done in these two computing environments on my MacBook Pro.

If there is interest among Brittain Fellows, I can incorporate this into the series of DevLab Workshops that I am planning for the upcoming year.

Adventures with a CustoMac: My Instructions for Turning Asus P8Z77-V Based PC into a Screaming-Fast Hackintosh

16 GB Transcend Flash Drive from NOVA in Taipei, Taiwan
16 GB Transcend Flash Drive from NOVA in Taipei, Taiwan

My friend sent me a link to a video by someone who turned an older Core2Duo-based Dell Optiplex into a Hackintosh. The video convinced me to do something that I had been meaning to do for a long time but had never got around to actually doing: removing Windows 7 on my ASUS P8Z77-V/Intel i7-based PC that I built late last year and  installing Mac OS X 10.8.

A Hackintosh, or what some folks call a CustoMac, is a standard PC that runs one of the Intel-based version of Mac OS (this includes 10.4 Tiger, 10.5 Leopard, 10.6 Snow Leopard, 10.7 Lion, and 10.8 Mountain Lion).

Prior to this project, I had purchased Mountain Lion from the MacApp Store for my old MacBook 5,1 (Aluminum Unibody, Late-2008). When my parents gifted me a rMPB, it already had Mountain Lion installed. This gave me the needed components that I needed to setup my flash drive to install Mac OS on my PC: a Mac and a purchased copy of Mountain Lion.

According to the definitive source for creating CustoMacs, TonyMacx86, my hardware isn’t ideally suited for a pain-free installation (If you are beginning from scratch, you should check out TonyMacx86’s excellent buyer’s guide here). Nevertheless, I worked my way through six re-installations before discovering the combination of settings that yielded a reliable and stable Mountain Lion installation.

This is my PC’s hardware configuration:

  • ASUS P8Z77-V LGA 1155 Z77 ATX Intel Motherboard
  • Intel Core i7 2700K LGA 1155 Boxed Processor
  • Corsair XMS3 Series 16GB DDR3-1333MHz (PC3-10666) CL 9 Dual Channel Desktop Memory Kit (Four 4GB Memory Modules)
  • evga 01G-P3-1561-KR GeForce GTX 560 Ti 1024MB GDDR5 PCIe 2.0 x16 Video Card
  • Antec High Current Gamer 750W Gamer Power Supply HCG-750
  • Corsair Vengeance C70 Gaming Mid Tower Case Military Green
  • Cooler Master Hyper 212 Plus Universal CPU Cooler
  • Samsung 22X DVD±RW Burner with Dual Layer Support – OEM
  • Intel 128 GB SATA SSD
  • Western Digital Caviar Green WD10EARX 1TB IntelliPower 64MB Cache SATA 6.0Gb/s 3.5″ Internal Hard Drive – Bare Drive

These are the steps that led to my successful Mountain Lion installation:

  1. Follow TonyMacx86’s UniBeast (the software that prepares your installation media) and Mountain Lion installation guide here. I have modified the instructions below to reflect what I did after creating my bootable flash drive containing the Mountain Lion installer and a folder that I made containing MultiBeast (the software that configures your Mountain Lion installation for your computer’s hardware). (Depending on your needs, you might need other software, including MaciASL, which can create a DSDT file–another kind of configuration file for MultiBeast that gives Mac OS the information that it needs to run well on your hardware. You will need to configure it with sources  from PJALM’s DSDT Patch Repositories. Ultimately, I decided to proceed with a DSDT-free installation.)
  2. Turn on the PC with the flash drive inserted on one of the front mounted USB 3.0 slots.
  3. Press F8 to select bootup device and select the flash drive.
  4. Chimera, the bootloader software, provides you with an option to select the flash drive’s Mac OS installation to boot. If you press the down arrow key on the keyboard, you will be presented with other options including help. If you begin typing, you can enter commands to assist with booting the installer.
  5. On the Chimera boot selection screen, type “PCIRootUID=0”. Press Enter. This ensures that the installer’s Mac OS installation will display video correctly. Without this option, the screen goes dark after the Apple logo over gray screen.
  6. From the Mac OS installer menu bar, select Utilities > Disk Utility > Format your boot drive for Mac OS Extended, Journaled. Close the Disk Utility window to return to the installer. Proceed with installation. Reboot when completed.
  7. Press F8. Select the flash drive. At the Chimera screen, select your internal hard drive’s new Mac OS Mountain Lion installation, type in “PCIRootUID=0”, and press Enter.
  8. Mountain Lion will boot from your hard drive and begin the setup procedure (choosing location, creating your Admin account, etc.).
  9. If you have already downloaded MultiBeast and placed it in a new folder on your flash drive, open your flash drive from the Desktop, navigate to MultiBeast, and launch it.
  10. Proceed to the selection screen and check these things:
    1. UserDSDT or DSDT-Free Installation
    2. Drivers & Bootloaders > Drivers > Audio > Realtek ALC8xx > Without DSDT > ALC892
    3. Drivers & Bootloaders > Drivers > Network > hnak’s AppleIntelE1000e Ethernet
    4. Drivers & Bootloaders > Drivers > Miscellaneous > USB 3.0 – Universal
    5. Drivers & Bootloaders > Drivers > System > Patched AppleIntelCPUPowerManagement > OS X 10.8.x
  11. Complete installation and close MultiBeast.
  12. Navigate to Applications > Utilities > Disk Utility. Select your hard drive and click Repair Permissions. When completed, close Disk Utility, eject your flash drive and remove from the USB port, and reboot.
  13. When back at the Desktop, go to System Preferences > Energy Saver > Disable Computer Sleep by sliding the widget to the far right.
  14. Plug your computer into your router with an ethernet cable if you have not already done so. You can easily get online with the wired connection.
  15. Your installation is complete!
Mac OS X 10.8.4 desktop showing CPU and memory. Everything is running a-okay!
Mac OS X 10.8.4 desktop showing CPU and memory. Everything is running a-okay!

I chose to go this route, because I could not get Mac OS to boot with the DSDTs that I created with MaciASL (using the configuration for the P8Z77-V motherboard and graphics source per PJALM’s instructions). My problems could have been related to the DSDT or due to incompatibilities between its settings and my P8Z77-V’s BIOS ROM version (I was unable to use the motherboard’s BIOS Flashback feature to successfully load one of these hacked BIOS ROMs on this site). Apparently, if you can get the DSDT to install correctly and have the hacked BIOS, you will be able to enjoy power management settings and control. Since I have my computer only on when I am using it, I do not have any problem with this lack of functionality. Since installation, my Hackintosh has been running great. It is snappy, video and sound work great, network connectivity is fine, and Doom 3 plays fantastically at 1080p!

After the installation, I discovered one tremendous problem: FileVault cannot be activated for your boot drive. Apparently, this is due to FileVault needing a real Mac’s EFI environment (or the error message that it generates indicates that it has to do with its inability to re-partition the bootdrive–likely due to the Chimera bootloader). As far as I can tell from reading posts on the TonyMacx86 forums, there is no way around this problem. One option would be to save your files in a TrueCrypt container or fully encrypted drive that is separate from your bootdrive. Another way is to use TrueCrypt full disk encryption as detailed on this helpful blog post from Frugal Computing (FC also has some great articles about building Hackintoshes).

Others in the TonyMacx86 forums have had varying levels of success with the Asus P8Z77-V and Mountain Lion, so I do not want to dissuade you from attempting to get more functionality on your installation. The above is simply a report of what worked for me. It might work for you, and it might give you a beginning for your own Hackintosh project.

Going Back in Time to Mac OS 10.5 Leopard

Before Christmas, I had had enough with Mac OS X 10.7 Lion. Despite my Late-2008 Aluminum MacBook having 8 GB of RAM and a speedy hard drive, Lion would consistently drag to a slow crawl. Generally, the RAM hog was the new Safari, but some system processes were also taking hundreds of MBs of RAM. Of course, when my Free RAM disappeared, the system would become sluggish. I thought that all of this was very odd, not just in the memory usage by the OS, but also in Safari, since I don’t run with Flash or any extensions enabled.

So, I decided to go back to basics. I made a bootable 16 GB USB drive with two partitions: one for Mac OS X 10.5 Leopard and one for my MacBook’s application restore DVD. I made each partition 8 GB, and I created the first partition with a GUID partition table so that it would boot on the Mac. I then restored the Leopard and applications DVDs that came with my MacBook to each partition respectively. Finally, I booted from the USB drive, formatted my internal hard drive, and reinstalled Leopard, Apple’s apps, and other apps that I regularly use (e.g., Microsoft Office 2011).

As they say, Leopard was built for speed, Snow Leopard for security, and Lion for Apple’s increasingly firm grasp on the desktop computing experience. I might not have access to the Mac App Store, iCloud, or the latest version of Safari, but I do have a snappy computer again that does everything that I need it to do. I might not expect any future security updates, but I can be smart about my online computer use, run ClamAV in the background, keep installed apps to a minimum, and patch any holes in the software that I do run.

I suppose there is a point where Apple’s regular release cycle of faster operating system experiences for older hardware had to end. I also suppose that we have passed that point with the transition from Leopard to Snow Leopard to Lion. Apple has big plans for Lion and its increasingly iOS-like user-experience. As they layer those things that work well on touch-devices like the iPhone and iPad on the non-touch Macs, it begins to weigh down what was an otherwise agile operating system. This trend increasingly makes me wonder if convergence is such a good idea. I am growing more dubious of this trend as time goes by. Additionally, I am growing increasingly concerned about the hardware and software development cycle. Getting people to buy more things certainly drives innovation through sales, but I see a lot of good things in older technology like Leopard. Also, what is the effect on the environment by our continuing desire to own new computer technology while discarding the old?

I am investigating hardware and software of a long bygone era in old PCs. Certainly motivated by nostalgic feelings, I want to uncover in the archaeology of computing things that used to work that we have gotten away from. What works and could still work today despite being 10, 15, 20 years old? What can we learn from old software? What can we continue to enjoy from old software? I will write on this more in the near future.

Stochastic Update, Reinstall Complete, Workshops

My Late-2008, Aluminum MacBook is back up and running with Lion, Aperture, and Office. After installation, everything is updated and running nicely. It’s too bad that Apple dropped support for Mac OS X 10.5 Leopard. I had considered getting back to basics for this particular Mac model, but had I done so, I would not be able to receive any security update or run the most up-to-date Safari web browser.

While restoring files, I have taken some time to trim the fat so that I have a leaner, meaner installation.

Not much else to report besides dissertation writing.

Oh, I do have some new workshops designed for the spring semester digital composition workshops. I will post those soon here so that you can have a sneak peak.

That is all . . .