Here you go, this guide is intended to be the most simple straight forward way to get Leopard installed on a GUID partition using efi_v8 and then seamlessly upgrade to Leopard 10.5.2 with the graphics update.
First I need to give props to everyone who helped me get this far in such a short period of time:
Weaksauce12, theotherone, gotoh, Taruga, iGuru (macdot.nub), netkas, Devin, and many others.
What you need:
(1) Kalyway 10.5.1 Install DVD
(2) Taruga's AppleHDAPatcher_v1.16 and
the STAC9274D_83847621.txt file.
(3) The pc_efi_v80 file
(4) nvInject 0.2.1 (for nVidia Cards).
(5) XcodeTools (you need the plist editor to edit your video card total VRAM).
(6) Apple 10.5.2 standalone update
(7) Leopard Graphics Update 1.0 (standalone)
(8) A USB thumb drive formatted FAT32 (named "bootloader")
Also BEFORE YOU START take a look at the following links which are pictures of how MY bios is set up, My computer is moderately overclocked, so look past that part but the rest of the settings are where you should start also PRIOR to setting up your Hackintosh BadAxe2, I am using Bios version 2813.
Keep in mind that I am water cooled so my fan speed controllers are OFF in bios, if you are on AIR, leave these ON.
Bios 1
Bios 2
Bios 3
Bios 4
Bios 5
Bios 6
Bios 7
Bios 8
Bios 9
Bios 10
Bios 11
Bios 12
Here are some Links:
STAC9274D_83847621: Click Here (copy everything to a textedit file and save it to desktop, name it "STAC9274D_83847621.txt").
Taruga's Patcher v1.16: Click Here (save this to the same folder as the .txt file on your desktop)
APPLE 10.5.2 Standalone Update: Click Here
Graphics Update Standalone: Click Here
Xcode Tools: Click Here
pc_efi_v80: Click Here
nvInject: Click Here
Gather all these things together and get ready to rock.
This guide assumes you have a separate drive to install Leopard to and that you may or may not already have XP or Vista installed on another drive and that the computer is working fine under windows.
Step 1:
Copy the unzipped pc_efi_v80 file to the root of the USB drive name the USB drive "bootloader" (you can do this in Windows)
Step 2:
Place the Kalyway DVD in your DVD drive, reboot and hit the F10 key immediately when you see the Intel splash screen.
When the boot selector screen appears, choose the DVD drive where your Kalyway DVD is and hit enter.
The machine will boot to the DVD and it may take several minutes to do so.
Once you are at the install screen, choose your language and hit the next (blue arrow) button.
Once a menu screen appears at the top of the monitor window, select Utilities and scroll down and select "Disk Utility". Disk Utility launches.
Select the drive you want to install Leopard on, click on the partition button and select "1 Partition" as your option (keep it at one partition for now until you master this technique, then later if you want to get fancy you can redo it all with more partitions).
Name your partition "Leopard" (for now, you an always change it later).
Click on the "Options" button and make sure that the "GUID Partition Scheme" radio button is checked.
Click Apply and this will format the drive as GUID.
Close Disk Utility when it is finished.
Step 3:
Launch Terminal from the Utilities Menu.
Enter This:
CODE
diskutil list
(hit enter).you will see something like this:
CODE
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *149.1 Gi disk0
1: Windows_NTFS Windows XP 49.0 Gi disk0s1
2: 100.0 Gi disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *465.5 Gi disk1
EFI 200.1 Mi disk1s1
1: Apple_HFS Leopard 465.3 Gi disk1s2
#: TYPE NAME SIZE IDENTIFIER
0: FDisk_partition_scheme *149.1 Gi disk0
1: Windows_NTFS Windows XP 49.0 Gi disk0s1
2: 100.0 Gi disk0s3
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *465.5 Gi disk1
EFI 200.1 Mi disk1s1
1: Apple_HFS Leopard 465.3 Gi disk1s2
As you can see from this example:
"disk1" is the actual (Leopard) hard drive
"disk1s1" is the EFI partition (on the Leopard hard drive)
"disk1s2" is YOUR LEOPARD PARTITION (on the Leopard hard drive)
Just accept this as fact, no need to go into it deeper here, however depending on how many drives you have in your system, the numbers may be slightly different, for example, your Leopard drive may be disk3, disk4 or disk5, it does NOT matter just pay attention to what disk YOUR Leopard partition is on, its that simple.
Step 4:
Place the USB drive named "bootloader" in your USB slot.
Go back to Terminal
Enter This:
CODE
diskutil unmount disk1s2
(substitute the 1 and 2 for YOUR LEOPARD PARTITION numbers) and hit enter.
Terminal will respond with Disk1s2 (or whatever you chose) unmounted
Now we are going to change the directory to the USB drive so in Terminal type this:
CODE
cd /Volumes/bootloader/pc_efi_v80
(hit enter) Enter This:
CODE
./startupfiletool /dev/disk1s2 ./boot_v7_guid_only
(substitute the 1 and 2 for YOUR LEOPARD PARTITION numbers) (hit enter)
Enter This:
CODE
dd if=./guid/boot1h of=/dev/disk1s2 bs=512 count=1
(substitute the 1 and 2 (of "disk1s2" only not "boot1h") for YOUR LEOPARD PARTITION numbers) (hit enter)
Enter This:
CODE
dd if=./guid/boot0 of=/dev/disk1 bs=400 count=1
(substitute the 1 (of "disk1") for YOUR ACTUAL HARD DISK NUMBER, NOT THE PARTITION NUMBER !!!!!!)
(at this point the drive will remount and you can continue with the 2nd half of the EFI install)
Enter This:
CODE
diskutil unmount disk1s2
(substitute the 1 and 2 for YOUR LEOPARD PARTITION numbers) and hit enter.
Terminal will respond with Disk1s2 (or whatever you chose) unmounted
Enter This:
CODE
./startupfiletool /dev/rdisk1s2./boot_v8
(substitute the 1 and 2 for YOUR LEOPARD PARTITION numbers) (hit enter)
Enter This:
CODE
dd if=./guid/boot1h of=/dev/rdisk1s2 bs=512 count=1
(substitute the 1 and 2 for YOUR LEOPARD PARTITION numbers) (hit enter)
Enter This:
CODE
dd if=./guid/boot0 of=/dev/disk1 bs=400 count=1
(substitute the 1 (of "disk1") for YOUR ACTUAL HARD DISK NUMBER, NOT THE PARTITION NUMBER !!!!!!) (hit enter)
Step 5:
Now we need to make that partition BOOTABLE. Still in Terminal follow these steps:
Enter This:
CODE
fdisk -e /dev/rdisk1
(it reads like this: fdisk(space)-e(space)/dev/rdisk1 (substitute the 1 for YOUR ACTUAL HARD DISK NUMBER, NOT THE PARTITION NUMBER !!!!!!) (hit enter)
fdisk answers:
could not open MBR file /usr/standalone/i386/boot0: No such file or directory
Enter 'help' for information
fdisk: 1>
Enter This: update (hit enter)
fdisk answers:
Machine code updated.
fdisk:*1>
Enter This: f Y
(Y = the 'Y' in your rdiskXsY remember this is the "Leopard" Partition we are trying to make bootable) (hit enter)
fdisk answers:
Partition 2 (or whatever partition is YOUR new Leopard partition) marked active.
fdisk:*1>
Enter This: w (hit enter)
fdisk answers:
Device could not be accessed exclusively.
A reboot will be needed for changes to take effect. OK? [n]
Enter This: y
fdisk answers:
Writing MBR at offset 0.
fdisk: 1>
Enter This: q (hit enter)
Once this process is complete, type exit and hit enter (repeat until Terminal replies with "Process Completed").
We are done in Terminal for now, so quit and go to the Kalyway installer segment.
Step 6:
Now here is where you will select which drive to install Leopard to so go through those motions but make sure to select "Customize" once you get to the Installer portion after selecting the Leopard drive.
You will ONLY Make 2 selections here:
(1) Vanilla Kernel (and) Vanilla Kernel with AHCI Fix (make sure both are checked).
(2) nvInject for Desktop (this is assuming you are using an nVidia graphics card).
NOTHING ELSE SHOULD BE CHECKED.......PERIOD!!!!!
IMPORTANT MAKE ABSOLUTELY SURE that you de-select the GUID bootloader which is usually checked by default .
We already installed the bootloader in the previous steps so if you forget to de-select this or you select the MBR bootloader you will screw all the work we just did and have to start over, your machine will not boot.
Once you have selected the 2 items and made sure bootloaders are NOT selected, continue on to the installation process.
The installer usually takes about 10-15 minutes, when it is done restart the computer and press the F10 key just after the Intel splash screen comes up and select your Leopard drive and hit enter.
The machine will boot to that drive and within a minute you will be selecting your keyboard layout, filling in all the name and phone number screens and sitting at the desktop shortly after that.
Step 6:
Now you will want to do the 10.5.2 update,
The following instructions are taken directly from Devins guide and parts are taken from a post by "theotherone" so special thanks go to Devin and theotherone for this killer method which works for me every single time FLAWLESSLY.
So here we go,
Mount the 10.5.2 image to your desktop but don't launch the installer just yet.
Open Terminal from the Applications/Utilities folder.
Enter This :
CODE
sudo -s
(hit enter)enter your password (hit enter).
Enter This:
CODE
while sleep 1; do rm -rf /System/Library/Extensions/AppleIntelCPUPowerManagement.kext; done
(hit enter)Now leave Terminal open and running in the background while you launch the 10.5.2 update package, go ahead and run the installer and MAKE ABSOLUTELY CERTAIN YOU DO NOT REBOOT when it is finished, we are not done in Terminal yet.
Once the installer is complete leave the Installer Window open, it will show the "restart" button but you can leave it open and work in the Terminal for these next few steps.
Ok so now we are back in Terminal.
Hold down the "Ctrl" (Control) key and hit the "C" key.
Enter This:
CODE
sudo nano /System/InstallAtStartup/scripts/1
(hit enter)Now, use your arrow keys to scroll down to this line: /System/Library/Extensions/Dont Steal Mac OS X.kext
Place the cursor over the "X" in "Dont Steal Mac OS X (using your arrow keys), and then use the backspace key to delete everything. You want to replace that line with dsmos.kext
so when you are done the line looks like this: /System/Library/Extensions/dsmos.kext
Do not change anything else, that is all you need to change for this step, you may have to use a combination of the backspace key and the delete key to remove everything before typing.
Now make sure the cursor is in a clear space below that line you just changed so that you don't accidentally change something else.
Hold down the "Ctrl" (Control) Key and hit the O key (not the zero key) (hit enter)
Hold down the "Ctrl" (Control) Key and hit the X key
Type Exit and hit enter and repeat until "Process Completed" is shown.
Close Terminal and reboot.
You will now reboot into a good working Mac OSX 10.5.2 system which is almost fully functional.
(YOU MAY press the F10 key immediately after the Intel splash screen appears and make sure that the boot drive is the Leopard drive if you decided NOT to follow my advice and unplug all other drives prior to using this guide)
Step 7
Now you need to install the nvInject 0.2.1 kext into your System/Library/Extensions folder
But before you do that you will want to edit the plist so that it correctly reflects the Total Vram for YOUR nVidia card.
To do that is really simple however because everyone will have a different card I will refer you to "gotoh's" most incredible site for nvInject
Click Here and at the bottom of this page are the instructions for editing the plist for nvInject.kext
gotoh has already outlined how to do this so I wont go into it here.
If you have not done this already Click Here go to Apple.com and register (free) and download Xcode 3.0.
Once you have downloaded Xcode 3.0 install it and open ApplePlist Editor.
gotoh recommends using ApplePlist Editor as opposed to PlistEdit Pro or Text Edit for many reasons......why re-invent the wheel? Follow his lead and just do it.
Bottom line, you need a properly configured kext for your video card to use all of the onboard memory, so get the tool, get the kext, edit the plist and install the kext.
Whichever way you decide to go, you DO NOT have to reboot BEFORE completing the next step below, mainly because Taruga's patcher repairs permissions after it is finished and it will also repair the permissions on the nvInject.kext you just modified (and installed) which will save you a reboot.
Step 8
Drag the STAC9274D_83847621.txt file (you copied and saved to a folder on your desktop before you started this proceedure) onto Taruga's AppleHDAPatcher_v1.16 (you downloaded and saved to the same folder) and let it do it's thing. Once it is complete, reboot the computer and you should now have a fully functioning 10.5.2 system with working audio, networking, video and all.
Step 9
Once you get back to the desktop and have determined that everything is working, you can launch the Leopard Graphics 1.0 update and let it do it's thing.
Reboot and you are FINISHED!
This process has worked perfectly for me now several times in a row as I tried to perfect a method, so far everything is fully functional, I did NOT have to replace ANY kexts other than the nvInject.kext for my video card, and use Taruga's patcher, I have 4 hard drives, 2 (ATA) DVD drives, and everything works perfectly.
The ONLY thing I have not tried are the additional SATA ports.
Since I don't have a need for them right now, I have not pursued the fix, however it is out there so if you want to go for it...then go for it.
I hope this helps some people that are looking for a quick easy guide for 10.5.2 , GUID and efi_v8 on the BadAxe2.
I love this system.
Mine works perfectly, scores mad high on GeekBench and runs ALL of the Pro Apps without any problems whatsoever.
Again special thanks to all the other x86 brethren out there who are moving and shaking this thing...it really is a fun and rewarding hobby.
Finally, you really need to support Apple and pay for YOUR copy of Leopard, it is totally unethical and illegal to use a downloaded copy of OSX.
Enough said there.
Enjoy.
