Turn Your PC into a Mac…

February 8, 2008 · 149 comments

in Hackintosh,Software,Tutorials

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
2 GB RAM
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

Patches
- SSE2 SSE3 kernel
- Remove CPUPowerManagement driver
- Remove Thermal kexts

System
- SATA
- 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
  • http://blacksocks.wordpress.com/ blacksocks

    @jeff

    I’m not sure what’s wrong. If you followed the steps exactly, it should work as it did on mine and others who did the same thing.

  • Ilyace

    Never mind, I fixed the issue i had earlier by applying the r2 ppf patch to the iso. Now everything works great, except for the fact that when i get to disk utility, my hard drive is not recognized. I have a Seagate 250gb sata hdd. What can i do to fix this?

  • Ilyace

    @ blacksocks

    I have no AHCI option in my bios. I have the 650i Ultra motherboard btw. Anything else?

  • http://blacksocks.wordpress.com/ blacksocks

    @raine

    I’ve heard of people successfully installing Leopard on a Pentium 4 as long as it supports SSE2 or SSE3. EFI only supports Core2Duo though.

  • http://blacksocks.wordpress.com/ blacksocks

    @Vellos

    Did you exactly follow the steps in the Bootfix patch?

  • http://blacksocks.wordpress.com/ blacksocks

    @ilyace

    Make sure SATA is set to AHCI in BIOS.

  • http://blacksocks.wordpress.com/ blacksocks

    @jeff

    I’m not sure what’s wrong. If you followed the steps exactly, it should work as it did on mine and others who did the same thing.

  • Ilyace

    @ blacksocks

    I have no AHCI option in my bios. I have the 650i Ultra motherboard btw. Anything else?

  • Vellos

    @ blacksocks

    This happens before it installs leopard, when i boot off the dvd for the first time.

  • Vellos

    @ blacksocks

    This happens before it installs leopard, when i boot off the dvd for the first time.

  • Ilyace

    Ok, I installed a patch i found and it now disk utility recognizes my hard drive! I went on ahead and followed the steps, and I’m now installing, hopefully everything will work. Great guide by the way!

  • Ilyace

    Ok, I installed a patch i found and it now disk utility recognizes my hard drive! I went on ahead and followed the steps, and I’m now installing, hopefully everything will work. Great guide by the way!

  • Ilyace

    Everything works up to the bootfix patch part. On step 7 it when i type in ./dd(etc…) it says permmission to dd is denied

  • Ilyace

    Everything works up to the bootfix patch part. On step 7 it when i type in ./dd(etc…) it says permmission to dd is denied

  • Ilyace

    Never mind fixed that…lol i keep fixing my own mistakes.

  • Ilyace

    Alright, now i followed every step correctly, and i did the bootfix patch. Then i restart my pc with the dvd still inside, and i wait for the countdown. When it gets to 0, it shows me my two partitions, the Leopard one, and an XP one i made. I highlight the Leopard partition, and i press enter, but it does nothing. I’ve even tried doing -v, or -v -x, or ?, but it just flashes and the same screen comes back on. How can i fix this? I’ve been trying to get Leopard to work for days now.

  • Ilyace

    Never mind fixed that…lol i keep fixing my own mistakes.

  • Ilyace

    Alright, now i followed every step correctly, and i did the bootfix patch. Then i restart my pc with the dvd still inside, and i wait for the countdown. When it gets to 0, it shows me my two partitions, the Leopard one, and an XP one i made. I highlight the Leopard partition, and i press enter, but it does nothing. I’ve even tried doing -v, or -v -x, or ?, but it just flashes and the same screen comes back on. How can i fix this? I’ve been trying to get Leopard to work for days now.

  • cervus

    @jeff,

    Im having the exact problem, cannot access the USB drive for bootfix, it is not showing up in Volumes nor can I browse to it, but I can see the drive on diskutil, how did you solve this?

  • cervus

    @jeff,

    Im having the exact problem, cannot access the USB drive for bootfix, it is not showing up in Volumes nor can I browse to it, but I can see the drive on diskutil, how did you solve this?

  • http://blacksocks.wordpress.com/ blacksocks

    @ilyace

    I’m not sure what’s causing your boot problem. You can try -r -x or cpus=1. Make sure your partition is MBR not GUID. You can also try different options in the Customize of the installation disc. I did that myself several times until I found what works for my PC.

  • http://blacksocks.wordpress.com/ blacksocks

    @ilyace

    I’m not sure what’s causing your boot problem. You can try -r -x or cpus=1. Make sure your partition is MBR not GUID. You can also try different options in the Customize of the installation disc. I did that myself several times until I found what works for my PC.

  • Ilyace

    Here is what I think is the problem: When I do the bootfix patch, The first thing I do (After finding what partition/hdd #) is to type this in: fdisk -e /dev/rdisk0…Now on your example, from then on, it is supposed to say fdisk: 0>…but mine says fdisk: 1>…I think this could be the problem. Do you know how to fix it?

  • Ilyace

    Here is what I think is the problem: When I do the bootfix patch, The first thing I do (After finding what partition/hdd #) is to type this in: fdisk -e /dev/rdisk0…Now on your example, from then on, it is supposed to say fdisk: 0>…but mine says fdisk: 1>…I think this could be the problem. Do you know how to fix it?

  • rabalder1

    I have a marvell yukon 88e8055 card and cant find what key that card has, any one who knows ?

  • rabalder1

    I have a marvell yukon 88e8055 card and cant find what key that card has, any one who knows ?

  • Ilyace

    I tried out some different options, and it worked!!! I am very happy and thank you for a great guide! Now can you help me get my 8800GTS 512 (G92) working? Thanks.

  • Ilyace

    I tried out some different options, and it worked!!! I am very happy and thank you for a great guide! Now can you help me get my 8800GTS 512 (G92) working? Thanks.

  • w00t

    Marvel Yukon-88E8036 for me.
    ID 4351
    I tried to edit the Info.plist file but I can’t modify it. I copy/pasted the exact line you said above but it doesn’t do anything. If I open it in textedit I can’t save it either.

  • w00t

    Marvel Yukon-88E8036 for me.
    ID 4351
    I tried to edit the Info.plist file but I can’t modify it. I copy/pasted the exact line you said above but it doesn’t do anything. If I open it in textedit I can’t save it either.

  • http://blacksocks.wordpress.com/ blacksocks

    @w00t

    You need to use the Terminal app and not open it in Finder.

  • http://blacksocks.wordpress.com/ blacksocks

    @w00t

    You need to use the Terminal app and not open it in Finder.

  • Pingback: A Better Hackintosh: Fixing the Spots in Leopard « BlackSocks

  • Pingback: A Better Hackintosh: Fixing the Black Spots in Leopard « BlackSocks

  • gsdmstf

    After a successful install I get stuck identifying the keyboard i.e. it seems to see the keyboard correctly by pressing the keys to the left and the right of the shift key but after the last “continue” it sits there for a while and goes back to keyboard cannot be identified. Any ideas?

    Thank you,

  • gsdmstf

    After a successful install I get stuck identifying the keyboard i.e. it seems to see the keyboard correctly by pressing the keys to the left and the right of the shift key but after the last “continue” it sits there for a while and goes back to keyboard cannot be identified. Any ideas?

    Thank you,

  • gsdmstf

    got it passed keyboard. How about Ethernet and nVidia 7600 drivers in this distribution. I have the ASUS M2N4-SLI and can’;t seem to get Ethernet, sound and a display resolution greater than 1024×768 going. Any help is greatly appreciated.

  • gsdmstf

    got it passed keyboard. How about Ethernet and nVidia 7600 drivers in this distribution. I have the ASUS M2N4-SLI and can’;t seem to get Ethernet, sound and a display resolution greater than 1024×768 going. Any help is greatly appreciated.

  • Simon

    Thanks for this great how-to. You’re the only one that seems to provide any help for someone who wanted to upgrade to the r2 version…

    I’ve got OS X installed and it seems to work alright… But I’ve got 2 minor problems.

    The first… I used EasyBCD to setup the boot.ini so that it would prompt me to select either Vista or Mac when the laptop was booting up… It setup everything itself, but seems to work. When I select Mac OS X, it loads the bootloader, but then just sits at “boot:” and that’s all…

    Second is that when I log in and start setting up the settings… I get past the language, US, etc… But then when I select the setting that I don’t want to transfer any documents over… It sits and spins the little swirly cursor for anywhere from 30-60 seconds, then quits and goes back to the first screen…

    If I select another option, it moves on, but I don’t have any documents to transfer over… Any fix for this? How do I get past it?

  • curlyjoe

    In the “iATKOS Leopard installation” section I get to step 14 and it looks like it’s going to install, but then it only gets to about 2-3% and then it freezes. I suspect this must have something to do with the options I selected in step 13. I don’t have DuoCore machine, and I don’t know if my processor supports SEE2/SEE3 (how can I determine this). I also don’t know if it’s important to have an exact match on the Display, NIC, or Wireless drivers. I have a Compaq nw8240 laptop with a 2GHz cpu and 1G of RAM.

    Thanks in advance for any help you can provide.

  • Simon

    Thanks for this great how-to. You’re the only one that seems to provide any help for someone who wanted to upgrade to the r2 version…

    I’ve got OS X installed and it seems to work alright… But I’ve got 2 minor problems.

    The first… I used EasyBCD to setup the boot.ini so that it would prompt me to select either Vista or Mac when the laptop was booting up… It setup everything itself, but seems to work. When I select Mac OS X, it loads the bootloader, but then just sits at “boot:” and that’s all…

    Second is that when I log in and start setting up the settings… I get past the language, US, etc… But then when I select the setting that I don’t want to transfer any documents over… It sits and spins the little swirly cursor for anywhere from 30-60 seconds, then quits and goes back to the first screen…

    If I select another option, it moves on, but I don’t have any documents to transfer over… Any fix for this? How do I get past it?

  • Simon

    Update on my situation… I got past the second problem. I was able to get the settings all finished and was able to mess around a bit. Still need to figure out the problem with the booting… I tried the bootfix you posted, except my flash drive isn’t recognized… Maybe I’ll try it now that I’m in OSX and see if that’ll fix the problem

    @curlyjoe – How long did you wait at the 2-3%? Mine seemed to hang up for a few minutes at the same spot, but then jumped a good 15% right away and then continued on… I’d just let it sit for a bit to see if that helps.

  • curlyjoe

    In the “iATKOS Leopard installation” section I get to step 14 and it looks like it’s going to install, but then it only gets to about 2-3% and then it freezes. I suspect this must have something to do with the options I selected in step 13. I don’t have DuoCore machine, and I don’t know if my processor supports SEE2/SEE3 (how can I determine this). I also don’t know if it’s important to have an exact match on the Display, NIC, or Wireless drivers. I have a Compaq nw8240 laptop with a 2GHz cpu and 1G of RAM.

    Thanks in advance for any help you can provide.

  • Simon

    Update on my situation… I got past the second problem. I was able to get the settings all finished and was able to mess around a bit. Still need to figure out the problem with the booting… I tried the bootfix you posted, except my flash drive isn’t recognized… Maybe I’ll try it now that I’m in OSX and see if that’ll fix the problem

    @curlyjoe – How long did you wait at the 2-3%? Mine seemed to hang up for a few minutes at the same spot, but then jumped a good 15% right away and then continued on… I’d just let it sit for a bit to see if that helps.

  • curlyjoe

    After reboot I got the blinking cursor. I followed the bootfix patch instructions. Then I rebooted. I get a screen from Darwin asking me for boot options. It shows “hd (0,1) Leopard” and I type in “-v” but nothing happens. The screen blinks very briefly and I get back to the same prompt. The system will not boot. Any ideas? Thanks again in advance for any help you can provide.

    @Simon – You were right. Note to self: be more patient while installing.

  • curlyjoe

    After reboot I got the blinking cursor. I followed the bootfix patch instructions. Then I rebooted. I get a screen from Darwin asking me for boot options. It shows “hd (0,1) Leopard” and I type in “-v” but nothing happens. The screen blinks very briefly and I get back to the same prompt. The system will not boot. Any ideas? Thanks again in advance for any help you can provide.

    @Simon – You were right. Note to self: be more patient while installing.

  • skron

    Hi! I tried several different keyboards (ps2 and usb) but no luck.Instalation is very simple untill I must enter some letters…Only some special function keys working:audio level adjusting,dvd door opening – but nothing else.No matter what language or keyboard chose from drop-down menu! “AulonAlbania” says:”… I put an adapter, ps2 to usb and everything solved…”
    Is there any difference between usb keyboard and ps2 keyboard+usb adapter? Adapter like this:
    ONE is hard to find.Installed it on Gigabyte P35,E8200,2Gb,Ati7950…

  • skron

    Hi! I tried several different keyboards (ps2 and usb) but no luck.Instalation is very simple untill I must enter some letters…Only some special function keys working:audio level adjusting,dvd door opening – but nothing else.No matter what language or keyboard chose from drop-down menu! “AulonAlbania” says:”… I put an adapter, ps2 to usb and everything solved…”
    Is there any difference between usb keyboard and ps2 keyboard+usb adapter? Adapter like this:
    ONE is hard to find.Installed it on Gigabyte P35,E8200,2Gb,Ati7950…

  • curlyjoe

    @Ilyace

    Can you post what options you used? I read your posts and I’m having the exact same problems you had, at the exact same spots. I’ve got the OS installed, but it will not boot from the Darwin Bootloader menu. Thanks for your help.

  • curlyjoe

    OK, I tried chmod 777 on the dd/startupfiletool/bless so that I could run with “./” in front, and when I got to the bless command, I ran into some kind of problem which I don’t understand. Here is the command I entered and the output that followed:

    ./bless -device /dev/disk0s1 -setBoot -verbose
    EFI found at IODeviceTree:/efi
    Other partition scheme detected
    No auxiliary booter partition required
    Returning booter information dictionary:
    {type = mutable, count = 3, capacity = 3, pairs = (
    0 : {contents = “Auxiliary Partitions”} = {type = immutable, count = 0, values = ( )}
    2: {contents = “Data Partitions”} = {type = immutable, count = 1, values = ( 0 : {contents = “disk0s1″})}
    3: {contents = “System Partitions”} = {type = immutable, count = 0, values = ()}
    )}
    IOMedia disk0s1 does not have a partition UUID
    DADiskRef disk0s1 has Volume UUID C28B1DAD-8F2E-32DC-9EBA-D693D81CE286
    IOMedia disk0s1 has path IODeviceTree:/C003@0/C0A9@1F,1/C1E2@0/@0:1
    Could not find IODeviceTree:/options

    Please help. Thanks.

Previous post:

Next post: