[GUIDE] P5k3 Leopard Install

Anything from How to burn a dvd correctly, to fixing your bathroom sink

[GUIDE] P5k3 Leopard Install

Postby nateleav76 on Wed Oct 31, 2007 7:09 am

P5k3 Leopard Install Guide

EDITED 11/09/07

I added some more kext files for the Time Machine Fix, Onboard Lan, and Onboard sound! If you have previously installed leopard... you can re-run the post patch script to add new kexts. Good luck and enjoy!!! :)

Also, if any of you are having weird disconnection or dns issues with your internet connection, this is a known leopard issue. Do the following to resolve it:

Set your own DNS-Servers, under Network "Advanced..." --> DNS e.g.

Add the following in addition to what is already in there:
4.2.2.2 & 141.1.1.1

Normally only your Router will be listed.

then in terminal:

sudo dscacheutil -flushcache

END OF EDIT

First of all I want to thank all those involved with making this stuff available to us. Obviously, there has been a lot of sleepless hours spent on our behalf. Many thanks to BrazilMAC, Isoripper, and all the other devs who have made this possible.

I used most of what BrazilMAC and others have posted, but made some modifications based on my system setup.

Some things you need for this install:
- BrazilMAC Patched Leopard 9a581 GM Image (Isoripper)
- USB Drive which you name PATCHER (all caps)
- SATA DVD-RW drive
- My modified zip file - Updated 11/09/07

Burn the image to a Single Layer DVD;

Format your Thumb Drive!!! This should be FAT32!!!!! It needs to be readable by the terminal when we access it; Also, the drive label should be "PATCHER". This is very IMPORTANT, since the latter will spit out an error!! When you format, make sure it is named PATCHER! ALL CAPS!

Now, unzip the archive nateleav76_mod_p5k3_patch.zip to your desktop. Move all files within the folder nateleav76_mod_p5k3_patch to your thumb drive. After doing so PATCHER should contain the following:
1 folder named "files";
1 folder named "resources";
1 folder named "leopatch";
1 file named "9a581-patch.sh"
1 file named "9a581PostPatch.sh"

** Make sure your DVD drive and the Hard drive you will be installing Leopard on are plugged into the red SATA plugs (4 of them) on your motherboard.

FIXING BIOS
Go into your BIOS by hitting the DELETE key upon booting up
In BOOT
- Boot Device Priority
- Set DVD to be first

In Advanced
- Onboard Devices
- Disable J-Micron Controller

In Main
- SATA Config
- Configure SATA as AHCI

Hit F10, Save Yes, Reboot


INSTALLING LEOPARD

Now lets install Leopard. Insert the DVD on your computer and make sure you boot from the DVD. Usually thats done if you press F12 or whatever key combination to give you the option to choose what disk/cd drive you want to boot from. Select your CD/DVD drive;

After the installer has loaded (it will take a while, be patient) select your language and make sure you hit CUSTOMIZE. Unselect all packages there!!!

Leopard will now install. It may take 15 minutes or so and it will be all done. Click Reboot. Make sure that your USB/Pen Drive is connected to your pc!!

During the reboot, also make sure you do the same step above: Press whatever key combination to give you the option to choose your boot device: Again select your CD/DVD drive. DON'T boot into leopard yet!

When the Darwin bootloader shows up, Hit F8; When you see the prompt, type -s and hit enter. The DVD will now load in verbose mode. Watch for any panics! It should load without a problem (of course, if you already installed, its all good!)

Once the setup is loaded, select your language. When the welcome screens shows up, select UTILITIES-TERMINAL. The terminal will now open. We will now browse to our Thumb Drive;

In the command line, type:
cd /Volumes/PATCHER

We'll now run the script:
./9a581PostPatch.sh

Let it run. You can answer yes when removing the ACPUPowerManagement kext

After the script is done, reboot.

You should now be able to boot into Leopard!!! (probably with the dvd drive in.. make sure when the Darwin Bootloader comes up you hit 'Enter' before the countdown expires)


If you have problems booting into leopard without the DVD in, follow directions below:

Somehow, The Leopard Installation process does no make the partition bootable. You need to do this yourself (working on a fix). Within Leopard:

Open DiskUtils (applications > Utilities)
Click on the Leopard Partition and click Info
Write down what disk it is: diskXsx (example Disk0s1)
Close DiskUtils

· Open up terminal. This is what you do (quoted text is what terminal will show after the commands you enter):

sudo cp /Volumes/PATCHER/files/i386/boot1h /usr/standalone/i386/ (replace if prompted)
sudo fdisk -e /dev/rdiskX ( replace X and x with the disk/partition you wrote down above)'
fdisk: 1> update
'Machine code updated.'
fdisk:*1> f 1
'Partition 1 marked active.'
fdisk:*1> 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: 1> q

Reboot computer again with DVD.. boot the DVD.
After welcome and Language.. from Utilites
Open DiskUtils
Click on the Leopard Partition and click Info
Write down what disk it is on: diskXsx (example Disk0s1 could have changed from above)
Now click the Unmount button
Close DiskUtil and open Terminal

· Ok, now lets put the file “boot1h” in the beginning of the partition: In terminal, type:
cd /Volumes/PATCHER/i386 folder
Then type this:
dd if=boot1h of=/dev/rdiskXsx bs=512 count=1 (replace X's with disk you wrote down above
** if you get error of no dd that is ok.. move on)
· Now, lets run the startup tool to embed the boot code:
cd /Volumes/PATCHER/files and then type this:
startupfiletool -v /dev/rdiskXsx boot
· And last, lets give the pope’s blessing to the partition:
bless -device /dev/diskXsx -setBoot –verbose

Reboot and take the DVD drive out. Upon reboot you'll see a blinkinb _ wait for a few seconds, then it should startup on it's own.

YOU'RE DONE!

I think I remembered everything... if not, post any issues you are having.
Last edited by nateleav76 on Thu Nov 15, 2007 11:50 pm, edited 6 times in total.
nateleav76
Newbie
 
Posts: 9
Joined: Sat Apr 22, 2006 2:08 am

Re: P5k3 Leopard Install Guide

Postby fin on Wed Oct 31, 2007 7:50 pm

Do you know if this guide will work on a P5K Deluxe wifi edition ?
fin
Newbie
 
Posts: 1
Joined: Wed Oct 31, 2007 4:11 pm

Re: P5k3 Leopard Install Guide

Postby vigour on Wed Oct 31, 2007 8:06 pm

I have p5k Deluxe and after the install and the patch Leopard does not boot.
ASUS P5K Deluxe, E6750, 2x1024 DDR2 Corsair 1066Mhz, XFX 8600GTS Extreme Edition, 620W Corsair, 2x250GB WD @ RAID and 500GB WD
User avatar
vigour
Newbie
 
Posts: 2
Joined: Wed Oct 31, 2007 7:53 pm

Re: P5k3 Leopard Install Guide

Postby chival4ry on Wed Oct 31, 2007 8:06 pm

nateleav76, Good Guide.^^
-----

vigour, looking here. ( viewtopic.php?f=16&t=1673 )


oooooooooooooooooooooooooooooooooooooo


Leo is likely to love SATA HD & AHCI Mode.

[My BIOS Setting - asus p5k]

o Method1(Default AHCI Mode)
- [Main]Tab > Sata Configuration [IDE or AHCI] => [AHCI]
- [Advanced]Tab > J-Micron eSATA/PATA Controller [Enabled or Disabled] => [Disabled]
( I can install Leo on only a red-down-port[sata 1 port] of 4 sata ports [ red 2 + black 2 ] . )


o Method2(J-Micron AHCI Mode)
- [Main]Tab > Sata Configuration [IDE or AHCI] => [IDE]
[Disabled or Enhanced or Comparable] => [Comparable]
Configure SATA as [IDE]
- [Advanced]Tab > J-Micron eSATA/PATA Controller [Enabled or Disabled] => [Enabled]
Controller Mode : [RAID or IDE or AHCI] => [AHCI]
( In this case, I can install Leo on the J-Micron internal sata port. )
( J-Micron external sata port is likely to be possible, too. )


oooooooooooooooooooooooooooooooooooooo


( http://x86osx.com/bbs/data/pds/ASUS_P5K ... IFI_AP.zip )

My firend ( shadow ) is using on 10.4.10, but perhaps, it is likely to work on leopard and p5k-e wifi.

ooooooooo

[shadow` tip : ASUS_P5K_PREMIUM]


[1] OS X86 V10.4.10 default setting

- BIOS : SATA = AHCI MODE , JMICRON = DISABLE
( Connecting LITE-ON DVDRW LH-20A1H - E-IDE - SATA CONVERTER to SATA 5 )
- As installing OS X86 V10.4.10 DVD, selecting Ethernet = RTL 1XXX on the customization installation

- PRINTER = DESKJET 1220C(USB) : using OPTION PAKAGE in OS X86 V10.4.8

1. ICH9-R AHCI
AppleAHCIPort.kext => /System/Library/Extensions (Authentication > OK)

2. Ethernet : Marvell Yucon 88E8056
AppleYukon.kext => /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns (Authentication > OK)

3. Sound : AD1988B
AppleAzaliaAudio.kext => /System/Library/Extensions (Authentication > OK)

4. Teminal work

& sudo -s
password
# rm -rf /System/Library/Extensions.mkext && rm -rf /System/Library/Extensions.kextcache ( applying only tiger, not leopard )
# cd /System/Library/Extensions && chown -R root:wheel * && chmod -R 755 *
# diskutil repairpermissions /
# reboot



[2] Setting resolution

Opening com.apple.Boot.plist

<key>Graphics Mode</key>
<string>1152x864x32</string> (the resolution value which you want)

- Replacing com.apple.Boot.plist in /Library/Preferences/SystemConfiguration
- Rebooting & Enjoying
oooooooooo
Last edited by chival4ry on Fri Nov 02, 2007 2:54 am, edited 5 times in total.
O System 1 : E6750[good], 8600GT[mostly good] + 2600Pro[mostly good], Asus P5K[mostly good], Segate Sata2 320GB x2[good], LG DVD GSA H62L(sata)[good], D-Link DFE 538TX PCI[good]
(XxX 10.5.6 Rev1[good], Kalyway 10.5.1[good], 10a190[SafeMode])
O System 2 : p4 2.4c, Asus p4p 800, fx5600, Segate 80gbx2, Realtek 8139 ( Jas 10.4.8 )
User avatar
chival4ry
Sr. Member
 
Posts: 331
Joined: Sat Aug 04, 2007 8:16 am

Re: P5k3 Leopard Install Guide

Postby vigour on Wed Oct 31, 2007 8:21 pm

chival4ry wrote:nateleav76, Good Guide.^^
-----
vigour, looking here. ( viewtopic.php?f=16&t=1673 )


This doesn't help me.I have fully installed Leopard on a empty drive, but afher the patch nothing boots although the DVD is in the SATA drive
ASUS P5K Deluxe, E6750, 2x1024 DDR2 Corsair 1066Mhz, XFX 8600GTS Extreme Edition, 620W Corsair, 2x250GB WD @ RAID and 500GB WD
User avatar
vigour
Newbie
 
Posts: 2
Joined: Wed Oct 31, 2007 7:53 pm

Re: P5k3 Leopard Install Guide

Postby chival4ry on Wed Oct 31, 2007 8:41 pm

( sudo startupfiletool -v /dev/rdiskXsx boot ) ( nateleav76 )
=> sudo startupfiletool -v /dev/rdisk1s1 /usr/standalone/i386/boot ( gotoh )
-----
If failed, seeing nateleav76` guide and gotoh` one in details .


oooooooooooo
[Edit: 2007-11-02]

nateleav76, you are right.^^

To be strange, after reinstalling 10.4.10, I saw the blinking cursor( " _ " ), btw perhaps, this situation is like installing Leopard.
[ blue : (o) , red : (x) ]



-bash-2.05b# diskutil list
/dev/disk0
#: type name size identifier
0: FDisk_partition_scheme *128.0 GB disk0
1: Apple_HFS 10.4.10 30.0 GB disk0s1
2: Apple_HFS 9A581envy 10.0 GB disk0s2
3: Apple_HFS 9A581 20.0 GB disk0s3
4: DOS_FAT_32 DATA2 30.0 GB disk0s5
5: DOS_FAT_32 DATA3 30.0 GB disk0s6
6: Apple_HFS 10.4.10DVD 20.0 GB disk0s7
/dev/disk1
#: type name size identifier
0: Apple_partition_scheme *4.4 GB disk1
1: Apple_partition_map 31.5 KB disk1s1
2: Apple_HFS uphuck 10.4.9 Install DVD v1.3 4.4 GB disk1s3
/dev/disk2
#: type name size identifier
0: untitled *467.0 KB disk2
/dev/disk3
#: type name size identifier
0: untitled *95.0 KB disk3
/dev/disk4
#: type name size identifier
0: untitled *95.0 KB disk4
-bash-2.05b# cp /Volumes/9A581/files/i386/boot1h /Volumes/10.4.10/usr/standalone/i386
-bash-2.05b# fdisk -e /dev/rdisk0
Enter 'help' for information
fdisk: 1> f 1
Partition 1 marked active.
fdisk:*1> 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: 1> q
-bash-2.05b# cd /Volumes/10.4.10/usr/standalone/i386
-bash-2.05b# ls
boot1h
-bash-2.05b# diskutil unmount /Volumes/10.4.10
Volume failed to unmount


( without rebooting )
unmount-failure > closing Teminal > opening DiskUtility > closing DiskUtility > opening Teminal again



-bash-2.05b# diskutil unmount /Volumes/10.4.10
Volume /Volumes/10.4.10 unmounted
-bash-2.05b# cd /Volumes/9A581/files
-bash-2.05b# ls
.DS_Store bless extensions minibless
Info.plist bless.c i386 startupfiletool
OSInstall.mpkg dump_kernel mach_kernel
-bash-2.05b# cd i386
-bash-2.05b# ls
.DS_Store boot boot1h cdboot
BootHelp.txt boot0 boot1u chain0
-bash-2.05b# dd if=boot1h of=/dev/rdisk0s1 bs=512 count=1
1+0 records in
1+0 records out
512 bytes transferred in 0.000331 secs (1547178 bytes/sec)
-bash-2.05b# /Volumes/9A581/files/startupfiletool /dev/rdisk0s1 /Volumes/10.4.10/usr/standalone/i386/boot
HFS+ filesystem detected
startupfiletool: open(/Volumes/10.4.10/usr/standalone/i386/boot): No such file or directory
-bash-2.05b# /Volumes/9A581/files/startupfiletool /dev/rdisk0s1 /usr/standalone/i386/boot
HFS+ filesystem detected
Looking for 1 words free
reading 4096,4096
Marking word 562
writing back 4096,4096
allocated blocks 32 at start 17984
-bash-2.05b# /Volumes/9A581/files/bless -device /dev/disk0s1 -setBoot -verbose
dyld: lazy symbol binding failed: Symbol not found: __NSSetProgramVars
Referenced from: /Volumes/9A581/files/bless
Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: __NSSetProgramVars
Referenced from: /Volumes/9A581/files/bless
Expected in: /usr/lib/libSystem.B.dylib

Trace/BPT trap
-bash-2.05b# /Volumes/9A581/files/startupfiletool -v /dev/rdisk0s1 boot
HFS+ filesystem detected
Looking for 1 words free
reading 4096,4096
Marking word 563
writing back 4096,4096
allocated blocks 32 at start 18016
-bash-2.05b# ls
.DS_Store BootHelp.txt boot boot0 boot1h boot1u cdboot chain0
-bash-2.05b# cd ..
-bash-2.05b# ls
.DS_Store OSInstall.mpkg bless.c extensions mach_kernel startupfiletool
Info.plist bless dump_kernel i386 minibless
-bash-2.05b# bless -device /dev/disk0s1 -setBoot -verbose
Device IS NOT whole
Apple_HFS partition. No external loader
IODeviceTree:/openprom not present in IORegistry. OpenFirmware not present
Partition map is MBR
Opening whole device /dev/disk0
MBR changed: NO
/dev/disk0s1 set as active boot partition
-bash-2.05b# reboot
Last edited by chival4ry on Fri Nov 02, 2007 2:25 am, edited 2 times in total.
O System 1 : E6750[good], 8600GT[mostly good] + 2600Pro[mostly good], Asus P5K[mostly good], Segate Sata2 320GB x2[good], LG DVD GSA H62L(sata)[good], D-Link DFE 538TX PCI[good]
(XxX 10.5.6 Rev1[good], Kalyway 10.5.1[good], 10a190[SafeMode])
O System 2 : p4 2.4c, Asus p4p 800, fx5600, Segate 80gbx2, Realtek 8139 ( Jas 10.4.8 )
User avatar
chival4ry
Sr. Member
 
Posts: 331
Joined: Sat Aug 04, 2007 8:16 am

Re: P5k3 Leopard Install Guide

Postby nateleav76 on Thu Nov 01, 2007 3:46 pm

This doesn't help me.I have fully installed Leopard on a empty drive, but afher the patch nothing boots although the DVD is in the SATA drive


Is your DVD drive setup in your BIOS as the first boot option? Is your BIOS setup exactly the way I mentioned in the guide above?
nateleav76
Newbie
 
Posts: 9
Joined: Sat Apr 22, 2006 2:08 am

Re: P5k3 Leopard Install Guide

Postby chuckdsanders on Thu Nov 01, 2007 10:50 pm

Just out of curiosity why does it matter if the DVD drive is set to be boot # 1. I am going to try to run the patch and then install darwin per the instructions above. Wish me luck ;).
Leopard Server 10.5. ASUS P5K-Deluxe,Intel 830D,2 gig PC6400 OCZ Gold DDR2, Leadtek 7800GTX, Plextor PX-755SA, 74gig Raptor (OS hd) 2x250 gig sata II, 750gig sata II, 320 gig, sata II, Antec P180, PC Power and Cooling 610watt, No Stupid lights
chuckdsanders
Newbie
 
Posts: 23
Joined: Tue Aug 08, 2006 10:08 pm

Re: P5k3 Leopard Install Guide

Postby bigcat on Thu Nov 01, 2007 11:19 pm

anyone knows why the DVD drive must be SATA? My DVD is IDE.
bigcat
Newbie
 
Posts: 1
Joined: Tue Feb 06, 2007 12:50 am

Re: P5k3 Leopard Install Guide

Postby chuckdsanders on Fri Nov 02, 2007 12:18 am

I take it you have to have another version of OS X running on another partition in order to get the darwin boot loader installed? It won't let me execute sudo commands in terminal off of the live dvd. Any ideas?
Leopard Server 10.5. ASUS P5K-Deluxe,Intel 830D,2 gig PC6400 OCZ Gold DDR2, Leadtek 7800GTX, Plextor PX-755SA, 74gig Raptor (OS hd) 2x250 gig sata II, 750gig sata II, 320 gig, sata II, Antec P180, PC Power and Cooling 610watt, No Stupid lights
chuckdsanders
Newbie
 
Posts: 23
Joined: Tue Aug 08, 2006 10:08 pm

Re: P5k3 Leopard Install Guide

Postby chival4ry on Fri Nov 02, 2007 3:35 am

( anyone knows why the DVD drive must be SATA? My DVD is IDE. )
After installing Tiger first, Using " DVD HardDisk Installation method "
[ viewtopic.php?f=16&t=1735 ]
8.Restore your image to the 5GB HardDrive.
-Go to Diskutil.
-Click on mounted ISO (Left hand side of Disk Utility)
-Drag your 5GB drive to destination (left hand of the disk util)
-Drag your mounted iso to recource (left hand of the disk util)
-Click on delete destination.
-Then press restore and wait.
-----------

( I take it you have to have another version of OS X running on another partition in order to get the darwin boot loader installed? It won't let me execute sudo commands in terminal off of the live dvd. Any ideas? )
Tiger have the darwin boot loader, but Leopard don`t, so, after installing Leopard, we should install the darwin boot loader. And, for the Terminal of the DVD, you are right. [ seeing my 2nd post ]
O System 1 : E6750[good], 8600GT[mostly good] + 2600Pro[mostly good], Asus P5K[mostly good], Segate Sata2 320GB x2[good], LG DVD GSA H62L(sata)[good], D-Link DFE 538TX PCI[good]
(XxX 10.5.6 Rev1[good], Kalyway 10.5.1[good], 10a190[SafeMode])
O System 2 : p4 2.4c, Asus p4p 800, fx5600, Segate 80gbx2, Realtek 8139 ( Jas 10.4.8 )
User avatar
chival4ry
Sr. Member
 
Posts: 331
Joined: Sat Aug 04, 2007 8:16 am

Re: P5k3 Leopard Install Guide

Postby nateleav76 on Fri Nov 02, 2007 4:33 am

chuckdsanders wrote:Just out of curiosity why does it matter if the DVD drive is set to be boot # 1. I am going to try to run the patch and then install darwin per the instructions above. Wish me luck ;).


The only reason why the DVD must be the first is so you can boot from it... if you can choose the boot drive while your booting up then you don't need to do it. It's just to make it easier while installing.

chival4ry wrote:( anyone knows why the DVD drive must be SATA? My DVD is IDE. )


That is just because my board won't boot or read a SATA disk with leopard installed.
nateleav76
Newbie
 
Posts: 9
Joined: Sat Apr 22, 2006 2:08 am

Re: P5k3 Leopard Install Guide

Postby chuckdsanders on Fri Nov 02, 2007 4:20 pm

You guys are my heros. It works. I have pretty much everything up and running. I couldn't get the audio to work after hacking the kexts. So I used a USB audio card that OS X knows and I have tunes. The only thing that I cannot get working is the Time machine and power management. Time machine when pointed to a disk gives me the error The Backup Volume could not be found. Any ideas on the Time Machine? I see that its related to the IONetworkingFamily.kext, I have tried the .boot.appleboot or what have you and then changing the permissions on the drive too.
Leopard Server 10.5. ASUS P5K-Deluxe,Intel 830D,2 gig PC6400 OCZ Gold DDR2, Leadtek 7800GTX, Plextor PX-755SA, 74gig Raptor (OS hd) 2x250 gig sata II, 750gig sata II, 320 gig, sata II, Antec P180, PC Power and Cooling 610watt, No Stupid lights
chuckdsanders
Newbie
 
Posts: 23
Joined: Tue Aug 08, 2006 10:08 pm

Re: P5k3 Leopard Install Guide

Postby prestige68 on Thu Nov 08, 2007 9:46 pm

I am having problems trying to install Leopard on my PC. I cannot get it to install on my computer, After i choose the location and after it does the DVD check it wont install, instead it gives me an error message and tells me i need to restart, can someone please help me with this. I can't figure out the problem, do i have a bad burn? I just dled the iso from isoripper and burned it, did i have to repatch the iso i downloaded, i thought that it was an already patched copy, can someone please help me, thank you.
Asus P5K Deluxe wifi
Intel E6600
4GB DDR2 Crucial Ballistix Tracers
XFX GeForce 7900GS
Sound Blaster Audigy 2
500GB Seagate 7200.10
500GB Western Digital WD5000AAKS
320GB Western Digital WD32000KS
prestige68
Newbie
 
Posts: 7
Joined: Thu Nov 08, 2007 9:27 pm

Re: P5k3 Leopard Install Guide

Postby nateleav76 on Fri Nov 09, 2007 4:36 am

prestige68 wrote:I am having problems trying to install Leopard on my PC. I cannot get it to install on my computer, After i choose the location and after it does the DVD check it wont install, instead it gives me an error message and tells me i need to restart, can someone please help me with this. I can't figure out the problem, do i have a bad burn? I just dled the iso from isoripper and burned it, did i have to repatch the iso i downloaded, i thought that it was an already patched copy, can someone please help me, thank you.


#1 - what leopard release do you have?
#2 - what is your motherboard
#3 - are you following the guide exactly?
nateleav76
Newbie
 
Posts: 9
Joined: Sat Apr 22, 2006 2:08 am

Next

Return to OSX86 How-To's

Who is online

Users browsing this forum: No registered users and 3 guests