neděle 21. února 2010

Mac OS X 10.6 GA-945GCM-S2L

The Build

Rather than detail every step necessary to put the actual pieces of your new computer together (this guide already reads like the Bible as is), I'm just going to point you to our first-timer's guide to building a PC from scratch. Do your building, make sure everything's booting up as it should be (i.e., you can boot the computer to the point where it does nothing, because you have nothing installed on it), then let's move on.

What Else You'll Need

Assuming you've purchased all the necessary parts for your build (linked above), you'll still need a few other things before you get started:
  • A USB thumb drive that's at least 8GB in size (I'm using this 16GB Corsair drive, but obviously any sufficiently sized thumb drive should do just fine.)
  • A copy of the Snow Leopard Install DVD. You can use the $29 "Upgrade" disc to install, even though this is a fresh installation. Note: If you feel like being completely honest, go ahead and buy the Mac Box Set—though, honestly, Apple's practically made it hard *not* to buy the fully functional install disc.
  • Another Mac to do some Terminal work on. (You'll only need this other Mac for a few steps. I used my MacBook Pro, but you could also borrow a friend's for an hour or so, too.)

Step One: Prepare Your Thumb Drive

We're going to be installing Snow Leopard to your Hackintosh from your thumb drive rather than from the Snow Leopard install DVD, since in order to run the installer on your PC to begin with, you'll need to slightly customize the way the installer is loaded. (More specifically, we'll be loading a custom bootloader onto the thumb drive that will make booting into the install work like a charm.*)
So first things first: You need to format your thumb drive and then turn your Snow Leopard install disc into a disk image on your desktop. Here's how to do it:
  1. Launch the Disk Utility application on your borrowed Mac (located at /Applications/Utilities/Disk Utility)
  2. Format and partition your thumb drive: Insert your thumb drive; after a second, it should show up in the Disk Utility Sidebar. When it does, (1) click on it, then (2) click on Partition. (3) Choose 1 Partition from the Volume Scheme, (4) give it a name (I called my HackintoshInstall) and select Mac OS Extended (Case-sensitive, Journaled) from the Format drop-down. Now—and this is important—(5) hit the Options button and make sure GUID Partition Table is selected as the partition scheme. Once you've made sure to set all the appropriate settings, just (6) click Apply and Disk Utility will get to partitioning your thumb drive.
  3. Copy the Snow Leopard Install DVD image to your hard drive: In the following step we'll be turning your thumb drive into a Snow Leopard Install drive, but before we do that, we need to get the installer off your DVD and onto your hard drive. To achieve this, insert the Snow Leopard DVD. When it shows up in the Disk Utility sidebar, (1) click on it, then (2) click New Image in the Disk Utility toolbar. Choose where you want to save it (for the sake of convenience, I put it on my Desktop), then click the Save button. Now go grab yourself a cold drink. This will take some time. When it finishes, move on to the next step.
  4. Restore the Snow Leopard Install disk image to your thumb drive: Now, in Disk Utility, (1) click on HackintoshInstall (or whatever you called your partitioned thumb drive) and (2) click on Restore. (3) Drag and drop Mac OS X Install DVD.dmg from the sidebar to the Source field, then (4) drag and drop your thumb drive from the sidebar to the Destination field. Now simply (5) click on Restore and enter your password when prompted. Disk Utility will take everything on the Snow Leopard Install DVD and restore that image to your thumb drive—since, like I said above, we'll be installing Snow Leopard from our thumb drive instead of the DVD. Again, go grab yourself another drink; this will take a few minutes. When it finishes, your thumb drive has basically been turned into a Snow Leopard installation drive.
As I said earlier, the thumb drive needs a little finesse before you can boot the Snow Leopard installer on your PC hardware; let's apply that finesse now.
Warning: Semi-heavy Terminal work ahead. It's not that difficult, and I've gone into a lot of detail to make it as easy to follow along as possible, but if you're not at least a little comfortable with the command line, it may make you pretty uncomfortable. Beg or borrow a command line geek for an afternoon, if needed.
  1. Make sure your thumb drive is still plugged in, open Terminal (/Applications/Utilities/Terminal) and type in:
    diskutil list

    We're interested in two pieces of information here. The first is the root identifier for your thumb drive (mine looks like disk2, as you can see in the screenshot). The second is the specific identifier for the portion of the thumb drive that contains the Snow Leopard installer. (Again, see the screenshot.) In my case, the first is disk2 and the second is disk2s2. Yours may vary depending on how many disks are on your system. Copy your identifiers down somewhere. We'll need them later.
  2. Head to the Chameleon homepage, find the Latest Releases section of the site's sidebar, and download the latest version of Chameleon. (As of this writing, it's Chameleon-2.0-RC2-r640.) Uncompress the download and move the Chameleon folder to someplace that's easy to access. I'm putting it on my Desktop.
  3. Now, in Terminal, cd to the i386 folder of the Chameleon folder. On my Mac, the command looks like this:

    (1)
    cd /Users/adam/Desktop/Chameleon-2.0-RC2-r640-bin/i386/
    Yours should look similar if the Chameleon folder is on your Desktop, except your username should replace mine. (Quick shortcut: In Terminal, type cd , then drag and drop i386 folder inside Chameleon-2.0-RC2-r640 to Terminal.) Hit Enter.
  4. You're going to be running a couple of Terminal commands that will use Chameleon to make your thumb drive friendly to booting up the OS X installer. They are, as follows:
    (2)
    sudo fdisk -f boot0 -u -y /dev/rdisk2
    IMPORTANT: On your computer, replace rdisk2 with whatever you copied down above. In my case, the thumb drive's root identifier was disk2, so /dev/rdisk2is as it should be.
    After you type in that command and hit Enter, you'll need to enter your user password to execute it. Do so, then execute the following command, again paying special attention to the disk identifier we took note of above:
    (3)
    sudo dd if=boot1h of=/dev/rdisk2s2
    IMPORTANT: As I noted, my Snow Leopard partition was disk2s2, so that command is right for me. You should replace the disk2s2 portion of the command with whatever you noted as the portion of your thumb drive that contains the Snow Leopard installer.
  5. Now we're going to place an awesome, custom EFI bootloader on your thumb drive that lets us load into the installer (and into Snow Leopard in general). So first, head over to netkas.org and download the bootloader from the bootloader link. Make sure you download it somewhere convenient. (Again, I've just downloaded it to my Desktop.)
    Now head back into Terminal, where we're going to copy the boot file to your thumb drive. (One might think that you could just do this using Finder via drag-and-drop, but in this case, doing it via Terminal is necessary.) So, in Terminal, your command should look similar to this:
    sudo cp /Users/adam/Desktop/boot /Volumes/HackintoshInstall
    The easiest way to do this is simply type in sudo cp , (1) drag and drop the boot file into Terminal, then (2) drag and drop your mounted thumb drive from the desktop into Terminal. (The drag-and-drop method is a quick Terminal trick that pastes the full path to each file or directory.) After that, simply hit Enter. (Enter your password if necessary.)
  6. I know it seems like we've already run a marathon, but you've got one last step and then it's relatively smooth sailing from here on. Download Extra.zip, unzip the file, and then drag and drop the Extra folder into your thumb drive. Nothing fancy, a simple drag and drop with your trusty old mouse will do. Once you've done that, open up your thumb drive and verify that it looks something like the screenshot below. (Notice the Extra folder, the boot file, and the OS X installer.)


Take a deep breath. By this time, you've completed all the hard work. Now it's time to boot up your machine, tweak your BIOS settings so they're ready for your OS X install, and then it's smooth sailing.

Step 2: Set Your BIOS

Before you can boot into or install OS X on your Hackintosh, you've got to make some small adjustments to your BIOS. Rather than taking you step by step through every change you need to make, I've simply snapped a picture of the relevant BIOS screens and added some notes. Just click through these images and make sure your BIOS settings match up.

Step 3: Install Snow Leopard

If you've made it this far, the hard part is over. Now it's time to install Snow Leopard, which—unlike what we've done so far—is extremely easy.

A Few Final Tweaks



  1. Download DSDT and Extensions
  2. Drop the DSDT in your /Extra/ folder
  3. Drop the Extensions in your /Extra/Extensions/
  4. Using Kext Utility, drag the /Extensions folder into Kext Utility and let it do it's work (It's repairing permissions and packing kext files to mkext cache file.
  5. Open Disk Utility and repair permissions OR using terminal "sudo diskutil repairpermissions /"
  6. Restart
  7. Boot up
  8. Test Sleep and enjoy!



DSDT

http://www.insanelymac.com/forum/index.php?s=&showtopic=187921&view=findpost&p=1291166


Extensions
GigabyteALC662.kext: http://www.insanelymac.com/forum/index.php?showtopic=133460&st=100&p=1228165&#entry1228165

RealtekR1000SL.kext: http://www.kexts.com/view/117-realtekr1000sl.kext_32-64k_____new_update_!!.html



Žádné komentáře: