Flaw

Welcome to my thoughts. These thoughts do not, in any way shape or form, claim to make any sort of rational or irrational sense at all. Thank you. NOTE: Remember to refresh your web browser to get the latest entry!!!

Archive List

Thursday, December 17, 2009

I DID IT!! Hackintosh w/ Asus P6T & Intel Core i7 920 !!

After 3 days of trial and error, I finally did it! I managed to create my very first hackintosh.









This was the most agonizing 3 days of frustration that I have had, but the final result is something I am very much in love with. A fully functioning Hackintosh system Dual Booted with Windows 7 (sigh, Star Trek Online is coming out soon after all) and at about a third of the cost of an comparable Apple system. I ranked at about 9367 using GeekBench, and I haven't even overclocked yet.

If you are thinking of attempting this yourself, know this:

1) It is an extremely frustrating and sometimes hopeless experience. It took me 3 days, so don't give up. Google sometimes will fail you. Use the search feature on Insanelymac's forums. Sometimes insanelymac will fail you. Use google.

2) Though frustrating, it is extremely rewarding. I love my new Hackintosh.

3) MAKE SURE YOU HAVE AN NVIDIA CHIPSET VIDEO CARD. Some ATI cards are supported (see netkas's site), but you will be much happier using an nvidia chipset. I basically didn't have to do anything special except use the boot loader provided in the P6TEssentials file and I was up and running on my GTX 275.

4) WHEN YOU GET IT WORKING, FOR GODS SAKE USE TIME MACHINE TO BACK IT UP. Buy an extra USB drive (bigger, 100gb or so) so that when you get it working, you can always restore to that point. Make sure you have a backup before updating to 10.6.2, because you can always boot from your USB 8G stick, go into the installer, go up to utilities, and restore from time machine backup.

5) If you want to be safe and not have to worry about time machine, you can make a copy of your Extensions.mkext file in your /Extra folder before messing with your kexts. Make a copy, name it Extensions.mkexts.WORKS or something. That way if anything goes wrong, you can boot the USB stick, go into a terminal, and go to /Volumes/(your Snow Leopard HD)/Extra and restore your Extensions.mkext.WORKS to Extensions.mkext and reboot.

6) Don't use the EFI option with 3_Macloader script. I dunno, I just launched the 3_Macloader script and said NO to the EFI, and put the boot loader on the main mac drive. That way you can just unplug the mac HD, plug in an empty one to SATA 0, install windows, then put the mac drive back on SATA 0 and the windows drive on SATA 1,2,3,4, or 5. Boot to Sata 0 and the chameleon boot loader for the mac drive will automagically see the windows 7 partition and allow you to boot to it.

My first attempt with Leopard was a dismal failure, but with Snow Leopard and a thumb drive it was much easier. The hardest part was learning how kexts work with Chameleon. Once I figured out how to load them up it became much easier. The best advice I can give is to find a good tutorial on kexts or a good script that loads them for you. I found a pre-made script and analyzed it to figure out what the hell it was doing. Finding out which kexts to use for my hardware. Luckily, I found this guide by Trick77 which contained some very important information, including a comment by a reader which contained the scripts, kexts, and information that I needed:

http://www.trick77.com/2009/10/12/asus-p6t-64-bit-osx86/

If you look at eric r's post, he says use this guide:

http://www.insanelymac.com/forum/index.php?showtopic=189052

But with these files instead:

http://www.mediafire.com/?zzyzmjxm0xy

(PS, if the above link is dead I am also hosting this file here):

P6T Essentials File

This was a huge help, and eric R was spot-on and I love him/her/it dearly. This post is what finally got me working.

I am running the following hardware:

Motherboard: Asus P6T

NOTE: When I was reading the forums on insanelymac, etc, people were referencing P6T Deluxe, Extreme, etc. I have no idea if mine is one of these since it just says P6T on the box. But I know that there were a few P6T variation guides on insanelymac that were just NOT working for me. My motherboard has "Xtreme Phase" on the box as one of the features, but the box label and the manual itself just say P6T Motherboard... and my receipt just says Asus P6T, so I'm betting it's the standard version.

Processor: Intel Core i7 920 2.67 Ghz Processor
Memory: Kingston 6GB Set (2GB Each)
Storage: 2x750gb Western Digital drives
Video: BFG GTX 975 w/ 892mb Video RAM
Case: Asus 900

Monitor: Two 24inch LG's connected via VGA cable, but with two VGA-DVI converters when the cables get to the video card

Soooooooooooooo, off the top of my head, all I did was use an existing Macbook Pro to make a copy of Snow Leopard Install DVD (yes I bought it) onto an external USB stick using disk utility.

A few caveats:

The scripts provided in the 2nd link use the "3_Macloader" script (which is slightly different from the guide) to compile all kexts in the KEXTs directory and put the compiled Extensions.mkext into the Extra folder on your Snow Leopard partition. I found a lot of the guides referenced an /Extra/Extensions folder, which really you don't need, since this script pulls from the kexts in the KEXTs folder. When you unpack the files, you'll see what I mean. Take a look at Scriptfiles\snowleoinstaller.sh, and you will see how it compiles the kexts, sets the permissions, and then moves the Extensions.mkext into the /Extra folder.

My SATA LG DVD drive would not properly play DVD's at first. They would skip around and act choppy. My solution was to put it on the JMicron SATA controller instead of the regular sata controller.

Be careful updating to 10.6.2. The instructions say to make sure that you have SleepEnabler.kext installed BEFORE you update, and then make sure AFTER you update that you put the new 10.6.2 version of SleepEnabler on your system. I found that the best way was to not have SleepEnabler.kext at ALL, and then after you get your system booted with 10.6.2, install the NEWEST sleep enabler.

Also, after 10.6.2, audio doesn't work. You have to use a special AppleHDA.kext (i think I finally found it on the insanelymac forums... search!) and the newest fakesmc.kext (2.5 is what I used)

10.6.2 Info:

Here is a link to my KEXTs, which are what i'm now using on Snow Leopard 10.6.2 with working Sound, DVD, accelerated graphics, etc: My Kexts Click Here

Here is a link to MY KextScripts.zip file which is basically the P6TEssentials package with the kext's and scripts for 10.6.2. Just run 3_Macloader and it should install the right KEXTs. Please note, this has been modified a little and the KEXTs in the KEXT folder are for 10.6.2 and really just a reference for me. If you can get the P6TEssentials.zip file instead, that would be better for you (unless you are on 10.6.2 already and looking for how I got my audio working):

MY KEXTs & SCRIPTS for 10.6.2

Here is a list of the KEXTs I am now using in my final 10.6.2 System:

AppleHDA (modified version which enabled HD sound on Asus P6T)
fakesmc.kext (v2.5)
IOAHCIBlockStorageInjector.kext
IONetworkingFamily.kext
JMicronATA.kext
NullCPUPowerManagement.kext
OpenHaltRestart.kext
PlatformUUID.kext
RealtekR1000.kext
SleepEnabler.kext
UUID.kext


Extra Tips:

1) You can use Aqua Mac's "About this Mac" package to display the right processor information in About->About this Mac. Mine showed up at 2.7 Ghz Unknown until I ran his package. Now it always reflects the right speed. Make sure you have his latest one on the insanelyMac forums, because the earlier versions did not properly display overclocked speeds.

2) Download iStat Menus (google it) for a nice temperature readout of all your cores, CPU Core utilization, disk usage, etc. It makes it easier to keep tabs on your extremely awesome system. If you look at my screenshots, you can see it running in the upper-right corner of the finder bar.

3) Even though it doesn't look like you can type anything at the chameleon boot loader, if you start typing -v at the boot loader screen, it will allow you to type in kernel options. It took me a while to realize this.



TO RECAP:


Step 1) Use this guide:

http://www.insanelymac.com/forum/index.php?showtopic=189052

But with these P6T Essential files instead:

http://www.mediafire.com/?zzyzmjxm0xy

(PS, if the above link is dead I am also hosting this file here):

P6T Essentials File

This will get you to Snow Leopard 10.6.0. The only difference is that you use 3_Macloader instead of 3_Loader and the essential files I am providing you from Trick77's site.

Step 2) BEFORE YOU UPDATE, KNOW THAT IF YOU REBOOT AFTER THE UPDATE WITH THE SleepEnabler.kext that is provided in the KEXTs folder of the essentials file, you will KERNEL PANIC and have a problem!

Step 3) So, knowing that, do the 10.6.2 update:

Run the update (NOT FROM SOFTWARE UPDATE!!!) -- download it here:

here if your on 10.6.0
here if your on 10.6.1

DO NOT RESTART AFTER THE UPDATE!DO NOT RESTART AFTER THE UPDATE!DO NOT RESTART AFTER THE UPDATE!DO NOT RESTART AFTER THE UPDATE!DO NOT RESTART AFTER THE UPDATE! (get the point?)

Step 4) MAKE A COPY OF YOUR /Extra/Extensions.mkext file, so you can restore it if there is a problem!!!

Step 5) Replace your KEXTs in the KEXTs folder of P6TEssentials folder with these 10.6.2 kexts, specifically Sleepenabler.kext -- and re-run your 3_MacLoader. I would just get rid of all the KEXTs and replace them with these new ones:

MY KEXTs & SCRIPTS for 10.6.2

Step 6) Re-run 3_MacLoader (say NO to EFI). This will rebuild and replace your Extensions.mkext in /Extra

Reboot, light a candle, slay a chicken.

11 Comments:

Blogger Cameron Barry said...

Test

Saturday, December 19, 2009 11:57:00 AM  
Anonymous iRoan said...

Hey man, it's iRoan from the Insanely Mac forums.

I've been reading your entry and it makes a lot of sense to me now :)

I am still kinda new to all of this so I have 2 questions...

Will I have any problems with my DVD which is IDE (my HDDs are SATA)

And most important: I really find it difficult to make the EFI disk (or the chameleon bootdisk) so I was wondering if you could, somehow, make a small ISO image (or DMG) of your bootdisk (the one you used for this instalation) with all the kexts, etc, and host it @megaupload or something like that so I could download it and make the disk...

Also, should it be a DISK (CD - DVD) or can it be a USB stick? (i got a 4 gig one, wonder if it's enough)


Thanks in advance, I will also post these questions @ insanely mac.

D.

Wednesday, December 30, 2009 6:31:00 PM  
Blogger Cameron Barry said...

Hey iRoan,

You need a working macintosh to use my method. I had a macbook pro that I did all this on, but you could do it on a school lab computer, or a friends computer.

The best thing to do is to follow this guide to make a bootable USB stick with the Snow Leopard DVD:

http://www.insanelymac.com/forum/index.php?showtopic=189052

All you do is use Disk Utility to make an image of the Snow Leopard DVD, then you "burn" it to your USB stick. Mine ended up being about 6.8 gigs or so, so you will need a bigger one than 4gigs but they are only like $30 for 8 gig at apple store.

AFTER THAT, on your friend's mac or whatever, you download the P6T Essentials.zip file that I am hosting here:

http://www.cameronbarry.com/P6TEssentials.zip

Unzip it, and then open the folder and run the 2_Boot Prep file. This will make the USB Stick bootable, and it will install Chameleon and the 10.6.0 kexts that come in the essentials file, as well as the DSDT.aml file.

NOW you have a bootable snow leopard USB stick. Ta da.

Now DRAG A COPY of that P6T Essentials folder onto your USB stick so you have it when you boot from it.

Next, boot from your USB stick and install OSX on your hackintosh. Once you boot into the setup program you may need to go up to DISK utility and partition/format your drive. When you partition your drive, make note of the volume name that you give it. I just called mine Macintosh HD because that is what they are normally called. I believe the guide used "Snow Leopard" but it doesn't matter. When it is done installing, you may not get any special screen, in fact it may say the installation failed or just reboot (mine just rebooted and I was sad, but it actually had installed! so don't fret)

Now even though OSX is installed on your drive, it is not yet bootable.

You will one more time need to boot from your USB Stick, go into the P6T Essentials file, and run the 3_MacLoader file. When asked about EFI, say N. (note, you must put a capital N for no, otherwise it says you are a moron basically.)

When asked where retail Snow Leopard is installed, give it the volume name of your partition ("Macintosh HD" in my case, or "Snow Leopard" if you followed the guide's suggestion)... when it asks where you want to setup the MacLoader, give it the volume name of your partition (should be the same... Macintosh HD for me...).

This will install the boot loader on your new OSX installation, and you will then be able to eject your USB stick and boot to your new OSX installation :)

I hope this helps. Basically, I am just recapping what the guide says. If you follow the guide I linked above to make your USB stick and get your system installed, you will be fine. Once you get it installed, be very careful when updating to 10.6.2. If you have any questions about that let me know.

-Cam

Wednesday, December 30, 2009 7:20:00 PM  
Anonymous iRoan said...

I think I'm ready to update, there ain't much more that can be done with the installation.
If I let my PC boot it will take me to Chameleon from where I can choose my Macintosh HD and it will run.

If I press F8 during boot prompt and choose the Windows HD it will boot from that one.

That's the only inconvenience... but I don't really mind having to push a button.

Now, any recommendations about updating? Or can I get sound without updating?

Sunday, January 03, 2010 7:19:00 AM  
Anonymous Alessio said...

Hello:) i'm an italian boy so excuse me for my bad english! a week ago i found the guide that you have referenced to..and using original P6t essentials files all go well..but snow started at 32 bit and not 64 bit and the update to 10.6.2 failed! so i find your guide and i have changed p6t essentials files with your as you say with new kexts, new dsdt.aml, new apple.com....! but at the boot of usb stick, the white screen with apple at the centre doesn't desappear and doesn't start snow leopard's installation! why? i have your same hardware configuration! help me please.....THANK YOU :)

Wednesday, January 13, 2010 2:12:00 AM  
Blogger John said...

Im so frustrated with broken links on IM forums could you please send me the boot image you used? I have same hardware as you so your image should work for me
thanks OPG

Sunday, January 17, 2010 1:16:00 AM  
Anonymous Sebastien said...

trick777.com was a great help in getting 10.6.0 installed on my P6T, especially the modified DSDT.aml for slow secondary drives.
As far as upgrading to 10.6.2 your summary was the simplest to follow. The only additional change that was required was removing dsdmos.kext from the P6T essentials package prior to doing Step 5/6, otherwise the kernel panicked on reboot.

Tuesday, January 19, 2010 1:07:00 AM  
Anonymous JC said...

Are you able to run the 64-bit Vanilla kernel with the alternate files you provided? I followed the install guide and used used the files you provided for a 10.6.0 install of snow leopard but the system will not allow me to boot into Snow Leopard in 64-bit mode even though the asus p6t and intel core i7 920 was meant to run a 64-bit operating system.

Friday, January 22, 2010 2:52:00 AM  
Anonymous Anonymous said...

Hi, I ve stumbled onto your guide and its the most promising site guide I ve found on getting this to work. The problem I am having with this is the P6T Essential files which you said to use don't launch on my macbook pro for some reason the type of 2_boot Prep file is a text document. I can't get it to run. Am I missing something?

Saturday, March 06, 2010 11:53:00 AM  
Blogger Cameron Barry said...

It should be a zip file. Try renaming it so it ends in .zip

Saturday, March 06, 2010 5:10:00 PM  
Anonymous Anonymous said...

Ok, so guess what. I got it working great..... Then updated :( I get the please swith off kernel panic. :(
just found your forum now.
I can get into my old leopard install. Can I just load leopard delete the sleep enabled kext from my snow leopard drive and drag extensions into the kext utility app I downloaded and then ty again.
Please advise as it's taken me nearly a week to get this far. Please don't tell me I have to install again.
I really would appreciate it if you could share your knowledge with me and tell me how to sort it out. Thanks.

Monday, May 03, 2010 7:45:00 PM  

Post a Comment

Links to this post:

Create a Link

<< Home