Jump to content

[Guide] Lion on GA-EP45-UD3R - very close to perfection


  • Please log in to reply
297 replies to this topic

#1
Eliade

Eliade

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 730 posts
  • Gender:Male

INSTALL GUIDE FOR LION




===========================================

UPDATES
  • February 3, 2012 (Happy New Year)
    -Software update to 10.7.2 or 10.7.3 needs a newer boot before the update if updating from 10.7.1 or 10.7.0 with older boot file posted previously (New boot files available below), AppleHDA may need to be re-replaced in S/L/E.
    -Software update to 10.7.3 from 10.7.2 Should be a simple strait forward update (AppleHDA may need to be re-replaced in S/L/E).

    -NEW extra folder, new boot.plist (backup the content of your previous one, and just replace over with the content of the new one) .
    -NEW chameleon, (installer version)
    -WOL from sleep now works, darkwake option in boot.plist, must be with new chameleon also included below
    -MBR OSinstall for for 10.7.3 installer added
  • September 18, 2011
    Software update to 10.7.1, then re-replace AppleHDA in SLE with the one from pack (same 10.7), and run kext utility. All Kext are the same as in 10.7.
  • July 23, 2011
    updated chameleon (should fix post hang with previous chameleon 1083 and usb drive)
  • July 17, 2011
    new EXTRA folder (removed sleepenabler, not needed) (removed NullCPUPowerManagement not needed with my boot.plist) (latest version of FakeSMC), Extended version of the extra folder contains kext with blue label to get temperature of CPU, MOTHERBOARD, and GPU)
  • July 11, 2011
    Updated guide, new EXTRA folder (updated dsdt, and different network kext), simply replace the Extra folder
  • July 10, 2011
    Guide is out...

===========================================

WHAT WORKS (everything most people want is working)

  • Graphic Support
  • Sounds (in&out)
  • Ethernet (DHCP works perfect)
    (manual ip works but will bring little DNS issues after sleep, just a temporary DNS problem)
  • Bonjour (DHCP works perfect)
    (manual ip works but Bonjour will temporarily not work after sleep, just a temporary DNS problem)
  • Sleep & Wake ("forced" sleep only, not timed computer sleep from energy saver)
  • Reboot & Shutdown (without cmos reset)
  • Screen calibration (wasn't working in Snow leo for me)
  • Power button (configurable in pref panel, energy saver)
  • Wake on Lan from sleep (one way to test it is using remote app on iphone/ipod/ipad which will wake your computer from sleep, or any wol software)
WHAT NEEDS TWEAKING (this is perfectionism)
  • IDE HDD, works very well, UNLESS you use sleep (it get's unmounted soon after waking up)
    was true in 10.7.2, I don't know if it still is, I gave up on IDE, I now only have Sata
  • Manual IP after sleep, DNS problem, takes a few seconds to a few minutes to work again without taking any action, I suspect mDNSResponder or mDNSResponderHelper to be the cause
    (QUICK FIX: USE DHCP IP OR DON'T SLEEP YOUR MACHINE OR command "sudo killall mDNSResponder")
    was true in 10.7.0, I don't know if it still is '
  • Timed computer sleep (from energy saver preferences) will not work, screen goes black, but machine is still fully running it seems (accessible over network), but does not crash it which is good
    (QUICK FIX: SET TO 'NEVER SLEEP' IN ENERGY SAVER)
    '

    '

===========================================

INSTALL GUIDE



STEP 1 - BEFORE ANYTHING:

(YOU MUST HAVE ACCESS TO A MAC OS SYSTEM TO FOLLOW THIS TUTORIAL)


  • (optional) Make a time machine backup of your current system, for two reasons
    - to go back to it quickly if needed
    - to use the migration assistant to get your files, history and apps back...
    '


  • Same bios setting as snow leopard, those are bare minimum
    - SATA RAID/AHCI Mode ---> AHCI
    - Onboard SATA/IDE Ctrl Mode ---> AHCI
    - keyboard USB Support ---> enabled (or keyboard may not work in chameleon screen)
    - HPET ---> 64bit
    '



  • List of needed downloads: (Same for 10.7 up to 10.7.3)
    Attached File  Chameleon v2.1 r1770.pkg.zip   2.36MB   572 downloads - v2.1 r1770 (updated)
    EXTRA: (blue label files in extra/extensions are optional, just for monitoring temperature and fan, I keep AppleHDA in it, even though a copy must be in S/L/E, won't hurt to keep a copy in E/E )
    Attached File  Extra_EP45_UD3R_ 10.7.3.zip   2.01MB   832 downloads (updated)

    Only needed if you have trouble with sound or bonjour, otherwise skip this download
    Attached File  sound_and_bonjour.zip   1.64MB   2196 downloads
    GUID:
    Attached File  OSInstall.zip   654.04KB   1306 downloads
    MBR 10.7.0 installer(maybe 10.7.1 and 10.7.2):
    Attached File  OSinstall_MBR.zip   717.22KB   1001 downloads
    MBR 10.7.3 installer:
    Attached File  10.7.3 MBR Patch.zip   958.15KB   251 downloads

    DOWNLOADS FOR OTHER SIMILAR BOARDS, CHECK SECOND POST BELOW
    '


  • List of needed and optional utilities
    Attached File  Kext_Utility.app.v2.5.0b.Lion.ready.zip   294.17KB   1554 downloads
    Attached File  ShowAllFiles.zip   32.47KB   1037 downloads

STEP 2 - CREATING A BOOTABLE INSTALL DRIVE


  • In Disk Utility format you Install Disk with Mac Os Extended (Journaled),
    -- GUID partition table -- 6GB minimum -- any name as it will change later --
    -- MBR works too, just use the correct OSInstall.mpkg --
    (this must be the first partition of your disk if you have multiple partition)
    (can be USB or internal, can be Flash drive or HDD)
    '



  • Mount InstallESD.dmg, you'll see "Mac OS X Install ESD"
    (You will find it under "Install Mac OS X Lion.app/Contents/SharedSupport")
    '



  • Run ShowAllFiles.app to show hidden files, in "Mac OS X Install ESD" (the mounted InstallESD) you will find a hidden BaseSystem.dmg, double click it to mount it (you'll see "Mac OS X Base System")
    '



  • Back in Disk Utility, go to the restore tab
    - drag BaseSystem.dmg (or "Mac OS X Base System") to Source
    - drag the USB Install Drive partition to Destination
    - click on the Restore button & wait ...
    - the partition is now renamed "Mac OS X Base System"
    '


  • You now have two "Mac OS X Base System" in your list of mounted drive in Finder
    - Eject the original one to avoid confusion (the icon should be different though)
    '



  • Go to "Mac OS X Install ESD" (have hidden file visible with ShowAllFiles.app)
    - drag mach_kernel to "Mac OS X Base System" (your install drive)
    '



  • Go to your "Mac OS X Base System" (your install drive)
    - Navigate to System/Installation and delete the Packages link
    - keep the window open
    '


  • In a second window go to the mounted "Mac OS X Install ESD"
    - drag and copy the Packages folder to the System/Installation in the Mac OS X Base System (your install drive) and wait ... (it's over 3GB)
    '



  • Install Chameleon rc5 on the USB Install Disk (be sure to select "Change Install location")
    '


  • Copy my extra folder my Extra folder to the root of the Mac OS X Base System (your install drive) (if an Extra folder already exists replace it)
    - the install disk won't be as universal, but will work better on our board
    '



  • GUID partition table:
    - drag and replace "OSInstall.mpkg" into the folder "System/Installation/Packages "
    MBR partition table: use MBR version provided -- there are two files
    - drag and replace "OSInstall.mpkg" into the folder System/Installation/Packages
    - drag and replace "OSInstall" into "System/Library/PrivateFrameworks/Install.framework/Frameworks/OSInstall.framework/Versions/A/"
    '


STEP 2 - INSTALL LION


  • Use the F12 key to boot on the Install USB disk
    '


  • Install Lion
    '

STEP 3 - FINAL TOUCHES


  • Use the F12 key to boot on the Install USB disk, then in chameleon select the freshly installed Lion
    '



  • Go to Network in System Preferences, activate Ethernet
    '


  • Install chameleon again, but this time on the freshly installed Lion
    '


  • Copy my extra folder my Extra folder to the root of the installed Lion drive (if an Extra folder already exists replace it)



  • If your card does support graphic enabler your almost done and skip this step
    If not then use an EFI string in boot.plist or find an alternative solution (and remove the graphicenabler line in boot.plist)
    '



  • Run Kext Utility (the one provided is made for lion)
    '

STEP 3 - Reboot and Enjoy

  • Reboot
    '


  • Go to Network in System Preferences, activate Ethernet (if not already done)
    '



  • Go to Sound in System Preferences, select the right input / output
    '


  • Enjoy
    '








    Extra - Troubleshooting

  • If things are very wrong, run kext utility (after modding S/L/E it's a must)
  • If sound does not work at all: ( use sound and bonjour.zip in the download section above)
    -
    follow the instruction for ALC885_889a_LION
    (the resulting kext is already in the Extra folder download, I left it only if the file has to be repatched for futur version of OSX, so far no repatching needed at least up to 10.7.3)

  • if bonjour doesn't work well:( use sound and bonjour.zip in the download section above)
    - follow the instruction for bonjour (either using the installer if it works, or doing it manually, explained carefully in the readme doc)
    '


  • If things are still very wrong, or if you have a different but similar motherboard create your own DSDT using DSDT Auto-Patcher, latest version HERE
    '

  • If things are still very wrong, post your problem here
    '

===========================================

THANKS TO THE COMMUNITY, AND EVERYONE INVOLVED

===========================================

A THANK YOU IS ALWAYS APPRECIATED :P
and/or a SMALL DONATION HERE (through paypal)
I will be very appreciative of it, and it will help enormously for the time spent to gather the information and test as much as I can and deliver the information to you in the most friendly manner.

#2
Eliade

Eliade

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 730 posts
  • Gender:Male
FILES FOR SIMILAR BUT DIFFERENT BOARD:
  • EP-45T-UD3L - (ALC888) - thanks to SunLizard
    Attached File  EP45T_UD3L_LionFiles.zip   1.4MB   495 downloads
  • or use #####, it's has an interesting collection of kext
==========================================

Kext explanation
, useful for later updates:


FakeSMC - must have
AHCIPortInjector - not needed
IOAHCIBlockStorageInjector - needed for cosmetic, not having internal yellow icon

NullCPUPowerManagement - not needed, but only with correct lines in boot.plist

JMicronATA - IDE support, works well, it's a version for Snow Leo, but works great in Lion
RealtekR1000SL - network support, Wake on Lan disabled
(EFI string fix did not work...)

SleepEnabler - not needed

AppleRTC - to avoid the cmos reset after using sleep/wake
I used the one in S/L/E copied it and modified it, to keep the one in S/L/E original.
tried it in Extra and it worked
sudo perl -pi -e 's|\x75\x30\x44\x89\xf8|\xeb\x30\x44\x89\xf8|;  s|\x75\x3d\x8b\x75\x08|\xeb\x3d\x8b\x75\x08|'  /System/Library/Extensions/AppleRTC.kext/Contents/MacOS/AppleRTC
(of course I changed the path of the AppleRTC since I modified a copy of it)
original info from:
http://www.insanelym...p...t&p=1712063

ALC885_889a - (goes along with AppleHDA mod)
works form EXTRA folder so I decided not to have it in S/L/E
info came from http://www.insanelym...howtopic=140941
AppleHDA - doesn't hurt to have it here, if you followed instruction, you should have modified the one in S/L/E, it may need patching after each update... (use the sound_and_bonjour.zip found in the above post)
(it is useless in Extra, but you never know may get useful for later updates as file to put in S/L/E, so you can delete it for now if you wish)
info came from http://www.insanelym...howtopic=140941

#3
ledjohnny

ledjohnny

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
Great guide! Everything is working except for audio. Still no output devices, but in system report it's labeled as Audio ID: 885. Would I run the same terminal commands in the Readme? I'll continue to test.

Thanks for your hard work!
John

#4
Eliade

Eliade

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 730 posts
  • Gender:Male

Great guide! Everything is working except for audio. Still no output devices, but in system report it's labeled as Audio ID: 885. Would I run the same terminal commands in the Readme? I'll continue to test.

Thanks for your hard work!
John


Thanks, and you are very welcome !

don't forget to reboot...

system report also show 885 for me too, but works great
just be sure to edit the AppleHDA in S/L/E with provided command and files (both layout885 and Platforms needs to be added by using the included command line) and keep it there, alternatively you can replace the one in Extra with the one in S/L/E and run kextutility for lion (google it) to repair permission and cache, it's the one I patched myself from the original AppleHDA in Lion GM

or try deleting the AppleHDA in Extra, maybe for some reason there is a conflict (not on my computer though)

if still doesn't work, copy ALC885_889a.kext into S/L/E and run kextutility...
(but mine runs well form EXTRA, I like to keep S/L/E as clean as possible)

and reboot!

#5
ledjohnny

ledjohnny

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
Well now I may fully thank you, because that seemed to do the trick! Once again thanks! And on another note the Evga 9500 GT 1024 MB Graphics card will work flawlessly!

-John

#6
Eliade

Eliade

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 730 posts
  • Gender:Male
again you are very welcome!

oh I think it may be the kextutility that actually did the trick
I added the step in the tutorial, with a link to kext utility for lion

#7
ledjohnny

ledjohnny

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
Yep! It was Kextutility :( And yes I only have the kext in extra now, working perfectly!!

#8
Eliade

Eliade

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 730 posts
  • Gender:Male
thank you very much, that is wonderful news

#9
Eliade

Eliade

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 730 posts
  • Gender:Male
you used the provided DSDT right ?
have you tried shutdown ?
Shutdown actually doesn't work for me, (black screen and fan still spinning, must force shutdown by holding powerbutton)

try this new DSDT I edited, put in in EXTRA and reboot, then try shutting it down, it should work
I will update the files above in the guide right away
Attached File  dsdt.aml.zip   6.57KB   94 downloads

I also added the power button functionality, now by default it should sleep the computer, in energy saver you can change that

#10
larabee

larabee

    InsanelyMac Protégé

  • Members
  • Pip
  • 31 posts
I have almost the same rig:
gigabyte P45-UD3L
8gb RAM
6HDDs filled in 6 SATA port to make sure they all work out , 1 is SSD to make boot time faster.
radeon 5870
Soundblaster WoW wireless headset ( work perfectly since it's USB base )
Apple mouse and keyboard
Ethernet work great with DHCP using RealtekR1000SL.kext
Never have a problem with sleep.

I think the main reason I have such stable system is having a good DSDT patch from DSDT auto patcher ( you can search in the forum )

Posted Image

#11
Eliade

Eliade

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 730 posts
  • Gender:Male
Wonderful!

#12
knew know

knew know

    InsanelyMac Protégé

  • Members
  • PipPip
  • 67 posts
Great Eliade ;P. Thanks for the guide. I'll be following it at some point this week when I have some time. I generally run SL in MBR on a second partition (first being win server) of an SSD. Hopefully Lion is as easy to install on MBR as SL.

Thanks again...

#13
pollopollo

pollopollo

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 147 posts
  • Gender:Male
Will this method work on a Ep45-UD3R with Cartri modified bios (v 0.8)?

#14
Eliade

Eliade

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 730 posts
  • Gender:Male

I generally run SL in MBR on a second partition (first being win server) of an SSD. Hopefully Lion is as easy to install on MBR as SL

For MBR install:
Instead of the OSinstall.mkpg provided in the guide
use this one instead, there seems to be two files to replace.
Of course don't replace the whole system folder, just the two files individually in their respective folders...

Let me know how it goes !
If it works I'll add it to the guide !

Attached File  OSinstall_mkpg_MBR.zip   717.22KB   37 downloads

Credit goes to nawcom

#15
Eliade

Eliade

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 730 posts
  • Gender:Male

Will this method work on a Ep45-UD3R with Cartri modified bios (v 0.8)?


Was there anything special about installing Snow Leopard with that bios (i.e. a special Kext because of that modded bios)... I actually never tried it...
If snow leopard was a rather normal install, it should work with Lion too...

Let me know how it goes...

#16
ledjohnny

ledjohnny

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts
I hope we can mount the .DMG provided for Mac OS X Lion! Not sure how it will play out.

Also I'm thinking of buying this 40$ G5 case and doing what many have done, which is fit the motherboard inside. :)

#17
Eliade

Eliade

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 730 posts
  • Gender:Male
GUIDE UPDATED, EVERYTHING IS CONTAINED, NO NEED TO BROWSE OTHER PAGES... ALL FILES ARE AVAILABLE HERE

I hope we can mount the .DMG provided for Mac OS X Lion! Not sure how it will play out.

Also I'm thinking of buying this 40$ G5 case and doing what many have done, which is fit the motherboard inside. :)


why would you think we can't mount the DMG, I'm sure it will be very similar to GM, either an .app or an .app within a DMG.
as soon as it wants to start installing it (if it starts it automatically) it will just give an error (like right now if you run the .app in SnowLeo), but the files will be available somewhere on the computer, I'm not sure where the AppStore app puts them but I'm sure it's easy access.

I was thinking of doing that with a G5 or macpro case in the past, but all too expensive, so I ended up buying a normal case, $40 is an amazing price. that should be a fun project, but definitely not going to be as strait forward as a regular PC case... that's what makes it fun right ? :wacko:

#18
ledjohnny

ledjohnny

    InsanelyMac Protégé

  • Members
  • Pip
  • 11 posts

I was thinking of doing that with a G5 or macpro case in the past, but all too expensive, so I ended up buying a normal case, $40 is an amazing price. that should be a fun project, but definitely not going to be as strait forward as a regular PC case... that's what makes it fun right ? :wacko:


Definitely! Sounds like a useful thing to spend my summertime doing. :)

And yea we should just be able to locate where the App store is saving the file.

#19
pollopollo

pollopollo

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 147 posts
  • Gender:Male

Was there anything special about installing Snow Leopard with that bios (i.e. a special Kext because of that modded bios)... I actually never tried it...
If snow leopard was a rather normal install, it should work with Lion too...

Let me know how it goes...


I'll try when Apple will release the final version of Lion!

#20
Luky Luke

Luky Luke

    InsanelyMac Protégé

  • Members
  • Pip
  • 44 posts
Also running lion GM on this board with the following kexts Posted Image

The only problem im facing is, the login screen after sleep and missing the auto sleep

My mac is identified as Mac Pro but a line under this definition is says iMac summer 2001 and the serial number SOMESRLNMBR, does somebody know how to fix this ?





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy