Jump to content

[GUIDE] Snow Leopard on P5KE WIFI P5K-E 64bit vanilla


macmaniac
 Share

106 posts in this topic

Recommended Posts

This guide is a consolidation of 2 different guides already posted. Thanks go to lancelotu at infinitemac for his P5K-E wifi guide and DB1's P5K-VM snowy install. Other credits got to netkas, munky (EFI/unix guide), the chameleon people, and the OSx86 community. I didn't reinvent the wheel, but what I have done is come up with recipe that is fairly robust (no KP's) and defaults into 64bit mode. It is NOT a perfect install by any measure, but by posting it here, I hope others can refine and improve it. Thanks again to lancelotu as this guide would not be possible without his hard work.

 

 

NEW UPDATE!!

Click Here

 

This guide is somewhat complex, so if you aren't handy with terminal and basic unix concepts, this probably isn't for you. This is not a "one click" install. Use at your own risk.

 

You need a Snow Leopard disk image, and an assortment of apps and kexts found in this P5KE_SnowPack

You need to boot from a working Leopard partition, and you need an empty hard drive. Put the P5KE_SnowPack folder on your desktop.

 

1. Using DiskUtility, format your new SnowLeopardHD with one GUID partition Mac OS Extended (Journaled):

 

2. Mount and run the Chameleon Installer (Use RC1 or RC2, it doesn't matter which one):

 

a.select destination drive SnowLeopardHD

b.select customize

c.select Chameleon EFI HFS only. DEselect all other options (themes,extras).

 

 

3. Replace the boot file in the EFI partition with the modified one.

 

Log into Terminal by typing sudo -s (enter) and enter password, Then type

 

diskutil list and make note of which disk number (lets call it variable X) you SnowLeopardHD is.

mkdir /Volumes/EFI

mount_hfs /dev/diskXs1 /Volumes/EFI *replace X with your disk number*

rm -rf /Volumes/EFI/boot

cp /Users/username/Desktop/P5KE_SnowPack/boot /Volumes/EFI

chown -R root:wheel /Volumes/EFI/boot

umount /Volumes/EFI -if you get an error with this command, this guide may not be for you

 

 

4. Install Mac OS SnowLeopard:

 

open /Volumes/Mac\ OS\ X\ Install\ DVD/System/Installation/Packages/osinstall.mpkg

sudo /usr/sbin/vsdbutil -a /Volumes/SnowLeopardHD this enables owners

 

 

5. Install DSDT.aml file:

 

Run the DSDT patcher GUI app. This program will make a dsdt file and install it on a drive of your choice. Another option is swap in a premade one (included in snowpack), which has sound fix. The premade one may not be compatible with your machine, so I recommend using the patcher app first.

 

chown -R root:wheel /Volumes/SnowLeopardHD/dsdt.aml

 

 

6. Install 64bit kexts and repair permissions.

 

remove the duplicates:

rm -rf /Volumes/SnowLeopardHD/System/Library/Extensions/IONetworkingFamily.kext

rm -rf /Volumes/SnowLeopardHD/System/Library/Extensions/JMicronATA.kext

 

Drag and drop the kexts from the snowpack to your s/l/e folder, then:

 

chmod -R 755 /Volumes/SnowLeopardHD/System/Library/Extensions/*

chown -R root:wheel /Volumes/SnowLeopardHD/System/Library/Extensions/*

 

 

7. Put your graphics strings into the com.apple.Boot.plist:

 

sudo nano /Volumes/SnowLeopardHD/Library/Preferences/SystemConfiguration/com.apple.Boot.plist

 

 

8. Do a final permissions repair.

 

diskutil repairPermissions /Volumes/SnowLeopardHD

 

 

9. Fix extensions cache

 

rm -rf /Volumes/SnowLeopardHD/System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext

kextcache -v 1 -t -l -m /Volumes/SnowLeopardHD/System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /Volumes/SnowLeopardHD/System/Library/Extensions

kextcache *should* not report any errors

 

 

10. Boot your new SnowLeopard HD drive with boot flag -v

 

Don't panic~! With the fixed extensions cache, you don't need to run kextutility.

 

 

Cheers!

 

If you install from Leopard and not Snow Leopard, you may get a "package not installed " error when repairing permissions with disk utility. In that case, load up your Snow Leopard Install DVD disk image, and with terminal, open the BSD.pkg, and install. Reboot and you should be able to repair the permissions.

 

This install is truly rock solid. I haven't had a single kernel panic. However, if your kext cache becomes corrupt, all bets are off. Anyway, Snow leopard is allowing my Firewire800 card to play nice with the onboard Firewire400. This didn't happen in Leopard.

 

LINKS:

 

http://www.infinitemac.com/f57/how-to-snow...2-on-p5k-t3380/

P5K-E SnowPack

 

Hopefully smarter people than me can expand and improve upon this guide. Search the link above on how to customize your dsdt to get sound and sleep.

 

Working:

LAN, Sound,Firewire,USB,display,

 

Iffy:

Restart works, but usually not after sleep, Sleep works, but on restart it will hang.

 

Not working: Onboard wireless LAN, Sleep on idle (aka automatic sleep). Auto sleep hasn't worked (for me) since the good old days of JaS 10.4.8. ;)

 

Looking for fixes, somebody pitch in!

Link to comment
Share on other sites

That's pretty much what I'm attempting at the moment. Didn't have an 8gb flash drive or usb HDD so I've restored the OSX Install dvd image to a 2nd internal drive, booted it with Chameleon and I'm in the process of installing over my existing Leopard install. I like MACINIZED's macloader method and I've used it since Leopard so I've updated it with my DSDT and relevant kexts from lancelotu's guide. 15 mins and I'll see if it boots.

Link to comment
Share on other sites

macmaniac thanks for the guide!

 

Will this guide work if you use it on your existing Leo install rather than a second drive?

 

My guide is for two drives (built in SATA and configured as AHCI in BIOS). Two drives, one has Leopard on it, the other is the target. What I'm trying to say is that you need to install from a working partition. Hope this makes sense.

 

striggell, I've got my fingers crossed for you.

Link to comment
Share on other sites

macmaniac thanks for the guide!

 

Will this guide work if you use it on your existing Leo install rather than a second drive?

 

 

That's pretty much what I'm attempting at the moment. Didn't have an 8gb flash drive or usb HDD so I've restored the OSX Install dvd image to a 2nd internal drive, booted it with Chameleon and I'm in the process of installing over my existing Leopard install. I like MACINIZED's macloader method and I've used it since Leopard so I've updated it with my DSDT and relevant kexts from lancelotu's guide. 15 mins and I'll see if it boots.

 

 

My guide is for two drives (built in SATA and configured as AHCI in BIOS). Two drives, one has Leopard on it, the other is the target. What I'm trying to say is that you need to install from a working partition. Hope this makes sense.

 

striggell, I've got my fingers crossed for you.

 

Well I've effectively upgraded my 10.5.8 install to 10.6.0 I was expecting to wipe out 10.5.8 all together. not a single KP but it hasn't booted in 64 bit so I'll try rebooting with -x64. I've also lost sound (dsdt mustn't be right) and about this mac shows "unknown processor" - both easy fixes though. Seriously once I'd setup a 2nd internal drive to boot the install disk image it wasn't much harder than upgrading my MBP. But here's the proof.

 

Desktop.tiff

 

I still haven't tried shutdown, sleep or restart yet though

Link to comment
Share on other sites

Well I've effectively upgraded my 10.5.8 install to 10.6.0 I was expecting to wipe out 10.5.8 all together. not a single KP but it hasn't booted in 64 bit so I'll try rebooting with -x64. I've also lost sound (dsdt mustn't be right) and about this mac shows "unknown processor" - both easy fixes though. Seriously once I'd setup a 2nd internal drive to boot the install disk image it wasn't much harder than upgrading my MBP. But here's the proof.

 

Desktop.tiff

 

I still haven't tried shutdown, sleep or restart yet though

 

On my installs, restart and shutdown work for me. Sleep needs some dsdt patching, but it has been reported to work. My processor is correctly identified, but the memory speed is wrong. Not a big deal. -quick edit - My installs default to 64 bit, FWIW. Perhaps a clean install gets you default 64.

 

You'll have to edit your dsdt to get sound. Sound seems to work well enough, but I only use the standard rear output.

 

Anyway, glad to see that it worked.

Link to comment
Share on other sites

I fix sleep problem follow zhell's guide like you.

 

It works. But I tryto reboot after wake up from sleep, my computer hang in there.

 

Is there any solution for this ?

 

I am using P5K-E Wifi motherboard.

 

zhell did warn that things can behave unpredictably after sleep. Chances are, something isn't shutting down properly after sleep. You could boot verbose and do a sleep, then a shutdown, and see what system reports as it shuts down. It may tell you what is hanging.

 

It could be ethernet. Are you using wireless? Try manually shutting the wireless down after sleep. Also, turn off "wake for ethernet" in sytem preferences, and "wake on lan" in BIOS.

 

I only had this hang on restart after sleep problem once.

 

I've noticed that my wireless requests a new DCHP when it wakes from sleep, causing me to have a duplicate network name, because my wired ethernet is also active. Deactivating my Broadcom 43xx airport card solved the problem, and it seems that I can restart after sleep without hangup. Hasn't happened since.

 

I spoke too soon. I did a few more sleep/restarts, and had a hangup. I don't have a fix, but hopefully somebody out there does.

Link to comment
Share on other sites

Finally got SL up and running with this guide and a couple others :huh:. However, I can't figure out how to get the wireless on this board to work. The Realtek drivers I was using previously has not been updated to 64-bit (and I'm afraid it may never). Or are you using a different wireless card? Thanks!

Link to comment
Share on other sites

I just updated the guide so it should work a lot better. No panic on first boot. I have tested this method several times and it works every time.

 

anko, I don't think there are Snow Leopard drivers for the onboard wireless yet ;)

 

The onboard never did work with Airport.

 

I put in a Broadcom 43xx type wireless.

If someone can get our P5K-E onboard wireless working with airport, I'd like to know.

Link to comment
Share on other sites

Thanks for the guide! I've got a P5K-E and followed this guide to install onto a second internal SATA drive. I cannot seem to enter any boot options when Chameleon loads. I see the progress bar counting down and the press "any" key but I'll go ahead and press lots of keys and Chameleon does not respond.

 

It will boot into Snow, but my Graphics Card kexts (x1950 Pro) will not load and aren't working for some reason, maybe because I've never updated the kext cache? When I went through that in the terminal I got permissions errors.

 

Sound works and my WiFi card works. I would like to be able to boot with -x32 to see if my graphics kext works then, but can't with Chameleon currently. Any clue as to why? The PC will recognize my keyboard if I want to go to the BIOS or something so why is Chameleon not letting me enter options?

 

Also, shut down was not working for me. I get stuck on a blue screen. Any help would be awesome!

Link to comment
Share on other sites

Not working: Onboard wireless LAN, Sleep on idle (aka automatic sleep). Auto sleep hasn't worked (for me) since the good old days of JaS 10.4.8. :)

 

Looking for fixes, somebody pitch in!

I have automatic sleep working and no need for the AHCIPortInjector and IOAHCIBlockStorageInjector thx to the dsdt.aml patch...

 

Try at your own risk (i have an ASUS P5K-E WIFI)

dsdt.aml.zip

Link to comment
Share on other sites

@night_rider: The extras folder has issues in RC1 and RC2. I think you need an earlier chameleon/efi if you want to use the extras folder. But you are right, the recipe posted in this thread requires due diligence when installing updates. FWIW, I installed 10.6.1 from the apple updater without issues.

 

@kpkp: You dsdt stalled on my system. It just hung. Thanks for sharing though, when I get a chance I take a closer look at your dsdt and fixing the auto sleep.

 

Can you restart reliably after your computer goes to sleep? If it does, do you want to post your SnowLeopard recipe?

 

On another slightly related note, after 10.6.1 update, kextcache reports dependancy problems with EHCISleepEnabler.kext I didn't have that before.

Link to comment
Share on other sites

Can you restart reliably after your computer goes to sleep? If it does, do you want to post your SnowLeopard recipe?

No, i was never able to do that, i have heard about people with Ubuntu having the same problem (i might be wrong) someone can confirm?

Link to comment
Share on other sites

Macmaniac, thank you for the awesome guide! I didn't think I was a noob but I keep having a noob issue. I follow the guide perfectly and I get the same error. KP on reboot 'ACPI' error attributed to the 'IOPLATFORMEXPERT'. Nothing I do gets me past that KP. Is it possible my bios settings are off? What's your BIOS set to? Any information would help!

 

Thanks.

Link to comment
Share on other sites

hello and thanks for your guide!

 

i get the following error

 

umount /Volumes/EFI

umount: unmount(/Volumes/EFI): Resource busy

 

please, what do i do to get rid of this error?...

 

sorry i'm a n00b

 

 

 

 

edit: found that instead of umount the following can be used: diskutil unmountdisk disk1

 

 

nonetheless, i've got a KP on reboot :)(

Link to comment
Share on other sites

hello and thanks for your guide!

 

i get the following error

 

 

 

please, what do i do to get rid of this error?...

 

sorry i'm a n00b

 

 

 

 

edit: found that instead of umount the following can be used: diskutil unmountdisk disk1

 

 

nonetheless, i've got a KP on reboot :rolleyes:(

 

try something like

umount -f /Volumes/EFI

Link to comment
Share on other sites

Just thought i'd post here.

 

I've followed the guide on InfiniteMac used all the kext in the pack and the dsdt, but it didn't work for me. No sound, only 1 USB, no firewire, no ethernet (didn't try the IONetwork.kext). I did use Chameleon Rc2 installer and upgraded it to RC3 tho instead of the bootloader in the tut. :P

 

Im on P5K-E Wifi/AP

 

10.5.8 running sweet tho. :D

Link to comment
Share on other sites

2ND UPDATE! Now using Chameleon RC3 and extra folder.

 

This guide is somewhat complex, so if you aren't handy with terminal and basic unix concepts, this probably isn't for you. This is not a "one click" install. Use at your own risk.

 

PLEASE READ CAREFULLY, FOLLOW THE STEPS CAREFULLY

 

 

You need a Snow Leopard disk image, and an assortment of apps and kexts found in this P5KE_SnowPack2. Unzip the P5KE_SnowPack2 folder on your desktop.

You need to boot from a working Leopard partition, and you need an empty hard drive.

You need your EFI graphics string. You need to have your own com.apple.boot.plist, or edit the one that I have included.You need to know about DSDT and how to patch it.

 

**HELPFUL HINT** copy the bold text and paste into terminal, this saves time and prevents errors

 

1. Using DiskUtility, format your new SnowLeopardHD with one GUID partition Mac OS Extended (Journaled):

 

 

2. Mount and run the Chameleon RC2 Installer.

 

a.select destination drive SnowLeopardHD

b.select customize

c.select Chameleon EFI HFS only. DEselect all other options (themes,extras).

 

 

3. Replace the boot file in the EFI partition with RC3 boot file and install P5K extensions.

 

Log into Terminal by typing sudo -s [enter] and enter password, Then type

 

diskutil list *this lists your volumes, make note of which disk number (lets call it variable X) your SnowLeopardHD is.

mkdir /Volumes/EFI *this makes a directory for you to work on

mount_hfs /dev/diskXs1 /Volumes/EFI *replace X with your disk number*

rm -rf /Volumes/EFI/boot *removes old boot file

cp /Users/username/Desktop/P5KE/EFI/boot /Volumes/EFI *replaces new RC3 boot file

cp /Users/username/Desktop/P5KE/EFI/Extra/com.apple.Boot.plist /Volumes/EFI/Extra *this puts in my boot.plist which you should edit first.

cp -R /Users/username/Desktop/P5KE/EFI/Extra/Extensions /Volumes/EFI/Extra *this puts in the P5K extensions

chown -R root:wheel /Volumes/EFI *this fixes permissions

chmod -R 755 /Volumes/EFI *this fixes permissions

umount /Volumes/EFI *-if you get an error with this command, this guide may not be for you, Or… reboot, and try from the beginning.

 

 

4. Install Mac OS SnowLeopard

 

mount your Snow Leopard Install DVD image

 

open /Volumes/Mac\ OS\ X\ Install\ DVD/System/Installation/Packages/osinstall.mpkg *this opens the installer, run the installer, and when finished, type:

sudo /usr/sbin/vsdbutil -a /Volumes/SnowLeopardHD *this enables owners

 

 

5. Install DSDT.aml file:

 

This is optional for first timers. Skip this step to eliminate variables. You can add this after your install works. The DSDT patch will fix sound, HDD icons, and sleep. If this is your first time with this method, skip this step. Go to step 6

 

Run the DSDT patcher GUI app. This program will make a dsdt file and install it on a drive of your choice. Another option is swap in a premade one. This may not work on your machine.

 

chown -R root:wheel /Volumes/SnowLeopardHD/DSDT.aml *this fixes permissions

chmod -R 755 /Volumes/SnowLeopardHD/DSDT.aml *this fixes permissions

 

HDD icons, sound, and sleep won't work until you edit your DSDT.dsl file, and compile into a .aml file Telling you how to do this is beyond the scope of this guide.

 

sound link: http://www.infinitemac.com/f57/how-to-snow.../post30994.html

HDD link: http://www.infinitemac.com/f57/how-to-snow...380/page16.html

sleep link: http://www.insanelymac.com/forum/index.php?showtopic=168014

 

6. Reboot!

 

http://rapidshare.com/files/281161258/P5KE_SnowPack2.zip

 

Oh yeah:

If you install from Leopard and not Snow Leopard, you may get a "package not installed " error when repairing permissions with disk utility. In that case, load up your Snow Leopard Install DVD disk image, and with terminal, open the BSD.pkg, and install. Reboot and you should be able to repair the permissions

Link to comment
Share on other sites

ocZZZ, Glad to hear the second guide is working good.

 

Does your P5K Premium have the same sound chip as the P5k-E wifi? I don't know for sure, but that might explain why.

 

The chameleon RC2 installer makes an extra folder, even if you tell it to not put anything there. At least thats how it seems to be working on my computer.

Link to comment
Share on other sites

 Share

×
×
  • Create New...