Jump to content

[GUIDE] How to Install Lion on a P6X58D Premium


mayhemm88
 Share

18 posts in this topic

Recommended Posts

Known Issues

 

I have not gotten sleep to work at all with Lion. I have tried every trick in the book. Patching DSDT, installing EVOReboot.kext, and SleepEnabler.kext. None of these work. It is best just to disable sleep in power settings altogether lest you have lots of black screens.

 

Attempting to shutdown or reboot caused issues for me until patching DSDT.

 

The front panel audio connector on my case does not work at all in OS X. (don't know if it is the case that is the issue, or the motherboard. Either way, you have been warned)

 

EDIT: Flash Plugin Crashes in Firefox 4.0. Don't know if this is a bug or what

 

 

What You'll Need

 

Compatible Hardware, please check hardware compatibility before attempting this. I will not

be responsible nor offer support for damage done to the system due to hardware incompatibility.

 

A Copy of Lion GM, Either from the App Store or downloaded from the developer website

 

A bootable lion USB stick per MaLd0n's guide, Instructions on how to do this are here:

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

 

DSDT Auto-Patcher, this can be found here:

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

 

NOTE: if the auto-patcher fails run download the latest BIOS update from ASUS. Doing this fixed the errors for me.

 

Extra Folder with Compatible kexts (see bottom of post)

 

Installing Lion

 

Use your newly created Lion USB stick to boot to the installer, apply any flags that you need. In

order to boot, I used the flags -v and -x. Depending on your video card you may also need

the npci=0x2000 flag or you will hang at boot during PCI Configuration Begin.

 

Once the installer has loaded, select a language and partition your disk accordingly with Disk Utility. The installer should complete in about 15-30 Minutes depending on your hard drive speed.

 

Post Install Config (a.k.a the "hard part")

 

Boot off of the USB stick again to boot to your new OS X installation. If you are not able to boot, try booting with -v or -x. If that does not work, try the -s flag to log into single user mode. My installation worked great with -v and npci=0x2000.

 

Once booted, Install Chameleon 2.0 RC5 and copy the extra folder (at the bottom of this post) to the root of your OS X partition.

 

repair the permissions to the kext files in /Extra/Extensions and /System/Library/Extenstions. You

will need to use the terminal to do this as kext helper failed to work in Lion. to do this issue the

commands:

 

sudo chown -R 0:0 /Extra
sudo chmod -R 755 /Extra
sudo chown -R 0:0 /System/Library/Extensions
sudo chmod -R 755 /System/Library/Extensions

 

after successfully executing these commands, reboot the system using the same flags as before. If you have done everything correctly up to this point, you should have a semi-working system

 

Depending on your video card, you may have extra work to do. I do not have any ATI cards to test but to get the GTX 5XX series cards working properly, you will need to patch and install some

kexts in /S/L/E. T.B.B has written a wonderful guide on how to get this working:

http://www.insanelymac.com/forum/lofiversi...hp/t260074.html

 

after getting your video card configured (if it wasn't working already) reboot the machine. At this

point, you should no longer need the npci=0x2000 flag (if you were using it)

 

once you have successfully booted back into the system and have a working video card patch

AppleHDA.kext using the files provided and Kext Helper. Reboot the machine and you should have

working audio

 

Finally, use the DSDT Auto-Patcher to patch your system's DSDT. This should fix any issues you

are having with shutdown and/or reboot. Copy the generated dsdt.aml to the root of your Extra

Folder. Reboot one last time to load the new dsdt.

 

Congratulations, you now should have a near perfect install of Lion on your P6X58D Premium

Motherboard! Enjoy :D

P6X58D_Prem.zip

Link to comment
Share on other sites

  • 2 weeks later...

Thank you so much for this! I have an nVidia GT240 card and got into a reboot cycle when I attempted to boot from the USB stick. These flags helped:

 

-v -x npci=0x2000

 

Other than that, I followed your instructions to the letter and have a functioning system (issues with sleep and front-panel audio... but I don't care!)

 

Cheers mate! :D

Link to comment
Share on other sites

You are awesome! Thank you so much for putting this together and posting it.

 

I got this to boot easy enough, however no Ethernet and no Audio. Even my working setup from Snow Leopard was not working under Lion, however a couple quick copies, commands, reboots, and boom! I ended up reusing my old DSDT that I made for Snow Leopard and it worked fine to resolve the reboot issue as well as the main reason I patched it before (slow SATA read times).

 

 

Everything but graphics are working right now (working with a 560ti. Should be able to get it just haven't tried yet). I don't care about sleep nor the front audio panel, so those are of no concern.

 

Thank you again! Much appreciated!

Link to comment
Share on other sites

Thanks for this! I have that motherboard. A few questions:

 

1) Can i boot the USB from a windows PC with no hackintosh on it by just rebooting and booting from USB? Will Chameleon take care of that?

2) Any idea if it will support my ATI Radeon 5870 2GB Eyefinity 6 edition?

 

Thanks so much!

Link to comment
Share on other sites

OK i got this working!

 

Installed Lion and my Radeon 5870 worked a beauty as soon as it booted!

 

The only problems were:

1) Network card

2) Sound

 

The rest worked (didnt test sleep, but restart worked)

 

PS/2 keyboard didnt work but im in the process of fixing that..

 

I managed to fix network card with your extra folder (thanks!) but then keybaord didnt work with extra folder cos its PS2.. so trying to fix that so i can fix audio! will update

 

----------------------------------------------------------------------------

UPDATE:

Ok firstly dude you are my hero..

 

When following your instructions down to the T, everything worked.. The problem before was using [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url]..stay away from it for anyone following this guide.

 

Follow these instructions exactly and everything will work..

 

The only thing i needed to add was PS/2 kexts for my keyboard located here - http://www.kexts.com/view/1243-ps2_lion_kexts.html

 

Sound, networking everything is perfect..

 

The ONLY thing i didnt do was the DSDT generator.. What will it do for me? Cos my restart and shutdown works fine?

 

1 More question:

 

How do you control fan speed? I think its my GPU that is really loud :/ EDIT: Fixed! - with PCIRootUID = 1!!!

Link to comment
Share on other sites

Ok my turn to give back now... Working SleepEnabler kext for Lion for our board..

 

http://www.kexts.com/downloads.php?do=file&id=1422

 

Enjoy :(

 

Another fix: "App Store Your device or computer cannot be verified"

 

I posted this on another forum, including it here to help you guys!

 

FIX:

 

Ok i just fixed this one myself!! (well by researching the net)..

 

For anyone else with similar symptoms, the ONLY way to fix this (in my case anyways) was to add the EFI string for ethernet card to the boot.plist..

 

To do this i:

- downloaded EFI Studio, selected Ethernet, selected Add Device. Then clicked write to com.apple.boot.plist.

- Then went to /Library/Preferences/SystemConfiguration/apple.com.boot.plist and selected the new key and string it added.

- Then coped this string and pasted into the /Extra/apple.com.boot.plist file and saved.

 

Then important STEP!

- Remove all network devices from System Preferences/Network.

- Delete deleting library>preferences>system configuration> NetworkInterfaces.plist file.

 

* Finally, Reboot.

 

After reboot, go to System Preferences/Network add add devices. Click (Ethernet) FIRST!! Then add the other adapters you use to connect to the internet.

 

Voila. App Store now works

 

Hope this helps someone somewhere

 

http://www.kexts.com/10-7-lion/11315-app-s....html#post76256

Link to comment
Share on other sites

Ok so you:

1) copy the extra folder (at the bottom of this post) to the root of your OS X partition.

2) repair permissions

3) Dragged the attached patched AppleHDA.kext into Kext Helper and repair permissions again.

 

Reboot the machine and you should have working audio

Link to comment
Share on other sites

  • 1 month later...

How were you guys changing the resolution? I was stuck at very small resolution and couldn't change it. Besides the resolution and not being able to boot into OSX without the USB stick (I don't know why chameleon didn't work) I had near complete functionality.

Link to comment
Share on other sites

Hi,

I'm following this guide, I've a perfectly working Snow Leopard install on my P6X58D.

 

I've prepared the USB stick with Chameleon RC5, so I'm able to boot the USB and I'm trying various boot options like:

-v -x arch=i386 cpus=1 busratio=23 (for i7 950)

 

The USB boot correctly, I see the huge list of modules, but when they finish to load the system suddenly reboot!

 

Thanks for any help!!

Link to comment
Share on other sites

Hi,

I'm back with some news.

 

I've saw that other people with the P6X58D have got problems in botting the Lion installation via USB stick (blinking cursor and no Chameleon loading).

 

I think that the main problem is the Chameleon version....probably this guide has been written with the Chameleon RC5 but now there's the GM version (Chameleon-2.0-r1394.pkg.gz), with the r1349 I've the USB booting problem and I've solved it by using the latest Chameleon 2.1 (Chameleon_v2.1svn_r1506.pkg.zip).

 

With the 2.1 I need to adjust the Extra folder because I'm getting kernel panic with the Extra folder provided in this topic.

 

I think that the better solution is to include the correct Chameleon version in the Extra ZIP package at the bottom of the first post, so everything should work.

 

Thank you very much.

Kind Regards,

 

MB

Link to comment
Share on other sites

Hi,

I'm back with some news.

 

I've saw that other people with the P6X58D have got problems in botting the Lion installation via USB stick (blinking cursor and no Chameleon loading).

 

I think that the main problem is the Chameleon version....probably this guide has been written with the Chameleon RC5 but now there's the GM version (Chameleon-2.0-r1394.pkg.gz), with the r1349 I've the USB booting problem and I've solved it by using the latest Chameleon 2.1 (Chameleon_v2.1svn_r1506.pkg.zip).

 

With the 2.1 I need to adjust the Extra folder because I'm getting kernel panic with the Extra folder provided in this topic.

 

I think that the better solution is to include the correct Chameleon version in the Extra ZIP package at the bottom of the first post, so everything should work.

 

Thank you very much.

Kind Regards,

 

MB

 

Is this why I can not boot from the OSX disc after I install Lion? Installing chameleon 2.1 onto the OSX disc gives me a kernel panic (or something) when I attempt to boot from it. I can however boot from the USB disc again, though this is useless to me since I can't fix my screen resolution without loading KEXT files that are on the OSX hard drive.

Link to comment
Share on other sites

Is this why I can not boot from the OSX disc after I install Lion? Installing chameleon 2.1 onto the OSX disc gives me a kernel panic (or something) when I attempt to boot from it. I can however boot from the USB disc again, though this is useless to me since I can't fix my screen resolution without loading KEXT files that are on the OSX hard drive.

 

Hi,

I've solved my problems during this night, I'll try to explain...

 

I've reinstalled Lion and deleted the Extensions.kext file from the Extra folder and all the Extra/Extensions files.

After that I've loaded the extensions files one by one to see the one that are causing my kernel panic.

 

With just the fakeSMC you should be able to boot from the Lion partition.

Anyway all the kext seems to be good except for the AppleYoukon2Injector that needs a simple tip (I've red it from another forum): basically if you don't power off your PC but you simply reboot it, the network card will not be detected and you'll get the kernel panic.

 

I've got a kernel panic with the latest extension (AppleYoukon2Injector) that I've put in the Extra/Extensions folder, so I've powered off my PC....after the next power on I've got another kernel panic.

So I've powered off one more time, disconnected the network cable, powered off my DSL router and disconnected the power cable from the PC.....at the next power one I've got my network card correctly recognized without any kernel panic.

 

ANYWAY: I think that the AppleYoukon2Injector is a little bit buggy because this powering procedure is not so good and the DHCP don't work, you have to set a static IP address.

 

At this point I would like to generate a DSDT for my board but the DSDT generator seems to be dead :)

I would like to re-generate the /Extra/Extensions.kext cahce file but I don't know how to do this....please can somebody help me?

Hope this help!

Link to comment
Share on other sites

  • 3 months later...
  • 5 months later...

Here to report that the 10.7.4 update breaks audio. Everything else works. Once again,

  • Use kext helper to add AppleHDA.kext (in the first post's attachment)
  • Use kext utility to repair permissions

And you should be good to go :)

Link to comment
Share on other sites

  • 1 month later...

Ok... I hope I am putting this in the right place, and I don't {censored} anyone off! I am having a heck of a time finding these answers: (I also hope they are not too dumb of questions, and that is why I am not finding the answers!) I am running 10.8 Lion just fine, I think i have sound working, and the

 

My configuration:

 

Lion 10.8 - Just got running, (no problems so far, I think, other than I can't get an IP address, but the card seems to be working....)

Asus P6X58D Premium

6GB Ram

Dual ATI 5870 cards

Creative sound blaster (But it only lists airplay and Intel HD in the profile.)

USB 3.0 PCIE card from RocketRaid guys

 

1) If I have a DSDT.aml, am I still needing the extra folder? I don't know how my ati cards are seen now, but I think its vanilla, but I also think its coming from the S/L/E directory, isn't it? At this point I have done nothing that I know of to the S/L/E directory. I have not run any [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] or anything like that, but I did run the Chameleon installer that I think is the latest: 2.1svn-r2035 ??? Is that the latest? Where do you guys get your latest chameleon installers???

 

2) WHAT patches do I need to add to my DSDT???? I don't understand how or why everyone else is doing this, when I can't see anywhere where it tells us what patches to add... I'm going crazy!

 

Thank you so much for all your hard work on all these apps, and all the support. I can't believe how cool all of this is.... thank you.

  • Like 1
Link to comment
Share on other sites

  • 2 years later...

Hello all.

I know this thread is old but i have no place to go. i have tried everything posted here and i am still having problems with my network card and no sound. I have follow all the instructions and i am still stuck. Not that many people have this motherboard so i guess thats why they don't reply to any of my comment or cries for help.

Can any one please help me in trying to fix my audio and network card.

 

My build.

OS X 10.9

Motherboard - Asus P6X58D premium

BIOS - 0703
RAM - 12GB corsair DDR3 534MHz
CPU - i7-930 Bloomfield 130w
GPU - Nvidia Geforce GTX570
DVD - ad-7241s ata
LAN - 2 x Marvell® 88E8056 PCIe Gigabit LAN controller (not working the lights are flashing but nothing)

Audio - onboard (Not working).

 

Can anyone please help me.

Link to comment
Share on other sites

 Share

×
×
  • Create New...