Google

Turn Your PC into a Mac…

by Eric Pena on 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
  • 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.

  • Vellos

    If the iATKOS installation fails and you are unable to fix it, download Kalyway. It’s like iATKOS but much more reliable. Only problem is it is about 3.5 Gig. For me, iATKOS would not boot into the installation but Kalyway worked fine.

  • Vellos

    If the iATKOS installation fails and you are unable to fix it, download Kalyway. It’s like iATKOS but much more reliable. Only problem is it is about 3.5 Gig. For me, iATKOS would not boot into the installation but Kalyway worked fine.

  • Spotlight

    @ Ilyace: Can you please post the steps you took? I (and some other people on this page) am having the exact same problems, but I can’t seem to fix it. Any help would be greatly appreciated.

  • Spotlight

    @ Ilyace: Can you please post the steps you took? I (and some other people on this page) am having the exact same problems, but I can’t seem to fix it. Any help would be greatly appreciated.

  • Matt

    I get it installed and I go to do the bootfix, but the usb drive doesn’t show up. I tried with two different ones. Its not recognized in diskutil and its not in volumes. I am getting so frustrated, I have no idea what to do. Please help!

  • Matt

    I get it installed and I go to do the bootfix, but the usb drive doesn’t show up. I tried with two different ones. Its not recognized in diskutil and its not in volumes. I am getting so frustrated, I have no idea what to do. Please help!

  • curlyjoe

    OK I got it running.

    In customize:
    I left the defaults checked.
    I choose Darwin Bootloader x86
    I did not choose Darwin EFI or suboptions
    I chose the SSE2/SSE3 kernel options
    Under System I chose the ApplePMBIOS.kexts nektas or something like that
    Under Drivers|Network I chose Wireless Patch

    The system installed, rebooted, and booted up and got stuck in the “do you own a mac/xfer your files” loop. There was a simple fix for that… it’s posted on this page:
    http://www.freewebs.com/bass-2k7/dualbootiatkos

    Then I booted up and logged in just fine. Video and sound works. However, I have no network drivers or modem, so I can’t try to get other driver updates to get my hardware working. I tried to reinstall with Broadcom drivers for LAN since my NIC is a broadcom card, but it doesn’t match the chipset in the install. I hoped it would work and it did not.

    Any ideas/help getting network capability to work?

  • curlyjoe

    @matt – i had that problem too. you have to format your USB stick with HFS+ (MAC journaled) and extract the bootfix files to it. FAT16/32 were not recognized. in the end, i didn’t even have to use that bootfix deal. if you install from the 1.0ir2 DVD, if you choose the Darwin x86 it should just reload and boot up.

  • curlyjoe

    OK I got it running.

    In customize:
    I left the defaults checked.
    I choose Darwin Bootloader x86
    I did not choose Darwin EFI or suboptions
    I chose the SSE2/SSE3 kernel options
    Under System I chose the ApplePMBIOS.kexts nektas or something like that
    Under Drivers|Network I chose Wireless Patch

    The system installed, rebooted, and booted up and got stuck in the “do you own a mac/xfer your files” loop. There was a simple fix for that… it’s posted on this page:
    http://www.freewebs.com/bass-2k7/dualbootiatkosvista.htm

    Then I booted up and logged in just fine. Video and sound works. However, I have no network drivers or modem, so I can’t try to get other driver updates to get my hardware working. I tried to reinstall with Broadcom drivers for LAN since my NIC is a broadcom card, but it doesn’t match the chipset in the install. I hoped it would work and it did not.

    Any ideas/help getting network capability to work?

  • curlyjoe

    @matt – i had that problem too. you have to format your USB stick with HFS+ (MAC journaled) and extract the bootfix files to it. FAT16/32 were not recognized. in the end, i didn’t even have to use that bootfix deal. if you install from the 1.0ir2 DVD, if you choose the Darwin x86 it should just reload and boot up.

  • Matt

    Well reinstalling with just darwinx86 checked didn’t work, but the hfs+ format did for the usb drive. Now I guess I’m stuck not knowing which disk to use. When i run diskutil list i get disk0 being my main hard drive, but nothing about leopard is on it. It says disk1 has stuff on it, specifically disk1s2 is the iatkos install. Should i be using disk1s2 for the bootfix? And when I unmounted disk0, i can no longer access it after i rebooted, is there a way to mount disk0? Thanks for the help.

  • Matt

    Well reinstalling with just darwinx86 checked didn’t work, but the hfs+ format did for the usb drive. Now I guess I’m stuck not knowing which disk to use. When i run diskutil list i get disk0 being my main hard drive, but nothing about leopard is on it. It says disk1 has stuff on it, specifically disk1s2 is the iatkos install. Should i be using disk1s2 for the bootfix? And when I unmounted disk0, i can no longer access it after i rebooted, is there a way to mount disk0? Thanks for the help.

  • curlyjoe

    Yeah I’m not a *nix guy so I don’t know about the disk un/mounting, but I’m sure there’s a way. Try “man mount” for instructions… q to quit I think.

    diskutil list
    If you say disk1s2 has iATKOS, then yes I think that’s what you need to use for the bootfix.

  • curlyjoe

    Yeah I’m not a *nix guy so I don’t know about the disk un/mounting, but I’m sure there’s a way. Try “man mount” for instructions… q to quit I think.

    diskutil list
    If you say disk1s2 has iATKOS, then yes I think that’s what you need to use for the bootfix.

  • sarvaten

    Hi guys I get the steps one by one until I get the command:

    ./dd if=/usr/standalone/i386/boot1h of=/dev/rdiskXsY bs=512 count=1
    umount /Volumes/Leopard
    [and it says dd: count: illegal numeric value ]

    what do I do next :S

    thx in advance

  • sarvaten

    Hi guys I get the steps one by one until I get the command:

    ./dd if=/usr/standalone/i386/boot1h of=/dev/rdiskXsY bs=512 count=1
    umount /Volumes/Leopard
    [and it says dd: count: illegal numeric value ]

    what do I do next :S

    thx in advance

  • Ferg

    @VitasG – any success? I, too, have an ML3109 and am looking to give this a go…

  • Ferg

    @VitasG – any success? I, too, have an ML3109 and am looking to give this a go…

  • chickkun

    @ gsdmstf: I’m having the same keyboard identification loop problem. How did you get past it? Thanks.

  • chickkun

    @ gsdmstf: I’m having the same keyboard identification loop problem. How did you get past it? Thanks.

  • chickkun

    Keyboard identification loop solution can be found here:
    http://osx86leo4all.wikidot.com/known-issues#toc5

    I’ve tried this and it works!

    1. Disable your network card in your BIOS.
    2. Boot using -s flag
    3. Type in these commands at the prompt

    /sbin/fsck -fy
    /sbin/mount -uw /
    /sbin/mount -uw /
    passwd root ##it will ask you to enter a new password
    touch /var/db/.AppleSetupDone
    exit

  • chickkun

    Keyboard identification loop solution can be found here:
    http://osx86leo4all.wikidot.com/known-issues#toc5

    I’ve tried this and it works!

    1. Disable your network card in your BIOS.
    2. Boot using -s flag
    3. Type in these commands at the prompt

    /sbin/fsck -fy
    /sbin/mount -uw /
    /sbin/mount -uw /
    passwd root ##it will ask you to enter a new password
    touch /var/db/.AppleSetupDone
    exit

  • preston

    i put the iATKOS disk in and try to boot from it but then i get a bios error or something. wot does this mean and wot will i do to fix it

  • preston

    i put the iATKOS disk in and try to boot from it but then i get a bios error or something. wot does this mean and wot will i do to fix it

  • Anirudh

    i install iATKOS v1r2
    im my dell pc
    with intel core 2 duo
    4gb ram
    But after installing when booting to mac the apple grey logo appears but after that blnk screen comes ! Help?

  • Anirudh

    i install iATKOS v1r2
    im my dell pc
    with intel core 2 duo
    4gb ram
    But after installing when booting to mac the apple grey logo appears but after that blnk screen comes ! Help?

  • laxman

    when i install iATKOS, i chose all the options you suggested and when the screen say installing mac os x it the progress bar will stop about 1/4 of the way, i let it sit and nothing happens

  • laxman

    when i install iATKOS, i chose all the options you suggested and when the screen say installing mac os x it the progress bar will stop about 1/4 of the way, i let it sit and nothing happens

  • Pingback: Turn Your PC into a Mac… « BlackSocks

  • Pingback: menooB » Blog Archive

  • Pingback: menooB » Blog Archive » Turn Your PC Into A Mac w/ OS X Leopard 10.5.3

  • http://bob.com powertyuuytr

    kalyway is better iatkos is rubbish with red apple logo

  • http://bob.com powertoola

    i cant get past install it always say error

    long live i tried kalyway it is better as powertyuuytr said

  • http://bob.com powertoola

    rubbish tutorial

    and why partition (journaed)

  • http://bob.com powertyuuytr

    kalyway is better iatkos is rubbish with red apple logo

  • http://menoob.com menooB

    Thanks for the comments powertoola or is it powertyuutr? There is no single solution for creating a Hackintosh because of the myriad of PC hardware out there. I have tried iATKOS and Kalyway among others since Tiger, and so far, iATKOS v1.0ir2 has been the most stable and problem-free 10.5.1 installer on my hardware. iATKOS v1.0ir2 + Kalyway 10.5.2 is best for the 10.5.2 version and iATKOS v1.0ir2 + Mysticus 10.5.3 is the best for 10.5.3. Currently, iATKOS v_4i is working best on my PC than any other installer combinations for 10.5.4.

    So, if Kalyway works best for you then good for you. Just don’t trash the other installers as they work great for other people. Best of all, they’re given away for free so why complain?

  • http://bob.com powertoola

    i cant get past install it always say error

    long live i tried kalyway it is better as powertyuuytr said

  • http://bob.com powertoola

    rubbish tutorial

    and why partition (journaed)

  • http://menoob.com menooB

    Thanks for the comments powertoola or is it powertyuutr? There is no single solution for creating a Hackintosh because of the myriad of PC hardware out there. I have tried iATKOS and Kalyway among others since Tiger, and so far, iATKOS v1.0ir2 has been the most stable and problem-free 10.5.1 installer on my hardware. iATKOS v1.0ir2 + Kalyway 10.5.2 is best for the 10.5.2 version and iATKOS v1.0ir2 + Mysticus 10.5.3 is the best for 10.5.3. Currently, iATKOS v_4i is working best on my PC than any other installer combinations for 10.5.4.

    So, if Kalyway works best for you then good for you. Just don’t trash the other installers as they work great for other people. Best of all, they’re given away for free so why complain?

  • Sing

    I have the same thing, it shows fdisk: 1> instead of fdisk: 0>. Can you tell me how you fix it???

    Million thanks.

  • Jazzfest

    @curlyjoe:

    have you finally managed to fix the driver issue for the network chipset in you nw8240 laptop?

    thanks

  • Jazzfest

    @curlyjoe:

    have you finally managed to fix the driver issue for the network chipset in you nw8240 laptop?

    thanks

  • http://ma7a.com/ ohn

    this great.. i agree for this post.. you great

  • http://ma7a.com/ ohn

    this great.. i agree for this post.. you great

  • TinaMoran

    nice post for my essay writing

  • Frank_j_fierros

    how do i no if my sony vaio is compatible

  • http://www.writemyessay.biz/ write my essay

    If you have no time to learning,buy custom essay, it will help you in learning and save your time.

Previous post:

Next post: