InfiniteMac OSx86  


Reply
 
Thread tools Display modes
  #1  
Old 08-22-2009, 11:39 AM
aryajuanda's Avatar
aryajuanda aryajuanda is offline
 
Join Date: May 2008
Location: Indonesia
Posts: 72
[AMD] Snow Leopard 10A432 Install




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.....

Intel Core2Quad Q8400
Gigabyte GA-EP43-UD3L
4 GB kit DDR2 PC 6400 G-Skill BlackEdition
500 Gb Seagate Baracuda SATA
GeForce 9600 GT 512 MB GDDR3 256Bit
Mac OS X 10.6.2 || Leopard 10.5.8 || Windows 7

Visit my OSX86 Blog : http://osx86.boeaja.info

Last edited by aryajuanda; 08-23-2009 at 06:01 AM.
Reply With Quote
  #2  
Old 08-22-2009, 01:25 PM
diskeeper's Avatar
diskeeper diskeeper is offline
Jaguar
 
Join Date: Jun 2008
Location: Hungary
Posts: 64
And how You fixed iTunes?

Mac OS X 10.7.2 11C40 - Vanilla kernel
Gigabyte GA-P43T-ES3G - Intel Q8300 - 4 GB Geil DDRIII 1333MHz
EVGA GeForce GTX 460 SC 1024 MB - Linksys WMP54GS PCI
Reply With Quote
  #3  
Old 08-22-2009, 01:26 PM
aryajuanda's Avatar
aryajuanda aryajuanda is offline
 
Join Date: May 2008
Location: Indonesia
Posts: 72
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

Intel Core2Quad Q8400
Gigabyte GA-EP43-UD3L
4 GB kit DDR2 PC 6400 G-Skill BlackEdition
500 Gb Seagate Baracuda SATA
GeForce 9600 GT 512 MB GDDR3 256Bit
Mac OS X 10.6.2 || Leopard 10.5.8 || Windows 7

Visit my OSX86 Blog : http://osx86.boeaja.info

Last edited by aryajuanda; 08-23-2009 at 06:02 AM.
Reply With Quote
  #4  
Old 08-22-2009, 08:32 PM
maya77's Avatar
maya77 maya77 is offline
Panther
 
Join Date: Jun 2008
Posts: 194
Quote:
Originally Posted by aryajuanda View Post
the problem is the amd legacy kernel from modbin for snow leopard doen't have a on fly cpuids patch like voodoo based kermel
This is disaster.

Do you know if Dmitrik's kernel supports on the fly patching?
Reply With Quote
  #5  
Old 08-22-2009, 10:12 PM
aryajuanda's Avatar
aryajuanda aryajuanda is offline
 
Join Date: May 2008
Location: Indonesia
Posts: 72
Quote:
Originally Posted by maya77 View Post
This is disaster.

Do you know if Dmitrik's kernel supports on the fly patching?
i dont know.. i cant boot with dimitriK legacy kernel...

i guess its back to old time AMD Hacking for now... (the real Hackintosh ... lol)
until a new kernel created.....

Intel Core2Quad Q8400
Gigabyte GA-EP43-UD3L
4 GB kit DDR2 PC 6400 G-Skill BlackEdition
500 Gb Seagate Baracuda SATA
GeForce 9600 GT 512 MB GDDR3 256Bit
Mac OS X 10.6.2 || Leopard 10.5.8 || Windows 7

Visit my OSX86 Blog : http://osx86.boeaja.info
Reply With Quote
  #6  
Old 08-23-2009, 03:53 PM
modbin modbin is offline
Cheetah
 
Join Date: Aug 2009
Posts: 1
Quote:
Originally Posted by maya77 View Post
This is disaster.

Do you know if Dmitrik's kernel supports on the fly patching?
About binpatched kernel and source modded kernel:

on the fly patcher requires a kernel source from apple and a huge workaround. Since apple did not release 10.6 kernel sources yet, the only way to make the kernel work on amd is to modify it with a hexeditor. eg take the original kernel and patch it. A binpatched kernel will never support the "on the fly cpuid patcher". Itīs not possible!

greets,
modbin
Reply With Quote
  #7  
Old 08-23-2009, 07:37 PM
maya77's Avatar
maya77 maya77 is offline
Panther
 
Join Date: Jun 2008
Posts: 194
Quote:
Originally Posted by modbin View Post
About binpatched kernel and source modded kernel:

on the fly patcher requires a kernel source from apple and a huge workaround. Since apple did not release 10.6 kernel sources yet, the only way to make the kernel work on amd is to modify it with a hexeditor. eg take the original kernel and patch it. A binpatched kernel will never support the "on the fly cpuid patcher". Itīs not possible!

greets,
modbin
I'm glad to see you here. Really. :-)

And thanks for explanation.

This may be stupid question, but is there a way to make 10.0.0 kernel from 9.8.0 source?

Patch 9.8 kernel for SL instead of patching 10.0 kernel for AMD?

SL is almost useless on AMD without on-the-fly opcode patching. SSE3 emulation and 64-bit support on AMD are also important parts of Voodoo kernel.

Last edited by maya77; 08-23-2009 at 07:39 PM.
Reply With Quote
  #8  
Old 09-15-2009, 01:36 PM
Lykich's Avatar
Lykich Lykich is offline
Puma
 
Join Date: Apr 2009
Posts: 26
Quote:
Originally Posted by modbin View Post
About binpatched kernel and source modded kernel:

on the fly patcher requires a kernel source from apple and a huge workaround. Since apple did not release 10.6 kernel sources yet, the only way to make the kernel work on amd is to modify it with a hexeditor. eg take the original kernel and patch it. A binpatched kernel will never support the "on the fly cpuid patcher". Itīs not possible!

greets,
modbin
Source codes are for a long time already, there will be a new kernel?
Reply With Quote
  #9  
Old 09-15-2009, 07:28 PM
ToroLoco ToroLoco is offline
Jaguar
 
Join Date: Feb 2008
Posts: 78
well even if I convert the cdr image with disk utility I can't scan the image in order to restore it to the HD.
When the image is not mounted I get the "invalid argument" error and when it is mounted I get the "Resource temporarily unavailable" error.

Any other solution? I am open to suggestions.
Reply With Quote
  #10  
Old 09-05-2009, 05:56 PM
bogoos bogoos is offline
Cheetah
 
Join Date: Sep 2009
Posts: 1
Quote:
Originally Posted by aryajuanda View Post
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
Can anyone tell me how to do it?? I have problem with iTunes and i can't fix it, because i don't know how to use AMD patcher.

Thanks
Reply With Quote
Reply