Welcome to my GA EP45-UD3R Guide!
100k+ VIEWS! Every person's input is one step closer to SL perfection for everyone : )
• Northbridge Intel P45
• Southbridge Intel ICH10R (Raid)
• Audio ALC889a (889)
• LAN Realtek 8111C
Added BIOS Setup section
Added Troubleshooting section
Tweaked overall appearance
Updated problem solutions
Further tweaks to some steps
Figured out one must UNPLUG WINDOWS DRIVES PRIOR TO EVERYTHING
Updated SL Pack to v2
Updated SL Pack to v3
Updated SL Pack to v4
Added preliminary "USB Installation Instructions", credits to nullspot
Added Bonjour Fix, credits to Eliade
So, you want to install the new Snow Leopard 10.6 onto your GA EP45-UD3L/R/P? You've come to the right place!
SL PACK v4 DOWNLOAD LINK
You will need the following:
A Snow Leopard DVD
A blank hard drive (it can be done on a partition, however)
An existing OS X install (I used my Leopard 10.5.8)
My SL Pack
0. BIOS Setup Mini Guide:
Essentially, you're going to really need to focus on 3 sections in the EP45-UD3R (and similar) BIOSes. The 1st is optional (Motherboard Intelligent Tweaker or MIT) is only if you intend to overclock your computer at all. This requires a whole different set of knowledge and needs to be understood CAREFULLY before attempted as to not damage the components. If you aren't changing the clocks, then move on to the "Advanced BIOS Features" section. Here, you need to make sure simply that the following features are DISABLED:
-C2/C2E State Support
-CPU EIST Function
-C4/C4E State Support
The rest of the settings in "Advanced BIOS Features" can just be left at stock settings. Next, go back to the main menu and go into the "Integrated Peripherals" menu. Here, all that's important is you make sure the following options are set to AHCI mode:
-Onboard SATA/IDE Ctrl Mode
And of course, make sure that "Onboard SATA/IDE Device" is "Enabled". You can change the boot order of the hard drives if you want SL to be the default drive, but that's not necessary as you can enable that later once everything is working. For now, just hit F12 (or whatever the key is for you) at the spash screen to open the device boot menu when you want to boot into SL.
**BEFORE STEP 1, UNPLUG ALL WINDOWS DRIVES, AND RECONNECT AT THE END OF ALL STEPS**
STEP 1 (ALTERNATIVELY, FOLLOW nullspot's USB INSTALLATION GUIDE FOUND AT END OF THIS POST TO INSTALL SL TO THE HDD- I WILL INTEGRATE IT INTO THE MAIN GUIDE SOON.)
Start by booting into your existing OS X installation and firing up Disk Utility. Select the disk you intend to install SL to, and click on the "Partition" tab. Change the "Volume Scheme" drop down menu to "1 Partition", and then click "Options...". Select GUID, and click ok. Before you Apply the changes, give your drive a name, preferably something easy to remember, I named mine Snow.*
*If you want to install to an MBR partiton/drive, then you can try this, but I haven't tested it personally:
This one will allow you to install on mbr ;P. Hope this helps ...
Next, insert your Snow Leopard DVD and navigate to the root of the DVD. Under the menu, click Go, then select Go to Folder. Paste this: "/Volumes/Mac OS X Install DVD/System/Installation/Packages" without quotes into the box, and hit enter. You should see a number of packages. Find OSInstall.mpkg and run it. Select the drive you intend to install SL to, I'll call it Snow.*
*Note: My first issue occurred here, where I got an "Install Failed" message after the installation completed. If this happens to you, try deselecting the Printer Drivers and Languages under the "Customize" menu during the install. It should succeed then.
Do NOT reboot yet, first we have to install a bootloader, as well as a few important kexts and other files. Start by running the PC EFI 10.1 package, and selecting the Snow drive. (This version of PC EFI 10.1 is already fixed for SL, no need to replace any boot files) Next, open the Extra folder in my pack, and copy its contents into the folder on your Snow drive also labeled "Extra". We will have to edit a bunch of these files, do don't use them as they are, as they are configured for MY machine which is most likely different from yours. Keep in mind I have a GA EP45-UD3R, so if you have an L or a P, then you might need to adjust your kexts and files slightly after some research.*
*Remember, if you do NOT use any IDE devices, then delete JMicronATA.kext, it is not needed. If you DO on the other hand, then keep it as you will face various issues/KPs without it. Also remember this:
*Also one thing to bring up, if you have an EP45-UD3L, then you have a different audio chipset:
the EP45-UD3 L uses the ALC888 chipset. Yours the UD3R has ALC889a chipset.
So if you have an L, then you will need to use a different LegacyHDA if you want System Profiler to show the correct information. Otherwise, functionality will be the same if you patch your DSDT for the alc888 and use SL's default AppleHDA.kext. There is a guide on the forum I will look for the URL of, which details sound on these boards much more in depth.
First thing we have to take care of is manually editing the UUID of the Snow drive into two different locations. First, open the "smbios.plist" (from your Extra folder) in TextEdit. Fill in the information in the <string> tags, although it's not necessary to have a serial number. The plist is currently configured for a Mac Pro 3,1, but you can use whatever you want, look up a guide on smbios.plist. The SMexternalclock is your FSB speed, the SMmaximalclock is your processor speed in MHz, the SMmemtype is your memory (18 is DDR, 19 is DDR2, and I think 20 is DDR3), and finally SMmemspeed is your memory clock in MHz. Now, without closing smbios.plist yet, open Disk Utility. Click on your Snow drive, and then on Info at the top. Copy the Universal Unique Identifier string, and paste it into a new text file, because you will use this later on as well. Close Disk Utility, and proceed to paste the string you just copied into smbios.plist under SMUUID on top of the "PASTE YOUR UUID HERE". Once you have completed this, save the smbios.plist, make sure the changes were applied, and navigate back to your Extra folder.
This time, go into Extensions, and right click on PlatformUUID.kext, picking the "Show Package Contents" option. Open the Contents folder, and finally open Info.plist with TextEdit. Copy your UUID again, and paste it over where it says "PASTE YOUR UUID HERE". Save the changes, and close the window.
Next, open up EFIStudio, located in the root of my Pack folder. Select your Graphics card, and hit "Add Device". Copy the long hex string in the second (lower) box of the new window that pops up. Open up com.apple.Boot.plist in your Snow drive's Extra folder (with TextEdit), and paste that long hex string you copied over the long hex string already there (mine). Save the file, and close the window.
Finally, you have to compile your own edited DSDT.aml to get working ethernet/sound. You will see there is already a DSDT.aml in your Snow Extra folder (the one you copied from my pack). You can try using this, but it will most likely not work as a DSDT depends on quite a few things specific to your machine. your best bet is to delete it, and open the DSDT Stuff folder in my pack, following the instructions in the "How to Patch DSDT" folder, labeled "How to patch DSDT with LAN and HDEF functions.pdf". This is NOT my guide, so I take zero credit for writing it. I am only providing it here for you conveniently so you do not have to go out and search for it. When I make a later edit to this guide probably by next weekend, I will give credit to the author/poster of the guide, although the original information on editing DSDT was posted by Taruga and THe KiNG. Make sure you apply the CMOS reset fix to your DSDT, as Snow Leopard has a nasty bug that will reset your CMOS every time you boot it up otherwise.
Once you have your compiled/edited DSDT.aml, drop it into the "Extra" folder on your Snow drive (where you deleted the original one from).
REBOOT! Make sure you are booting from your Snow drive, and it is IMPORTANT to boot with the -v -x32 flags on first boot. At this point, you should pay attention to the verbose output, and if you run into any kernel panics or endless loops, post the output here for troubleshooting. (Also keep in mind this guide was designed for specific motherboard(s), so there may be some unexpected results for a different mobo)
If all goes well, you should see the whole "Welcome" flying through space intro for SL. It SHOULD have sound, graphics, and ethernet working at this point, but if you don't hear anything don't be alarmed. After running through setup (when you arrive at the desktop), quickly open System Preferences, click on Spotlight, and click on the "Privacy" tab. At the bottom, click on the + sign, and add every drive/storage device to this list (this is only temporary, to avert a kernel panic caused by a Spotlight indexing service, mdworker).*
Alternatively, you can just make the drives "Private" using Leopard as Elaide figured out:
After you finish installing Snow Leo from within Leopard you can hide all your drives from spotlight in Leopard, the setting is set in the drive itself and Snow leopard will read that same setting
So after the first boot the drives hidden by leopard will also be hidden from spotlight in Snow leopard without any intervention from the user, you'll see all the drive are already listed in the settings,
all that needs to be done then is rebuit kext cache
Rebuild your kextcache using the included Kext Utility (if this doesn't work you could always use terminal and do it manually, but it almost always works fine), and restart. When you boot, boot with -v -x32 again, and make sure there are no issues. When you get to the desktop this time, go back to Spotlight preferences, and remove all of the drives from the Privacy list with the - sign. Click on the menu bar Spotlight icon in the top right corner, and type something into the box. It should start to index your drives. If you rebuilt the kextcache correctly, it should have zero problems. Let it complete the index process.
Finally, in the meantime, you can open System Profiler from the Utilities folder and check to see if your graphics card is fully supported (you should have all of the resolutions native to your monitor if it is anyway), and also check on the sound/ethernet. If your sound is working you will obviously know, as the little clicks sound when you change the volume, and under System Profiler you will see details about the audio device- an alc889a. Finally, go to System Preferences>Network, and check the status of your ethernet connection. If it's "Connected" without a Self-Assigned IP (and you USE wired ethernet), it should be working, just open a Safari window to test this.
Enjoy your SL installation, and be sure to test if sleep works after you have everything else working, as it should work fine.
1. If you get a KP related to mds or mdworker, it has to do with the Spotlight indexing problem. Solution - rebuild your kextcache in Single User Mode, or boot into SL and quickly disable Spotlight's indexing by adding all of your storage devices to the "Private" list in System Preferences>Spotlight.
2. If your sound/ethernet doesn't work, it's probably the DSDT. Solution - "If at first you don't succeed, try, try again." DSDT is a pain in the ass, and the only way you're going to get it working right is with a few mistakes along the way. You can try mine, but you NEED an Intel C2D processor and a GA EP45-UD3R mobo to have it work at all.
3. If your graphics don't work, it's probably the EFI string you put into com.apple.Boot.plist. Solution - make sure you used the right string, and always do a little searching to make sure your card is supported well with a string. I know more about Nvidia cards than ATI ones, so the ATI folks will have to probably do more searching before they come to me with an issue because I might not be able to answer it well.
4. KP due to Software Update. Solution - I have no idea yet! I'm looking into this, but I do not have this problem yet, so if anyone does have this as well, post your configuration in detail including hardware/kexts so I can try to isolate the issue. ***UPDATE*** Possible solution includes making sure you rebuild your kextcache after everything, BE 100% SURE IT WORKED!
5. Bonjour doesn't work (this will always happen). You can either ONLY boot in 32-bit mode and use Realtek1000.kext, or use this simple fix posted by Eliade which works in 32 and 64 bit! (All of the files mentioned in this guide are in the /Extra/Bonjour folder)
so there goes
or direct link: http://www.stanford....ff/ifconfig.tgz
if you don't want to run the command line manually, having it at boot without any prompt
place ifconfig anywhere you want
(I created a bonjour directory in the Extra folder for organization sake)
then add this script where every you want ifconfig.command.zip
(have mine again in that same bonjour directory)
modify it with textedit or whatever to point to your ifconfig
mine is set to be in /Extra/Bonjour/ifconfig
then open the terminal and paste this, well change the path to the script wherever you want it to be
sudo defaults write com.apple.loginwindow LoginHook /Extra/bonjour/ifconfig.commandtype your password at prompt
now reboot, bonjour works at boot without further intervention
if for some reason you want to remove it from boot go to terminal and paste this:
sudo defaults delete com.apple.loginwindow LoginHook
6. This is a huge find, and I thank BillaBongo for pointing this out, because even though I did this unintentionally, it could be the cause of many problems. UNPLUG YOUR WINDOWS DRIVE(S) PRIOR TO FOLLOWING THIS GUIDE!
Found a BIG issue for those running a drive or partition with windows 7 installed and formated with NTFS!
Remove or disconnect your Windows 7 drive, or you will be getting OSX crashes, *ntfs corruption*, possible KP's!
I have plowed through my logs looking for possible reasons for random crashing, kp's (prior to Realtek1000.ktext removal)
One of the symptoms I was seeing was sata devices became delayed, even paused for up to 10secs before a sata device would respond.. this would repeat about 3 times then.. crashed to the GSOD screen. The other symptom was slow overall disk reads / writes
Looking back through my logs I found the following in regards to WINDOWS 7 NTFS ONLY
Below was the findings:
Aug 29 14:07:49 Brians-Mac-Pro kernel: NTFS-fs error (device /dev/disk1s2, pid 25): ntfs_inode_data_sync(): ubc_msync() of data for mft_no 0x69 failed (error 30).
Aug 29 14:07:49 Brians-Mac-Pro kernel: NTFS-fs error (device /dev/disk1s2, pid 25): ntfs_vnop_pageout(): Failed (error 30).
Aug 29 14:07:55 Brians-Mac-Pro kernel: NTFS-fs error (device /dev/disk1s2, pid 13078): ntfs_mft_record_sync(): Failed to write mft record 0xe5e8 (error 13).
Aug 29 14:07:55 Brians-Mac-Pro kernel: NTFS-fs error (device /dev/disk1s2, pid 13078): ntfs_inode_sync(): Failed to sync mft_no 0xe5e8 (error 13). Run chkdsk.
Aug 29 14:07:55 Brians-Mac-Pro kernel: NTFS-fs error (device /dev/disk1s2, pid 13078): ntfs_vnop_inactive(): Failed to sync mft_no 0xe5e8, type 0x80, name_len 0xc (error 13).
Aug 29 14:20:49 Brians-Mac-Pro kernel: NTFS-fs error (device /dev/disk1s2, pid 90): ntfs_mft_record_sync(): Failed to write mft record 0xe5e8 (error 13).
Aug 29 14:20:49 Brians-Mac-Pro kernel: NTFS-fs error (device /dev/disk1s2, pid 90): ntfs_inode_sync(): Failed to sync mft_no 0xe5e8 (error 13). Run chkdsk.
Aug 29 14:20:49 Brians-Mac-Pro kernel: NTFS-fs error (device /dev/disk1s2, pid 90): ntfs_vnop_inactive(): Failed to sync mft_no 0xe5e8, type 0x80, name_len 0x0 (error 13).
So, without haste I booted into my windows 7... BLUE SCREEN OF DEATH 3 times @ boot
Had to repair the disk and found TONS of errors!
Head the warning, remove the drive or disable OSX from mounting that drive/partition...
Since I have removed the drive completely I have noticed night and day speed difference on the sata performance.
I have had ZERO system errors / GSOD or KP's since..
MORE ISSUES TO COME AS THEY ARRIVE.
P.S. Feel free to post any issues/KPs here, but make sure you have a log to post or a picture of the KP so you aren't just saying, "OMGZORZ MAH COMP FROZE WIT BLACK N WITEE TEXT!!!", because frankly, that doesn't do me much in understanding what caused it lol >.< Also, if I'm missing anything that you think should be added or edited in, tell me
nullspot's USB Installation Guide (to be integrated soon):
The primary reason for installing this way is to avoid the permissions issues that can easily occur when installing 10.6 while booted in 10.5. They are the cause of many of the kernel panics people have experienced, and are difficult to get right. In this method we are simply using one drive to install onto another (no previous 10.5 installation required), fooling the OSX Installer into thinking it's working just the same as if booted off the DVD, with no extensions cache or permissions to screw up. Very similar to past methods for vanilla installs using retail OSX DVD and boot-132 CD's, but even easier and faster.
IMPORTANT NOTE: These steps assume you already have -
• two drives: one to be the Installer and one to be Installed upon
• downloaded d00m42's pack of files
• created and patched your own DSDT.aml file (for the CMOS reset, audio, etc.)
• modified the smios.plist and the PlatformUUID.kext's info.plist [show package contents] with the UUID of the disk you will use as the installer [use get info in disk utility to retrieve]
• modified the com.apple.boot.plist with EFI strings for video, "-x32" boot flags, etc.
1- Prepare your "Install" drive (can be usb or internal, flash or harddisk - just needs to be at least 8GB), format it with one partition, HFS journaled, GUID
2- install chameleon (via the PC EFI 10.1 app) on that "Install" drive
3- put your OSX DVD in your DVD drive (or get your SL disk image ready...)
4- in the disk utility restore the DVD (or from the .dmg) onto that "Install" drive (be sure the erase drive first is unchecked so it will leave Chameleon intact). this will take a few minutes...
5- copy contents of d00m42's SL Pack /Extra folder to the /Extra folder on the "Install" drive, but replace the pack's files (if necessary) with your own custom smbios.plist, DSDT.aml, com.apple.boot.plist, and PlatformUUID.kext ALSO - don't copy the pack's Extensions.mkext (you'll create your own later)
7- hit [delete] to enter BIOS setup, in "Advanced BIOS Features" change hard drive boot priority order to put your "Install" drive first, save and exit
8- (auto reboot)
9- chameleon bootloader should appear, giving you the chance to select the "Install" drive - OSX should proceed as if you're booting from the actual install DVD. Before you begin the install process go to Disk Utility and format your destination SnowLeo drive
10- Go back to the install screen and proceed as normal (customize as desired) - wait until: "Install Successful" screen
12- When chameleon bootloader appears, before it times out, press any key, and select the fresh new SnowLeo drive (instead of your Install drive) you should complete the OSX setup assistant, and arrive at your desktop with no KP! NOTE: if you're going to be using the migration assistant to pull all your 10.5 stuff in from another drive or mac, don't create your initial account with the same name as the user account on 10.5...
13- install chameleon (again via the PC EFI 10.1 app) on the new SnowLeo drive you just successfully booted into
14- Copy all the contents of the Extra folder on the "Install" drive into the Extra folder on your SnowLeo drive
15- run kext utility (in the pack) to create the mkext in the Extra folder
17- hit [delete] to enter BIOS setup, change boot disk priority order to put "SnowLeo" drive first, save and exit
18- you now have a fully-working SnowLeo install! you're done with the "Install" drive (save it for other installs - very handy!)
19- follow Eliade's guide for using the special ifconfig to enable bonjour
NOTE - if after all this you still don't have sound, don't worry - there's a special combination of just the right LegacyHDA.kext and DSDT modifications, which you can experiment on without messing up or having to re-install SnowLeo.