InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 06-20-2009, 04:55 PM
Voyn1x's Avatar
Voyn1x Voyn1x is offline
 
Join Date: Jan 2008
Location: United Kingdom
Posts: 554
[GUIDE] Gigabyte G31M-ES2L Retail Tutorial

What you need:
  • Your Retail DVD of Leopard.
  • A blank CD for the Boot CD.
  • A computer to burn an ISO.
  • A hard drive for installation.

Benefits of a retail installation against prepatched versions (iPC, iAtkos, iDeneb, Kalyway, JaS etc):

  • Full ability to use the inbuilt Software Update
  • Native OS X installation - nothing modified (legal in many countries! (if you use an original DVD)
  • A stable system

STEP 1 // Download the required files

All the files that needed for this board are attached below. Burn Boot132-G31M-ES2L.iso to a blank CD. Be sure to have access to the other files on another drive (a USB stick would suffice).

You will also need to download the Chameleon 2.0 bootloader, OSx86Tools and TextMate.

Within the attached Extra folder you will find:
  • A prepatched dsdt.aml for the G31M-ES2L
  • HDAEnabler.kext - Enables AppleHDA
  • VoodooPower.kext - Fixes Restart/Shutdown and enables SpeedStep
  • IOUSBFamily.kext - Stops USB drives being unmounted at Sleep

STEP 2 // Boot the Retail installation disk

Insert the Boot132 CD that you've just written and boot from it. You will see the ISOLINUX Loader.

When everything is loaded, remove the Boot CD and insert your Apple Leopard Retail DVD into your drive. You should see the word 'BOOT', when the DVD is recognized, press Enter.

It should now start to boot the Retail DVD, after a few minutes you will reach the OS X installation screen.

STEP 3 // Preparing the HD

Proceed through and select your language to enter the installation.

We now need to format the drive as HFS+. Open the 'Utilities' menu at the top and load up 'Disk Utility'. Select your disk from the menu on the left and open the Partition tab. Click the free space below the Volume Scheme dropdown then change the Volume Scheme to '1 Partition'.

Now, click the 'Options' button below and select 'GUID Partition table'. This step is very important! Click Ok to close and then Apply to format the disk.

Well done, your HD is now ready for Leopard

Quit Disc Utility to proceed with the installation.

STEP 4 // Configuring the installation

Accept the Terms of Use, select the drive you just prepared and continue.

Now if you wish, you can 'Customize' your installation. I normally uncheck the other languages, printer drivers and X11. This step is optional, but it will cut down the installation time.

Start the actual installation! Once the installation has finished you can either wait 30 seconds or click the 'Restart' button to reboot.

STEP 5 // First boot!

Now to the exciting part!

Remove the Retail DVD and insert the Boot132 CD into the drive. Currently, the HD is not able to boot the system on it's own, but we will change this shortly.

Boot using the CD as before. Once you get to the prompt, press Enter and type "80" if it's your primary disc or "81" if it's your secondary disc where Leopard is installed (normally it's 80). Hit Enter to boot the system!

When OS X has finished booting you will be presented with a nice Leopard intro video. Follow the steps to configure your system and reach the desktop.

STEP 6 // Make the system bootable on it's own

Firstly a little explanation about what we are about to do, to quote Munky:

Quote:
When you format a GPT (GUID Partition Table) disk in Disk Utility, there is always a hidden, 200Mb partition created as the first partition on the disk. This is supposed to be a 200Mb FAT-32 partition used for storing EFI drivers, and is mandated by the EFI / GPT specs.

Apple honours the specs and so puts the 200Mb partition there. However, (and this is the important part...) *Apple dont use it!*

So we can hijack it and use it for our own ends.
Insert the USB drive or medium that contains the files you downloaded earlier, mount the Chameleon dmg and run the installer.

Just before you click install, select the 'Customize' button in the lower left hand corner and check 'Chameleon EFI HFS', this will install the bootloader to the hidden EFI partition, leaving your retail installation untouched.



Don't reboot just yet. We need to copy over the files for the board to the hidden EFI partition. Normally here you would need to enter some commands in Terminal, but I have created a basic EFI partition mounter script to help automate the process a little bit (for an explanation of what this script does, read though this thread). Double click the 'EFI Partiton Mounter' which you downloaded, you will be presented with a list of your drives. It should look similar to this:

Code:
/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *931.5 Gi   disk0
   1:                        EFI                         200.0 Mi   disk0s1
   2:                  Apple_HFS Vanilla                 931.1 Gi   disk0s2
/dev/disk1
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *189.9 Gi   disk1
   1:                        EFI                         200.0 Mi   disk1s1
   2:                  Apple_HFS Time Machine   189.6 Gi   disk1s2
I have highlighted above the numbers you need to pay attention to. Enter at the prompt the disk number containing the EFI partition you wish to mount. Occasionally this number changes so be sure to check the number each time.

Finder will then reload and you should see the EFI partition on your desktop.

Open up the EFI partition and replace the contents the Extra folder with my files. If you have done it correctly it should now look like this:



We're almost there now!

Unfortunately to get the Realtek ALC883 audio working, I had to install one kext to /System/Library/Extensions as this wouldn't load from the EFI partition. Using OSx86Tools select 'Install kexts', and follow the prompts, selecting AppleAzaliaAudio.kext

Time to reboot without the CD. If successful, you should now be greeted with the Chameleon GUI, which will then proceed to boot your system.

STEP 7 // Finishing up

The last thing you will need to do is get your graphics card fully working. There are a few methods for this - Injectors, EFI strings and DSDT. Personally I prefer using a EFI string, to create this I used the inbuilt GFX string creator in OSx86Tools. This comes with many presets included but for my card I had to create my own as none of them worked for me.

After selecting/creating a string, open up the com.apple.boot.plist within Extra (using TextMate) and copy and paste the provided Hexadecimal EFI String within the device-properties section and save:

Code:
....
<key>device-properties</key>
<string> *String goes here* </string>
....
Within the Extra folder, you may have noticed a file called smbios.plist. This file is responsible for showing certain details within System profiler. You'll probably want to edit this to show your own memory (rather than mine).

STEP 8 // Apple Software Update

Don't be scared, run Apple Software Update

Reboot...

Congrats, you are now running an up-to-date vanilla system!!



Download Boot132-G31M-ES2L.iso
(6.47 MB)
Attached Files
File Type: zip Extra-G31M-ES2L.zip (1,019.0 KB, 3051 views)
File Type: zip EFI-Partition-Mounter.zip (875 Bytes, 1567 views)
File Type: zip ALC883.zip (74.7 KB, 1925 views)

Mac OS X 10.6.4 Retail || Intel Core2 Duo E8200 2.66GHz || Gigabyte G31M-ES2L || GeForce 6600 GT 128MB || Realtek ALC883 Audio || Realtek RTL8169 LAN || Samsung SpinPoint F1 1TB HD || Sony Dual Layer IDE DVD RW DW-D22A || Apple Aluminium Keyboard || Mighty Mouse

MacBook Pro || 2.4Ghz Core 2 Duo || 200Gb HD || 2Gb Ram || NVIDIA GeForce 8600M GT

iPhone 4 || 16Gb
Reply With Quote
  #2  
Old 06-20-2009, 07:07 PM
milanca's Avatar
milanca milanca is offline
 
Join Date: Jan 2008
Location: Serbia and Montenegro
Posts: 326
Excellent! Great guide for this mobo!

Reply With Quote
  #3  
Old 06-21-2009, 11:00 AM
drbee drbee is offline
Cheetah
 
Join Date: Jun 2009
Posts: 10
Great guide. Thanks for this. I have only one small problem, With you Usb kext my usb don't work. Not a problem as they work if i remove it but without the awake function of course..
Reply With Quote
  #4  
Old 06-21-2009, 06:39 PM
Voyn1x's Avatar
Voyn1x Voyn1x is offline
 
Join Date: Jan 2008
Location: United Kingdom
Posts: 554
Quote:
Originally Posted by drbee View Post
Great guide. Thanks for this. I have only one small problem, With you Usb kext my usb don't work. Not a problem as they work if i remove it but without the awake function of course..
Ah, the included IOUSBFamily.kext is for 10.5.7. If you update it should work

Mac OS X 10.6.4 Retail || Intel Core2 Duo E8200 2.66GHz || Gigabyte G31M-ES2L || GeForce 6600 GT 128MB || Realtek ALC883 Audio || Realtek RTL8169 LAN || Samsung SpinPoint F1 1TB HD || Sony Dual Layer IDE DVD RW DW-D22A || Apple Aluminium Keyboard || Mighty Mouse

MacBook Pro || 2.4Ghz Core 2 Duo || 200Gb HD || 2Gb Ram || NVIDIA GeForce 8600M GT

iPhone 4 || 16Gb
Reply With Quote
  #5  
Old 06-21-2009, 09:24 PM
drbee drbee is offline
Cheetah
 
Join Date: Jun 2009
Posts: 10
i am on 10.5.7 but no luck. It works fine with the Retail one anyway. Thanks..
Reply With Quote
  #6  
Old 07-15-2009, 10:29 PM
sk1nhd33t sk1nhd33t is offline
Jaguar
 
Join Date: Jul 2009
Location: Manila, Philippines
Posts: 77
@ Voynix and others who tried this guide, does your auto sleep work on 10.5.7? on my end AUTO SLEEP doesnt work, sleep works fine using the apple menu + sleep but the time sleep using system preference doesnt seem to work. i have the same board but different method in installing retail, i might try this if auto sleep works.

Thanks for the reply.
Reply With Quote
  #7  
Old 07-16-2009, 08:49 AM
Ianxxx Ianxxx is offline
Leopard
 
Join Date: Jan 2008
Posts: 645
Quote:
Originally Posted by drbee View Post
Great guide. Thanks for this. I have only one small problem, With you Usb kext my usb don't work. Not a problem as they work if i remove it but without the awake function of course..
How come awake function doesn't work it works on the Ga-g31m-s2l with the vanilla usb kext?
I thought this was fine with all ich7 boards?
Reply With Quote
  #8  
Old 07-16-2009, 06:28 PM
Voyn1x's Avatar
Voyn1x Voyn1x is offline
 
Join Date: Jan 2008
Location: United Kingdom
Posts: 554
Quote:
Originally Posted by sk1nhd33t View Post
@ Voynix and others who tried this guide, does your auto sleep work on 10.5.7? on my end AUTO SLEEP doesnt work, sleep works fine using the apple menu + sleep but the time sleep using system preference doesnt seem to work. i have the same board but different method in installing retail, i might try this if auto sleep works.

Thanks for the reply.
No auto sleep doesn't work on this board for me either , apparently it worked fine in 10.5.6. A few real mac users are also reporting this problem with 10.5.7 so I hope it will be fixed in the next update.

Quote:
Originally Posted by Ianxxx View Post
How come awake function doesn't work it works on the Ga-g31m-s2l with the vanilla usb kext?
I thought this was fine with all ich7 boards?
If drbee means his USB devices aren't being recognised after sleep, I don't have this problem. What I do have however, is all USB EHCI devices being recognised as not built-in and therefore being hard disconnected at sleep. After resuming i'm greeted with this:

The only solution i've found so far is using Slice's modified IOUSBFamily. I'm sure there's a way using DSDT but I haven't worked it out yet

Mac OS X 10.6.4 Retail || Intel Core2 Duo E8200 2.66GHz || Gigabyte G31M-ES2L || GeForce 6600 GT 128MB || Realtek ALC883 Audio || Realtek RTL8169 LAN || Samsung SpinPoint F1 1TB HD || Sony Dual Layer IDE DVD RW DW-D22A || Apple Aluminium Keyboard || Mighty Mouse

MacBook Pro || 2.4Ghz Core 2 Duo || 200Gb HD || 2Gb Ram || NVIDIA GeForce 8600M GT

iPhone 4 || 16Gb
Reply With Quote
  #9  
Old 07-22-2009, 07:27 PM
cRuNciE cRuNciE is offline
Cheetah
 
Join Date: Jul 2009
Posts: 1
I have already installed via Iatkos 10.5.7, everything works including sleep and shutdown, but when i reboot it just stops at a black screen?

Also, what exactly does the DSDT file do, and do i need it to fix the reboot problem?

Regarding sound, my sound works but SPDIF doesn't, is that the same with you guys?


many thanks!
Reply With Quote
  #10  
Old 07-24-2009, 08:30 AM
Voyn1x's Avatar
Voyn1x Voyn1x is offline
 
Join Date: Jan 2008
Location: United Kingdom
Posts: 554
To fix your reboot problem you'll need to install OpenHaltRestart out of Extra.zip.

The dsdt.aml file within the zip has patches which will allow you to boot without IntelCPUPMDisabler and makes TimeMachine work along with removing the uuid 35 console error in the process.

More information on DSDT can be found here

I haven't tested SPDIF myself, but i'm now using AppleHDA for sound utilising a dsdt patch and a plist only injector. It's not perfect yet, i'm getting a few sound assertion errors (which is why i haven't updated this guide) but you're welcome to give it a shot if you're interested?



💡 Deploy cloud instances seamlessly on DigitalOcean. Free credits ($100) for InfMac readers.


Mac OS X 10.6.4 Retail || Intel Core2 Duo E8200 2.66GHz || Gigabyte G31M-ES2L || GeForce 6600 GT 128MB || Realtek ALC883 Audio || Realtek RTL8169 LAN || Samsung SpinPoint F1 1TB HD || Sony Dual Layer IDE DVD RW DW-D22A || Apple Aluminium Keyboard || Mighty Mouse

MacBook Pro || 2.4Ghz Core 2 Duo || 200Gb HD || 2Gb Ram || NVIDIA GeForce 8600M GT

iPhone 4 || 16Gb
Reply With Quote
Reply
Thread Tools
Display Modes