Turn Your PC into a Mac…

by Eric Pena on February 8, 2008

I mean, Hackintosh!

Note: If you are building your Hackintosh for the first time, I recommend that you follow my latest tutorial here: http://menoob.com/hackintosh/hackintosh-install-a-mac-leopard-os-x-retail-dvd-on-a-pc/

Hackintosh – A Personal Computer that is running a patched Intel Mac OS X operating system; also called OSx86; or an ugly PC trying to look and behave like a Mac.

So I have a Hackintosh…one that I created almost a year ago. It runs an OSx86 version created by a guy who uses the name “Uphuck” in hacker forums. It is a hack of the Mac OS X Tiger version 10.4.9. Is this legal? If it is, then we wouldn’t be calling it a “hackintosh”. According to Apple Inc’s licensing, you can only legally run OS X on a “Single Apple-labeled computer” (in short, a Mac). So it is best to buy a real Mac if you want to use OS X for your everyday tasks. The problem is, there are a lot of people stuck with ugly beige boxes running MS Windows either by choice or by force. It becomes an issue by choice when they can’t afford a Mac, or if their employers give them no other choice, then it is by force. Ever since Apple ported their OS to the Intel platform, hacker communities have been all abuzz in making it run on PCs. If only Apple Inc. will allow OS X to run on ugly computer boxes…

Ok, enough of the intro. I am now going to document the process I followed in building a hackintosh running on Apples’ latest and greatest OS… Leopard version 10.5.1. I am doing this because  I regretted not doing it when I built my first hacked Tiger box. It would have saved me a lot of time and effort to run Leopard on basically the same hardware that I used previously. With this, I also hope you won’t need to scour and read many hackintosh forums and blogs (I suggest you do however to learn more) to get you up and running.

So here goes…

Hardware issues

If you have a Jmicron controller and an IDE DVD-RW drive, it is advisable to get an IDE to SATA converter to connect your drive as otherwise, you may have a hard time detecting your drives during the installation process. Also, you need to have your SATA Mode setting in the BIOS set to AHCI instead of IDE. If you are going to dual-boot Leopard with XP or Vista, I would recommend that you install them in separate hard drives. Although you can technically do it on a single drive with multiple partitions, I prefer the former because you won’t be affecting the installation of the other OS when you try making changes to one of the installations. Hard disks are cheap.

Here is the hardware specification of my hackintosh:

Foxconn G965 Motherboard
Intel Core 2 Duo 1.8 GHz Processor
ICH8R and Jmicron 361 Controller
NVidia 7200GS (same ID as 7300 SE)
Marvell Yukon Gigabit Ethernet
250 GB Hitachi SATA (Vista)
160 GB Seagate SATA (Tiger)
160 GB Samsung SATA (Leopard)
DVD-RW Drive (with IDE to SATA Converter)
19″ Samsung LCD

Creating the iATKOS v1.0r2 installation dvd

There are many OSx86 Leopard Install DVDs out there, BrazilMac, ToH, Kalyway, to name a few, but I just managed to select iATKOS because it was created by the same guy, Uphuck. So search the Web to download the iATKOS v1.0 installation files. Once done, head to the Uphuck Forum, http://uphuck.ggrn.de, and download the iATKOS PPF Patch r2 (make sure the files you are downloading have the same MD5 hash as the ones displayed in the forum). Extract the files and read the instructions on how to patch v1.0 with r2 to create the iATKOS v1.0r2 installation dvd. Many unnecessary files in the original Leopard installation discs have been removed. You only need to burn the iATKOS files in a single layer dvd.

iATKOS Leopard installation

1.    Boot your PC with the iATKOS installation dvd.
2.    Just press Enter during or after the Darwin/x86 bootloader countdown.
3.    Gray Apple Logo will appear. Wait for the next screen.
4.    On the first screen that comes up, press the arrow button to continue.
5.    On the Welcome Screen, select Utilities ->Disk Utility.
6.    Select the volume where you want to install Leopard (makes sure it is formatted with MBR instead of GUID) and then go to the Erase tab.
7.    In the Volume Format, select Mac OS Extended (Journaled), and set the volume name to “Leopard” (no quotes).
8.    Click Erase.
9.    Quit Disk Utility.
10.    Back to the Welcome Screen, click Continue.
11.    Select the Destination to install Leopard.
12.    Click Customize.
13.    Select the following:

– iATKOS v1.0i Main System

Bootloader (Darwin EFI)
– Darwin EFI bootloader
– Stock AppleACPIPlatform.kext
– Stock Kernel

– SSE2 SSE3 kernel
– Remove CPUPowerManagement driver
– Remove Thermal kexts

– AppleSMBIOS.kext nektas

Drivers (Depends on your video card)
– VGA -> NVidia -> NVinject -> 128MB

Network (Depends on your network card)
–    Marvell Yukon 88E8001

14.    Click Done and Install.
15.    Reboot.

If your system boots into Leopard, then you’re all done. However, if you get a blinking cursor, rebooting, kernel panic, or other boot errors, proceed with the bootfix patch below.

The Bootfix Patch

1.    Download the patch here.
2.    Extract the files to an external USB (flash or hard) drive preferably formatted with HFS (FAT or FAT32 may also work). Rename the label to 123.
3.    With the USB drive inserted, reboot your computer with the iATKOS installation dvd. Let the Darwin/x86 bootloader do the countdown and then press Enter. Once you are back on the Welcome Screen, go to Utilities -> Terminal.
4.    Find out what disk your Leopard is installed on. It will be something like rdiskXsY, where X is the disk number and Y is the partition number (ex. rdisk1s1). In the commands below, substitute X and Y accordingly.

Type the following:

diskutil list

5.    Make the partition Active

fdisk -e /dev/rdiskX
fdisk: 0>update
fdisk:*0> f Y
“Partition 2 marked active”
fdisk:*0> w
Device could not be accessed exclusively.
A reboot will be needed for changes to take effect. OK? [n] y
Writing MBR at offset 0.
fdisk: 0> q

6.    Access the bootfix directory in the USB drive.

cd /Volumes/123/files/bootfix

7.    Then type the following:

./dd if=/usr/standalone/i386/boot1h of=/dev/rdiskXsY bs=512 count=1
umount /Volumes/Leopard
./startupfiletool -v /dev/rdiskXsY /usr/standalone/i386/boot
./bless -device /dev/diskXsY -setBoot –verbose

8.    Reboot.

Initially, except for the network card, Leopard works perfectly on my hackintosh. Fortunately I posted my solution for the network card at the insanelymac forum when building my Tiger box. I just did the same for Leopard and voila! So if you have the same Marvell Yukon network card and you are having problems making it work, then don’t be shy to send me a comment. Once done, I just used the Migration Assistant to transfer my accounts and files from the Tiger installation on the other drive and made sure all applications are working just fine. Another few tweaks and my PC can dual-boot into Windows Vista or OS X Leopard.

The best thing about this iATKOS release i
s that it finally supports EFI booting. What this means is that regular PCs that meet the minimum hardware requirements can now be seen as real Macintoshes by the OS, allowing the use of unmodified “stock” Apple kernels, providing a more transparent and reliable operation. With this, it allows you to use OS X’s “Software Update” to install legit Apple updates without downloading any patches or 3rd party software. Indeed, except for the PC look, you now practically have a Mac!

One last thing, I noticed that my Leopard Hackintosh is as stable and even faster than my 2.2Ghz, 2Gb RAM Leopard MacBook Pro!

Related Posts with Thumbnails

{ 144 comments… read them below or add one }