InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   Snow Leopard 10.6 (http://infinitemac.com/forumdisplay.php?f=87)
-   -   [GUIDE] Retail Snow Leopard DVD install for G31M-ES2L (http://infinitemac.com/showthread.php?t=3672)

sk1nhd33t 08-17-2009 09:24 AM

[GUIDE] Retail Snow Leopard DVD install for G31M-ES2L
 
UPDATE:

March 12, 2010: sold my ES2L Quicksilver PowerHack a few weeks back so my last update on this guide... it's been fun guys since we started this thread (August 17, 2009 - it all starts on Leopard thread here).. i'm sure we will bump on each other again on this forum and the others out there and i'm positively sure that the gurus here will keep this thread updated with new fixes, patch etc when 10.6.3 comes out (and also me if i can)..

- now for the updated ES2L kit, all current DSDT fixes including the ff:

- Vanilla speedstep (edit the PSS code for your processor - go here for more info)
- shutdown (thanks to mm67)
- restart (use asere bootloader included in the kit but thanks to duvel for introducing this fix)
- USB fix
- Apple Aluminum Keyboard Wakeup Fix (again thanks to mm67)


11/15: updated the ES2L kit to include latest software from conti, bonjour kext and other dsdt fixes.
11/9: Apple Releases Mac OS X 10.6.2, to update remove sleepenabler first then use the combo or software update. You can get the new sleepenabler kext at netkas site
10/9: guide updated again to base an RC3 + PC_EFI 10.3 and include all updated kext using Conti's myhack installer. Older RC1+PCEFI 10.1 guide dated 9/3/09 can be found here.
9/20: Netkas released PC EFI v10.3, if you are using the old 10.1 or RC3 may i suggest that you use this instead. Here's a screenshot of my boot.plist before and after 10.3 and PCI System Profiler.
9/20: Finally a fix that im really happy about, automatic sleep can now be achieve by using PleaseSleep application. a much better alternative is RIP.app by KWS. keep a disc inside your dvd drive to make Auto Sleep work
9/10: 10.6.1 is out, no kernel change has been made so update away!
9/4: No more need for RealtekR1000.kext to have bonjour working, use this kext instead. (works in 32bit only) use SnowR1000 included in the kit
9/3: revise the guide from scratch to base a retail DVD install (comments starts on page6), for the old dual OS 10A432 boot guide dated August 17 click here.


im quoting this from Stella's Blog: "Friends don’t let friends install OS X via OSInstall.mpkg. This guarantees a buggy installation, bad system permissions and possible kernel panics. If you’re going to install your OS either use the retail DVD or restore it to a high capacity flash key (8GB minimum). " i'll also add that using a flash drive or DVD will remove the "no installer package error" in Disk Utility, there is a workaround by running bsd.pkg from within Snow Leo but i havent tested it myself and a few can attest that it didn't work on them. For more OSX86 news I suggest subscribing to stella's blog via RSS or bookmark, lots of good info there which get updated constantly.

What's Needed:

- first download new ES2L Kit and place it in your Desktop. old kit can be downloaded here
- Retail Snow Leopard $29 DVD Disc
- Gigabyte G31M-ES2L Motherboard Rev 1.X F8/F10 Bios is used in this guide
- Intel Core 2 Duo or Quad Processor
- a separate Graphic Card-built in Intel GMA 3100 will not work
- 8GB flash drive
- Sata Hard Drive in any capacity (for this guide we use a dedicated HD)
- OS X machine, could be another mac, hack or another partition if you have


Create Snow USB installer:

● launch Disk Utility then choose your USB drive, under Volume Scheme select 1 partition and erase your USB drive to GPT (Guid Partition Table)
● click the restore Tab and select Mac OSX Install DVD as the image and your USB flash drive as the destination, also be sure that 'Erase' Destination' is unchecked before clicking restore.

http://img35.imageshack.us/img35/513...90830at714.png

● open your ES2L Kit and under tools double click myHack installer choosing your USB flash drive as the destination.

http://img504.imageshack.us/img504/4834/picture8t.png

● under Customize put a check on the following:

- com.apple.Boot.plist
- GraphicsEnabler - depending on your graphics card this option will auto enable most ATI and nvidia cards. (my Palit 9600GT works OOTB), if it doesn't work on you, try pci0 or the older method which is EFI strings.
- LegacyAppleRTC (optional since we will be fixing CMOS reset bug before we even shutdown/restart)
- fakesmcV2
- NullCPUPowermanagement
- OpenHaltRestart
- PlatformUUID (optional)

http://img30.imageshack.us/img30/7315/picture9ac.png

● under Themes, copy/paste "bootcamp" folder to Extra/Themes of your USB drive, you can skip this if you are happy with the default myHack theme.
● add the following entry (mark in red box) to your com.apple.boot.plist, while your at it you can also add your monitor's resolution. Don't forget to save when done.

http://img145.imageshack.us/img145/8...91122at119.png

● we now have a bootable USB Snow Leopard installer, copy ES2L Kit to your USB drive because we will be using it later. when done you can now shutdown your OSX machine.

Boot and install Snow Leopard via USB:

● Turn on your computer and press Boot Menu F12, when you see the selection screen choose your USB flash drive as the first boot and press enter.
● Chameleon screen will pop up next - choose your USB drive again and press enter or you can boot in verbose mode by entering "-v" (without the quotes) or via drop down menu. In a few seconds If all goes well you will be greeted with Snow Leopard language screen
● Launch Disk Utility then choose the hard drive you will be installing Snow Leopard
● format your SATA drive using GPT and Mac OS Extended (Journaled), quit disk utility when done. You can also customize the install if you want to removing printer drivers, language etc... im sure you know what to do here so just proceed until installation is finish.
● after the installer is done, click restart

First Boot:

● press F12 Boot Menu again then choose your USB flash drive, we need to do this because our SATA drive is not bootable on it's own yet
● on the Chameleon selection screen, choose your never booted Snow Leopard drive/partition
● again you can either just press enter on your keyboard or boot it in verbose mode (typing "-v") to see what's going on.
● if all goes well you will greeted with Snow Leopard intro video but no sound yet - depending on your graphic card you will notice that QE/CI is already activated... continue the setup process until you reach your desktop
● yey! we now have a fully functional 32bit Snow Leopard. but wait - we have no sound and it's not bootable on it's own.

DSDT, Audio and remaining fixes:

● open your ES2L kit and under tools run myHack installer again but this time choosing your Snow Leopard drive/partition as the destination
● under Customize put a check on the ff:

- com.apple.Boot.plist
- GraphicsEnabler
- fakesmcV2 (you can replace it after with a newer 2.5 version by Netkas)
- NullCPUPowermanagement
- OpenHaltRestart
- PlatformUUID
- SleepEnabler

http://img387.imageshack.us/img387/2...91010at901.png
http://img36.imageshack.us/img36/762...91010at903.png

● open Kext folder and look for "LegacyALC883.kext" and copy it to /Extra/Extensions
● open smbios-plist folder and copy "smbios.plist" to /Extra -included are iMac 9,1 and MacPro 3,1. Also edit it to match your hardware
● Under Themes copy bootcamp theme - again this is optional if you are happy with the MyHack default theme
● edit com.apple.Boot.plist adding the following in red box:

http://img145.imageshack.us/img145/8...91122at119.png

DSDT quick guide:

● create your own dsdt.aml by following this short guide below, AGAIN it's always recommended to create and use your own.. included my dsdt.aml and .dsl for comparison purposes only.

TIP: If you are using Textwrangler (free) or BBedit, you can compare the difference between the 2 dsdt.dsl by selecting both file, right click and choose "Compare Selected Documents", you can even copy the code difference by clicking an arrow button.

- let's begin... be sure you have a good texteditor handy (eg Textwrangler, BBEdit etc..)
- open ES2L kit Tools then "DSDT_Patcher1.0.1e" folder and double click "DSDT Patcher"
- a terminal window will open then press any key to continue
- next it will ask "Which OS to emulate? [0=Darwin, 1=WinXP, 2=WinVista]" input "0" and press enter
- a new Debug folder will appear and inside it are a few files but we are interested in "dsdt.dsl"
- open your dsdt.dsl using your preffered texteditor so we can start editing
- also as reference, open my included dsl to copy from it directly or check how it's done
- on your keyboard press "command F (Find)" and look for "_WAK", right above it copy paste "DTGP" located on your dsdtfix file
- again "command F (Find)" and enter RTC, look for "0x04" below RTC and changed them to "0x02" - this fix is for CMOS Reset
- command F (Find) and enter Azalia, go to dsdtfix file and copy paste "HDEF" to your dsl replacing azalia.. again check my included dsl for reference - this is for ALC883 Audio
- when done and sure everything is correct, hit save or (command S) to save your dsdt.dsl
- to compile it to .aml, drag and drop it (dsdt.dsl) to iAslMe, you'll get 1 warning (PARM under IGD0) but hopefully you have 0 error
- look for Sessions folder and copy dsdt.aml to /Extra of your Snow Leopard

http://img42.imageshack.us/img42/263...91122at135.png

● double click "pfix" (permission fix) then choose your snow leopard drive (type "/"), it will take a few minutes to create a new extension.mkext and repair permission but just be patient. reboot when done.
● after reboot for the Audio to take effect, launch System Preference then go to Sound and choose Internal Speakers/Built-In Speaker for both Sound Effects and Output Tab, press F11/F12 (apple keyboard), F14/F15 (for windows?) to test if you can hear a feedback.

Bonjour:

1: RTGMac_v2.0.3 - this works in 32bit only, open Bonjour Fix on your ES2L kit and run the included pkg, reboot and done.
2: via ifconfig PROMISC from here (32 and 64bit)

- to make PROMISC work there are 2 ways, one is via applescript which you can add on your startup and the other is via LoginHook, both of them work so use the method you prefer


- Use R1000 installer that's included in the ES2L Kit- Credits goes to Bit Shoveler & weeksauce12

Optional:

● you can edit com.apple.Boot.plist located in /Extra and remove "arch-i386" after Kernel Flags if you wish to boot in 64bit, this can be done using a Texteditor (e.g. TextEdit, Textwrangler, BBEdit etc) or Terminal (nano).

http://img187.imageshack.us/img187/5...91122at121.png

CREDITS:

Conti for myHack installer and PFix script
Pista7 and cparm for sleepenabler
Netkas for PC EFI and fakesmcV2
coconup for HDEF dsdt patch
ApexDe for USB wake-up FIX
Voyn1x for LegacyALC883.kext
Bit Shoveler & weeksauce12 for R1000 bonjour kext

☑ i'm also new when it comes to OSx86 scene and this is my first and only hackint0sh, just sharing what i have experience and worked for me. So if anyone has a kext, patch or any improvement in terms of install, boot or any changes that needs to be done please do post them here or PM it to me. i'm sure lots of members including me will benefit from it.

- if in case you miss it on top, new ES2L Kit can be downloaded from here.

DocShadow 08-17-2009 01:29 PM

Quote:

Originally Posted by sk1nhd33t (Post 31269)
- why use a flash drive? because installing it inside Leopard will make a no installer package error in Disk Utility hence you cant use it, it will also work on another partition but didnt try it since i have a few spare flashdisk unused.

Thanks for the detailed write up. The more success we have the more options for people to try.

I restored the Install DVD to a partition on the same drive on which I installed SL and can confirm that it also works and you don't get the "no installer package" error in Disk Utililty.

arsonwells 08-17-2009 05:53 PM

Very nicely done and much appreciated.

For some reason I keep getting kernel panics during the installation, but I restored the burned version of Snow to the SD instead of the original DMG. Gonna try it the right way now. Will update results.

mitchde 08-17-2009 10:40 PM

Thanks.
Whats this with that UUIDs of the USB boot drive.
Once it had for booting to install SL on an other partition.
Then boot again from usb to boot the installed SL from HD.
But before that booting delete the uuid (of usb).
Whats happen if the uuid on the USB stays ( not deleted) at the first booting from USB > F8 > select SL HD ?

sk1nhd33t 08-18-2009 03:35 AM

Quote:

Originally Posted by mitchde (Post 31320)
Thanks.
Whats this with that UUIDs of the USB boot drive.
Once it had for booting to install SL on an other partition.
Then boot again from usb to boot the installed SL from HD.
But before that booting delete the uuid (of usb).
Whats happen if the uuid on the USB stays ( not deleted) at the first booting from USB > F8 > select SL HD ?

i didnt quite understand what you mean but ill try my best to answer it :)

- for some reason the USB installer will kernel panic a few seconds after installing if the UUID is not present, it will boot fine except when you press install on your drive same as arsonwells above.

- on first boot if uuid is present of the USB drive (i deleted it in leopard before booting), snow leopard will stall, it will not continue to boot since chameleon booted the usb's uuid.

- basically i didnt need to install another chameleon to my 2nd partition since i already have a running leopard (hidden EFI) on first so i just copy the Extra folder and add uuid's so chameleon can load the specific extensions folder, but if you plan on installing snow on a seperate drive and plan to make it as a primary boot you can skip the uuid's and just install chameleon/EFI totally disregarding leopard.
;)

edit: this is the kernel panic im talking about, this happens a few seconds after snow is installing. To avoid it be sure boot-uuid is present on the usb's boot.plist and platformuuid's info.plist :)

http://i25.tinypic.com/b9j4op.jpg

mitchde 08-18-2009 08:42 AM

Thanks !
Really good step by step guide !!!
I ask about UUID because i have already an working SL A421 on an HD partition.
Has HIS own UUID in boot.plist.
Now i want to boot from it (like USB guide) to install A432 from that OSXInstall.mprg (modded for MBR).
For my understanding:
I leave that UUID (A432 UUID HD) for booting to install A432 on an clean HD partition on other HD.
But what then:
You second boot also to USB but select A432 installed partition to boot further.
Must i delete that UUID on my A421 for that second boot (in bootloader, not A421) into A432 ? You tell that.

I mean that last boot from USB into new A432:
Lets Make it Bootable: now this is very important because on first boot chameleon will automatically choose 64bit as default, and in my experience it kernel panicked immediately so we need to boot it first to 32bit, yours may vary so try 64bit immediately if you want.

- lets leave the never booted snow partition for a while
- make sure that your Leopard partition is on Chameleon RC1 + 10.1 coz this will be our main bootloader, if so boot Leopard partition again.
- go to 8GBsnow extra's boot.plist and delete the boot-uuid entry leaving the Kernel Flags empty



Thanks

cili0 08-18-2009 10:18 AM

Hi sk1nhd33t,

first of all thanks for your guide, everything works fine here with ga-p35-ds4.
The only problem is the "no package" error in Disk Utility.

I specified the SL partition UUID everywhere

n /Extra/com.apple.Boot.plist:

Code:

        <key>Kernel Flags</key>
        <string>boot-uuid=B82FF5F9-04DB-3830-AA5BD060E7DF2E49</string>

in /Extra/smbios.plist:

Code:

        <key>SMUUID</key>
        <string>B82FF5F9-04DB-3830-AA5B-D060E7DF2E49</string>

in /System/Library/Extensions/PlatformUUID.kext/Contents/Info.plist:

Code:

                <key>PlatformUUID</key>
                <string>B82FF5F9-04DB-3830-AA5B-D060E7DF2E49</string>

but it won't work! anyone know where i'm wrong ?

Thanks in advance,
cheers!

sk1nhd33t 08-18-2009 10:58 AM

@ mitchde

since you have a working snow i suggest you just install 10A432 within that, just created a new partition.. the no installer package error is only present if you install snow within leopard so im sure you are safe.

read more here

@ cilio

did you use my USB guide in installing 10a432 snow? AFAIK the no installer package error is only present if you install it within leopard, please check link above. it's working properly here on my end including the new install i made a few hours ago.

cili0 08-18-2009 11:06 AM

Quote:

Originally Posted by sk1nhd33t (Post 31361)
@ mitchde
@ cilio
did you use my USB guide in installing 10a432 snow? AFAIK the no installer package error is only present if you install it within leopard, please check link above. it's working properly here on my end including the new install i made a few hours ago.

i've used your guide since the "First Boot" section. But i've installed SL from Leopard.
I'm gonna try to make a SL USB Installer and Repair Permissions from there.

Thanks!

Snow 08-18-2009 11:18 AM

Check the other (specific related) thread m8 and try my suggestion.

http://www.infinitemac.com/f57/no-in...post31314.html

I still get KP in 64bit but x32 seems fine. What kexts did you use? (since I have GA-P35-DS3P)

Do not reinstall the BSD package though since it did nothing and messed my system up aferwards (but got it fixed again with above suggestion)

Thx

cili0 08-18-2009 02:54 PM

ok i'm back. Everything worked. I was forced to boot the installer in -x32 (in 64bit KP few seconds after snow is installing).

Now the only bad thing is that SL doesn't correctly recognise my CPU speed (stuck at 2.07Ghz instead of 3.0Ghz even if i installed VoodooPower.kext).

Thanks sk1nhd33t for your great guide!
Cheers!

sk1nhd33t 08-18-2009 03:46 PM

Quote:

Originally Posted by cili0 (Post 31393)
Now the only bad thing is that SL doesn't correctly recognise my CPU speed (stuck at 2.07Ghz instead of 3.0Ghz even if i installed VoodooPower.kext).

try adding these to your smbios.plist, replace the string that corresponds to your processor.

Quote:

<key>SMexternalclock</key>
<string>Your CPU FSB in MHz goes here</string>
<key>SMmaximalclock</key>
<string>Your CPU max speed in MHz goes here</string>

drbee 08-18-2009 04:00 PM

Hi,
Thanks for the great guide. Everything works for me but i have one problem. I had 2 partition one with Snow leopard beta and I installed from that 10a432 on another one. The problem is I cannot install Chameleon in snow leopard. I get install error. I tried with efi 10 but the boot file doesn't work.
Anyone knows a way to install Chameleon from SL?? Also other installer packages give me the same error..

Thank you

sk1nhd33t 08-18-2009 04:24 PM

@ drbee

do it under Leopard, but since you already tried installing it on snow doing it in leopard will give an error too so

- show all hidden files and delete .Chameleon folder on root (take note of the dot)
- install Chameleon

OR just add the boot-uuid on your snow's boot.plist and let your leopard's chameleon do the booting. No more need to press F12 (ES2L) or F8 (other mobo) if you wanna switch OS from one drive to the other :)

cili0 08-18-2009 10:03 PM

Quote:

Originally Posted by sk1nhd33t (Post 31396)
try adding these to your smbios.plist, replace the string that corresponds to your processor.

Hi sk1nhd33t,

i modified the smbios.plist adding:

Code:

        <key>SMmaximalclock</key>
        <string>3000</string>

and it seems to work (i'm wondering if the cpu is actually working at 3.0Ghz).

http://img257.imageshack.us/img257/4...0818a23011.png

I noticed that the VoodooPower.kext i grab somewhere doesn't work!
Where i can found a 64bit VodooPower.kext that works ?

thanks in advance!
cheers!

drbee 08-19-2009 08:38 AM

Thanks for your help sk1nhd33t.
The problem is I don't have leopard installed. I was using SL 10a421 And i installed from there.

Thanks

Mac_Dude 08-19-2009 03:22 PM

worked flawless

Snow does perform great , except for sleep.
Sleep does not work , even with sleepenabler.kext

thanks mate

sk1nhd33t 08-20-2009 04:55 AM

@Mac_Dude

manual sleep working fine here except automatic sleep which cease to function from 10.5.7, here's the combination of kext if ever.

AppleIntelCPUPowerManagement + NullCPUPowermanagement + Sleepenabler = sleep

or just delete AppleIntelCPUPowerManagement.kext, you get sleep but higher temps (about 8-10C) :)

@ cili0

AFAIK there is no 64bit voodoopower yet which im also waiting and realtekr1000 64.

cili0 08-20-2009 01:41 PM

i searched a while in the superhai forum, and actually there's no 64bit VooodooPower.kext, i don't know where i found that version!

However i fixed the sleep problem, it works in Leopard,SL x32, but KP occurs after wake up in x64.

Snow 08-20-2009 02:22 PM

sk1nhd33t, thx a lot for your proper guide m8, I have made another one based on yours but slightly changed.

I'm now 3 hours and a half in 64bit and no panics ;)

I always figured the USB install method would be best since you are installing from an SL environment.

Anyway, thx again and have fun with the OS

zod1988 08-20-2009 02:46 PM

Great guide!

Sadly as soon as it starts to copy files I get a kernel panic from IOATAFamily and I don't really know why....

This is on a P35-DS3P with a perfectly working install of Leopard

Snow 08-20-2009 02:54 PM

When installing from USB drive?

I had to use -x32 flag because installing from 64bit would panic.

zod1988 08-20-2009 02:58 PM

Yes, booted and installed from USB-Drive in 32Bit Kernel.

I'm a litte clueless, because it recognized all my devices and I even repartitioned the drive from the Installer and everything worked.

sk1nhd33t 08-20-2009 03:03 PM

i only have one hackintosh which is a G31M mobo, havent tried doing this method on any other motherboard so YMMV ;)

@zod1988 & Snow

is the kernel panic the same as my screenshot posted one page 1? if so, maybe it's the uuid, for some reason if the uuid is missing or mismatch it will kernel panic immediately. if it's not then i have no more idea.

@snow glad that it now worked for you and my guide help a bit. chao!

edit: BTW USB installer boots and install fine on 64bit using this board.

zod1988 08-20-2009 03:07 PM

No, it's definately a different one caused I remembered your's :D

Mine specifically mentions IOATAFamily as the cause of the panic....

Snow 08-20-2009 03:21 PM

Odd since I dont need any ATA related kexts installed with my board.

Maybe try to copy your Leopard IOATAFamily kext into extras folder (if you are using a custom one that is) but make sure you use 32bit when installing. It could be drive related but I used an old 5200 rpm ATA drive that makes more noise then a stockcar so cant get any worse then that.

Post back with updates m8, try some stuff but write every step down so you can trace back.

zod1988 08-20-2009 03:22 PM

Well, the harddisk is brandnew so it would be strange if it was that, but I'm gonna try the kext from Leopard as soon as I get home from work ^^

Will report back soon :P

zod1988 08-20-2009 04:11 PM

I tried it with IOATAFamily from Leopard, made all my IDE Drives (Target drive is SATA though) show up, but then crashes because of kextcache, as you can see in the attachment.

Could it have something to do with the fact that the Extension in Extra don't have an Extensions.mkext?

UPDATE:

Now I am completetly confused. Tried it several times now, and everytime the cause for the kernel panic is a different one....I had kextcache, Mac OS X Installer and kernel_task cause kernel panics at the exact same step and once just after booting into the installer and letting the computer sit idle for like 10 seconds.

64Bit kernel panics way before even reaching the GUI....

BTW: I made sure all the UUIDS are correct, it panics anyway.

zod1988 08-21-2009 10:35 AM

I also tried to create a kextcache myself, but the kernel panic always happens as soon as it tries to copy files to the target disk (and sometimes even before that...)

saintjoe 08-21-2009 04:46 PM

This guide gave me a perfectly stable 10A432 install on my hackintosh, thanks!

Hardware:

Asus P5Q Pro
C2Q Q6600
KFA Geforce GTX260

64bit-mode doing absolutely fine, panics when entering sleep mode though, but that didn't really work with 10.5 too.

Now only some minor glitches until I dare to use 10.6 as my everyday-system.

cili0 08-21-2009 06:31 PM

it seems that KP just before/after sleep is a common problem with SL in 64bit-mode. Maybe this problem is releated with SleepEnabler.kext. We should try to sleep with AppleIntelCPUPM.kext and see what happens.

Snow 08-21-2009 07:03 PM

No issues here with practicaly same mobo so it isnt SleepEnabler related m8.

Are you using all the kexts provided in this (or my) guide?

sk1nhd33t 08-21-2009 07:33 PM

received a few PM's asking me why they are having a kernel panic and why it's not working with them, again your mileage may vary if you will try this on a different board. i only tested this guide and quite a few times already on my machine with the spec listed on the first page.

dont just secretly send it to me, Please post here the problem and maybe members here including me can help. :)

@ saintjoe, glad that the guide worked for you too bad your having sleep problems, have you tried removing nullcpu and just let the apple PM run?

cili0 08-21-2009 07:57 PM

Quote:

Originally Posted by Snow (Post 31726)
No issues here with practicaly same mobo so it isnt SleepEnabler related m8.

Are you using all the kexts provided in this (or my) guide?

I'm using SleepEnabler.kext, dsmos.kext, NullCPUPowerManagement.kext, OpenHaltRestart.kext, PlatformUUID.kext and VoodooHDA.kext.

The sleep works in Leopard and SL x32 (i use SleepEnabler.kext in both), but KP in x64. I asked to a member with the same mobo and he has the same problem!

Can it be releated with the DSDT.aml i'm using ?

any help is appreciated :D
thanks cheers!

Mac_Dude 08-21-2009 08:48 PM

k , sleep does work with glitches now.
( had sleepenabler.kext on root instead of /extra )

Goes to sleep real fast ( faster than 10.5.8 ) , but no mouse or Keyboard when back from sleep.

but still no KP`s and all smooth

mormegil 08-22-2009 07:22 AM

Success at last with MSI P45 Neo2-FR! From not being able to even boot (KP right after choosing boot partition) to running in x64 mode for hours now :D

It wasn't much about the installing from USB, just the other steps and attached kexts i guess. I tried to restore the install dmg to a temp partition (second on the disk) and boot from it but installer failed due to my MBR partition scheme.

Ended up back in a working Leo environment (Chameleon RC1+EFI 10.1) which is my first partition. Installed from there using modified OSInstall.mpkg to work with MBR. Basically what I've been doing for like 10 times already after reading the other guides floating around. Although this time it worked. It must be the fact that I didn't install any bootloader onto the target partition (third on the disk) and just copied the attached files into Extra folder I created manually. I did set the Snow partition active so that my bootloader will know which partition to boot by default and load the correct kexts.

/Extra/Extensions:
Disabler.kext (not sure I need this.. copied from main partition)
fakesmc.kext (by netkas)
dsmos.kext (attached in Snow.zip, maybe I should delete now?)
NullCPUPowerManagement.kext (attached in Snow.zip)
OpenHaltRestart.kext (attached in Snow.zip)
PlatformUUID.kext (attached in Snow.zip, editted accordingly)

/Extra:
DSDT.aml (by DSDT Patcher 1.0.1e. DSDT modded in bios too (fix for cpus=1 in Leo))
com.apple.Boot.plist (copied from main partition, editted accordingly)
simbios.plist (attached in Snow.zip, editted accordingly)

Booted fine first time with -v -x32 switch. Previously, I was stuck right after the first few lines of boot. Ok as expected, KP after finishing registration. Disk Utility gave no installed packages error too. No big deal. At least I got a SL environment up and running.

Booted with -v -s -x32 next time. Repaired permissions. Deleted caches and rebuild.

Code:

chown -R root:wheel /System/Library/Extensions/*
chmod -R 755 /System/Library/Extensions/*
rm -R /System/Library/Caches
kextcache -v 1 -t -l -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /System/Library/Extensions
kextcache -v 1 -t -l -m /Extra/Extensions.mkext /Extra/Extensions /System/Library/Extensions

Booted with -x32 again. System appeared to be more stable. Installed BSD.pkg from temp partition to repair system files. No more "No installed packages error" by Disk Utility.

Booted with -x64. Been running flawlessly ever since! :p

Snow 08-22-2009 08:12 AM

Quote:

Originally Posted by cili0 (Post 31735)
I'm using SleepEnabler.kext, dsmos.kext, NullCPUPowerManagement.kext, OpenHaltRestart.kext, PlatformUUID.kext and VoodooHDA.kext.

The sleep works in Leopard and SL x32 (i use SleepEnabler.kext in both), but KP in x64. I asked to a member with the same mobo and he has the same problem!

Can it be releated with the DSDT.aml i'm using ?

any help is appreciated :D
thanks cheers!

I dont think this is dsdt related because 32bit seems to work properly. Permissions are ok? no errors in kext utility, terminal or disk utility?

You are using the 64bit Sleepenabler?

Try sleep in x64 safe mode (-x) and report back.

wwbsox 08-22-2009 05:13 PM

KP waking from sleep
 
I had a flawless SL install. But had to mess with things. Tried fakesmc by netkas. And had a kernel panic while repairing permissions. Now I get a kernel panic when waking from sleep. Restored my TM backup but still the same. Reinstalled SL using this guide (Install disk image restored to a partition on another drive), no problems there. but still same problem. Anybody have an idea? No package errors in disk utility. Repair permissions completes with no problems in disk utility and kext utility. Rebuilding of mkext also successful for S/L/E and /Extra.

cili0 08-22-2009 07:31 PM

Quote:

Originally Posted by Snow (Post 31783)
I dont think this is dsdt related because 32bit seems to work properly. Permissions are ok? no errors in kext utility, terminal or disk utility?

You are using the 64bit Sleepenabler?

Try sleep in x64 safe mode (-x) and report back.

Ok.. i replaced the SleepEnabler.kext i was using with the one attached in the main thread. After a permissions repair it seems to work, i will investigate further in the next days.
BTW i replaced dsmos.kext with the new fakesmc.kext from netkas.

Cheers and thanks for your help!

Snow 08-22-2009 07:35 PM

I also tested fakesmc and its a good replacement for dsmos. Faster boot since it doesnt have to wait for dsmos (check verbose mode to confirm)

cili0 08-22-2009 08:31 PM

it immediatly says "dsmos is arrived" (or something similar)! SMC in Apple hardware also manages sleep and shutdown issues, i'm wondering what this smc emulator can do regarding these aspects.

wwbsox 08-22-2009 11:32 PM

STill have Kp after wake from sleep
 
@cili0. I was hoping that your suggestion would have worked, but that would be too easy.

Replaced dsmos with updated fakesmc.kext (netkas put updated on his site today). Reinstalled sleepenabler.kext from the first page here. But still getting a KP after waking from sleep.

Actually reinstalled everything, SL, Chameleon 2, PC_EFI 10.1, kexts in /Extra and still having the same problem. Kext utility works good, finishes permissions/rebuild fine.

If anybody has any suggestions....

Snow 08-23-2009 07:10 AM

I also had KP's with wake after installing faksmc kext.
I also removed OpenHaltRestart & SleepEnabler to check if there were still needed.
I've then put them both back and only replaced dsmos and all was good again.
I had to use kextutility and reboot everytime so make sure you reboot enough to load the new kext/mkext.

cili0 08-23-2009 11:03 AM

Quote:

Originally Posted by wwbsox (Post 31869)
@cili0. I was hoping that your suggestion would have worked, but that would be too easy.

Replaced dsmos with updated fakesmc.kext (netkas put updated on his site today). Reinstalled sleepenabler.kext from the first page here. But still getting a KP after waking from sleep.

Actually reinstalled everything, SL, Chameleon 2, PC_EFI 10.1, kexts in /Extra and still having the same problem. Kext utility works good, finishes permissions/rebuild fine.

If anybody has any suggestions....

have you tried to repair permissions from disk utility ? i know it seems a noob suggestion, but i replaced the sleepenabler.kext with the one provided in the main topic, repaired permissions with "sudo diskutil repairPermissions /" and launched kext utility.

cheers!

wwbsox 08-23-2009 07:42 PM

KP after wake from sleep
 
Well I did a little testing and this is what I have found.

If I install from SL, I don't get the "no installer package" error. But I do get a KP when waking from sleep.

If I install from Leo, I do get the "no installer packages" error. But sleep works great. Wakes up everytime with no KP. I still get a "USB device removal error" if I don't eject my USB stick before sleep. (chameleon 2/PC_EFI 10.1 on usb stick).

I have tried this 3 different times/both ways and always the same results. I would prefer to do the install from SL obviously. I think this would be a cleaner install. But I do need sleep functioning.

I havent tried reinstalling BSD.pkg from SL as Snow said this made things worse and he is using the same MB.

Any ideas?

Also, Anybody seen a modified IOUSBFamily.kext for 64 bit yet? This fixed the "devical removal error for many in Leo.

Snow 08-24-2009 01:51 PM

This really sounds like the wrong Sleepenabler is being used m8, make sure it's 64bit version and install again using KextUtility.

Don't install from Leo and def not reinstall BSD.pkg.

Kexts needed: fakesmc/NullCPUPowerManagement/OpenHaltRestart/PlatformUUID & SLeepEnabler.

Don't forget to edit UUID strings before and after install and in the proper files (all 3)

Install from USB like guide says!

johnlocke2342 08-24-2009 05:40 PM

Hi.
Got a G31M-ES2L mobo too, but none of this works on my hack as I can't install from a DVD restored partition because I get a KP whether if I boot in 32 or 64 bits. I succeeded to install from within my Leopard install but I can only boot in 64 bit mode, with a Kernel panic right after the video and 32 bit mode hangs when loading "Don't steal Mac OS X.kext".

Please help!

Mac_Dude 08-25-2009 07:37 AM

Using PC_Efi_v9/Chameleon1 and adding the PC_EFI_ V10 bootfile solved the KP`s on my maschine..

Dunno why but Chameleon 2 didnt work for my 10.5x either.

This Guide/kexts here works great on my G31M here ( thanks ! ) , so maybe PC_EFI_v9 solve your KP`s too


regards

simsim 08-29-2009 05:02 PM

I followed this guide to update my 10.5.6 to snow leopard.
Good job on the guide, thanks!

Before deciding to follow the guide properly and install from a usb stick I had a few not so successful attempts at installing from a hard drive partition, using iPartition and Disk utility, creating and destroying new partitions and restoring to keep things fresh when I failed.

With the usb stick, it worked fine. I had the PCEfi boot file from this guide on it and the Extra folder had the contents of the guide extra folder and also 3 other ones:

AHCIPortInjector, ATAPortInjector, IOAHCIBlockStorageInjector
I think chameleon put them there.

The first time I forgot to edit the uuid flags in com.apple.boot.plist and PlatformUUID.kext.
While at it I also changed the resolution string in apple.com.boot.plist and upped the timeout value and added the device string for my graphic card.

I installed to my one partition leo disk.

After installing, I used another computer to remove the uuid flag from apple.com.boot.plist on the usb stick.
Booted to the usb stick and chose my hard drive in the chameleon screen, no kernel flags.

Snow Leopard, 64 bit!.

Only small problem I had was when (after having enjoyed snow leopard for a couple of hours) I tried to make my hard drive bootable on its own so as to not have to use the usb stick every time.
Chameleon gave an install error until I installed using the hfs EFI option.

I used EFI Partition Mounter and sudo -s in terminal to copy the boot file from the usb stick to the root of the hard drive and the extra folder from the usb stick to the efi partition. I just realized I never changed the uuid info in Platformuuid.kext….

Sleepenabler.kext worked as well, I put it among the EFI partition kexts.

So thanks, again.

Because of this thread I also know about the .chameleon folder in root, wish I knew that before…. :-)

dustintinsley 08-29-2009 08:42 PM

i have this same mobo, but i do not have 2 internal hd's. i have an external hd i would like to use to do the install, but would like to also install 10.6 on my internal hd that currently is running 10.5.8. how can i install 10.6 over my 10.5.8 install once it is installed to the external hd? is what i'm asking even making sense? thanks in advance...