InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   Snow Leopard 10.6 (http://infinitemac.com/forumdisplay.php?f=87)
-   -   [AMD] Snow Leopard 10A432 Install (http://infinitemac.com/showthread.php?t=3727)

aryajuanda 08-22-2009 11:39 AM

[AMD] Snow Leopard 10A432 Install
 
http://img32.imageshack.us/img32/637...90821at823.jpg


Before we begin to install Snow leopard On AMD system we need to prepare some file :

1. Kernel : Because AMD cant boot with vanila kernel..
for me the most success kernel is mach_kernel.test7 from modbin.
test7 its because its kernel number 7 i have test from modbin (all other kernel get me a KP)
you can get the kernel : here
2. Chameleon rc 2.640 pkg... you can get it from their website or : here
3. boot file to replace chameleon 2 boot file : here
4. DSDT.aml for your system. Google it to find out how
you will need a cmos reset fix in your DSDT.aml, DSDT patch also can be use to make your HDA sound working with vanilla AppleHDA.kext
5. Some kext like:

dsmos.kext - required to decrypt encrypted binaries
NullCPUPowerManagement.kext - attaches in place of the real AppleIntelCPUPowerManagement which doesn't work right on PCs (kernel panic, cpu running hot)
OpenHaltRestart.kext - very simple kext that makes reboot and shutdown work on PCs
PlatformUUID.kext - sets the platform UUID so that you have a uniform UUID from the very start of the boot.. this UUID is used in your preferences files (among other things) and I think it is important for a clean install to have this right from the first boot.

you can get it here

Next Step Installing Snow...
(install from a working leopard)
1. prepare an empty volume with disk utilities n get the uuid of the volume in this sample name it "snow''

Make sure that the new volume's root directory is owned by the root user.
Code:

chown 0:0 /Volumes/Snow
2. Mount the installer
a. if you have a GPT (GUUID Partition Table)
mount the snow leopard installation dmg/iso
Code:

open /Volumes/Mac\ OS\ X\ Install\ DVD/System/Installation/Packages/OSInstall.mpkg
b if you have an MBR partition u need to edit the OSInstall.mpkg or you can download : here
u can restore the dmg/iso to an empty partition and change the Osinstall.mpkg its located on /Volume/"some volume name"/System/Installation/Packages/
run the Os install.mpkg

3. Install Snow leopard to targeted volume
4. Install Chameleon Rc 2.640 to targeted volume.
5. Replace the boot file
5. Place the new kernel in the root of volume
6. create an smbios.plist and place in to /Extra (in the targeted volume)
this is the dummy:
Code:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>SMbiosvendor</key>
        <string>Apple Inc.</string>
        <key>SMbiosversion</key>
        <string>MP21.88Z.005C.B01.0608221120</string>
        <key>SMbiosdate</key>
        <string>04/01/2008</string>
        <key>SMboardmanufacturer</key>
        <string>Apple Computer, Inc.</string>
        <key>SMboardproduct</key>
        <string>Mac-F4208DC8</string>
        <key>SMfamily</key>
        <string>MacPro</string>
        <key>SMmanufacturer</key>
        <string>Apple Inc.</string>
        <key>SMproductname</key>
        <string>MacPro2,1</string>
        <key>SMserial</key>
        <string>W88033AKY51</string>
        <key>SMsystemversion</key>
        <string>1.0</string>
        <key>SMUUID</key>
        <string>00000000-0000-1000-8000-000000000000</string>
        <key>SMmemtype</key>
        <string>24</string>
        <key>SMmemspeed</key>
        <string>1600</string>
        <key>SMmemmanufacter</key>
        <string>Apple Computer Inc.</string>
        <key>SMmemserial</key>
        <string>100000000</string>
        <key>SMmempart</key>
        <string>1</string>
<!--
        <key>SMexternalclock</key>
        <string></string>
        <key>SMmaximalclock</key>
        <string></string>
-->
</dict>
</plist>

change the UUID with volume UUID that u have before (point 1)
also place the UUID in the PlatformUUID.kext its located on PlatformUUID.kext/content/info.plist

7. Place dmos.kext, PlatformUUID.kext, Openhaltrestart.kext, NullCPUPowerManagement.kext in /Extra/Extensions/
8. Edit your /extra/com.apple.Boot.plist
this is just a sample with EfiString for my nVidia Geforce 9600 GT
Code:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>Kernel</key>
        <string>mach_kernel.test7</string>
        <key>Kernel Flags</key>
        <string></string>
        <key>Timeout</key>
        <string>5</string>
        <key>device-properties</key>
        <string>6c0200000100000001000000600200000d00000002010c00d041030a010000000101060000100101060000007fff04000e0000004e00560050004d0000002000000001000000000000000000000000000000000000000000000000000000220000005600520041004d002c0074006f00740061006c00730069007a006500000008000000000000201c0000006400650076006900630065005f00740079007000650000000f0000004e5644412c506172656e740e0000006e0061006d00650000000b000000646973706c617922000000400030002c006400650076006900630065005f00740079007000650000000b000000646973706c617922000000400031002c006400650076006900630065005f00740079007000650000000b000000646973706c6179100000006d006f00640065006c0000001a0000006e5669646961204765466f726365203936303020475420000000400031002c0063006f006d00700061007400690062006c00650000000e0000004e5644412c4e564d616314000000400030002c006e0061006d0065000000120000004e5644412c446973706c61792d4114000000400031002c006e0061006d0065000000120000004e5644412c446973706c61792d4220000000400030002c0063006f006d00700061007400690062006c00650000000e0000004e5644412c4e564d6163100000004e00560043004100500000001800000004000000000003000c00000000000007000000001e00000072006f006d002d007200650076006900730069006f006e0000002e0000006e5669646961204765466f7263652039363030204754204f70656e474c20456e67696e65205b4546495d</string>
</dict>
</plist>

9. Place your fixed DSDT.aml in the root of targeted volume
10. if you have other kext like voodooHDA or sumthing you can also install it (i use dsdt to get my sound working)

11. Reboot your PC and boot from targeted volume

Good Luck....

Update:
P.S Please Check Post #3 for some fix.....

diskeeper 08-22-2009 01:25 PM

And how You fixed iTunes?

aryajuanda 08-22-2009 01:26 PM

AMD Fix
 
After an successful install n boot into snow leopard i found some problem iTunes is crashing everytime..
the problem is the amd legacy kernel from modbin for snow leopard doen't have a on fly cpuids patch like voodoo based kermel so we need to do a cpuids patch.
u can use a Marvin's AMD Utilities to do this patch.
for Fix some problem u can run a cpuid patch on :

iTunes
Code:

/System/Library/QuickTime/
and
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/

Spotlight
Code:

/System/Library/PreferencePanes/Spotlight.prefPane

maya77 08-22-2009 01:49 PM

Thanks for your Guide. I'm just installing it and let you know if it works.

maya77 08-22-2009 02:38 PM

Finally, I have it working. :)


Problems:
-System crashes if I want to change Spotlight settings in System Preferences (I want to exclude Leo partition here).


IMPORTANT notice: SL will not boot via Leopard bootloader until you replace BOOT file on Leo partition too. This applies if you have Leo and SL installed on the same HDD.


Thanks.

aryajuanda 08-22-2009 02:53 PM

nice to hear that its work for you maya77..
the kernel is 32 bit by default..
where did u put your ac 97 kext ?
are u installing after you get in to snow or before first boot.

the extenstions.mkext is different from leo you cant use kext helper to install some kext
Snow:
/System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext

you can rebuild your extensions.mkext again if you place your kext in /system/librabry/extensions/ with terminal
Code:

kextcache -v 1 -t -m /System/Library/Caches/com.apple.kext.caches/Startup/Extensions.mkext /System/Library/Extensions
make sure u have right permission

pαuℓzurrr. 08-22-2009 03:23 PM

Thanks aryajuanda!
I used some parts of the guide and got my snow leopard too boot again!

http://img504.imageshack.us/img504/1...90822at720.png

aryajuanda 08-22-2009 03:54 PM

Glad to hear it from you pαuℓzurrr.

macxuser33 08-22-2009 06:56 PM

Is the mach_kernel.test7 for just amd or is it intel also ? as im running on pentium D , Lleopard at the moment s runs great but wouldnt mind trying snow

thanks

aryajuanda 08-22-2009 07:37 PM

its a legacy kernel.. haven't tested on pentium D... (i dont have one) may be you should try it to find out..