foodfightr Posted June 3, 2008 Share Posted June 3, 2008 I used the retail disc to install Leopard 10.5.2. This is the post-patch.sh script which I ran to install kexts. (The script is from this guide.) #!/bin/bash # My destination disk is labeled "Macintosh" - change "Macintosh" to your value DESTINATION=Macintosh # Backup incompatible vanilla kexts sudo mkdir /Volumes/$DESTINATION/vanilla sudo cp -r /Volumes/$DESTINATION/mach_kernel /Volumes/$DESTINATION/vanilla/ sudo cp -r /Volumes/$DESTINATION/System/Library/Extensions/AppleACPIPlatform.kext /Volumes/$DESTINATION/vanilla/ sudo cp -r /Volumes/$DESTINATION/System/Library/Extensions/AppleAHCIPort.kext /Volumes/$DESTINATION/vanilla/ sudo cp -r /Volumes/$DESTINATION/System/Library/Extensions/AppleEFIRuntime.kext /Volumes/$DESTINATION/vanilla/ sudo cp -r /Volumes/$DESTINATION/System/Library/Extensions/AppleIntelCPUPowerManagement.kext /Volumes/$DESTINATION/vanilla/ sudo cp -r /Volumes/$DESTINATION/System/Library/Extensions/AppleSMBIOS.kext /Volumes/$DESTINATION/vanilla/ sudo cp -r /Volumes/$DESTINATION/System/Library/Extensions/IOAHCIFamily.kext /Volumes/$DESTINATION/vanilla/ sudo cp -r /Volumes/$DESTINATION/System/Library/Extensions/IOATAFamily.kext /Volumes/$DESTINATION/vanilla/ sudo cp -r /Volumes/$DESTINATION/System/Library/Extensions/JMicronATA.kext /Volumes/$DESTINATION/vanilla/ # Remove incompatible vanilla kexts sudo rm -r /Volumes/$DESTINATION/System/Library/Extensions/AppleEFIRuntime.kext sudo rm -r /Volumes/$DESTINATION/System/Library/Extensions/AppleSMBIOS.kext # It's usually recommended to remove AppleIntelCPUPowerManagement kext to reduce CPU temperature # and prevent "Package 0 didnt get an HPET" error. sudo rm -r /Volumes/$DESTINATION/System/Library/Extensions/AppleIntelCPUPowerManagement.kext # Install ALC889a, EFI strings for LAN and Audio, and Natit 3870 drivers if you want it, get rid of the # before that line # sudo cp -r kext/ALCinject.kext /Volumes/$DESTINATION/System/Library/Extensions/ # sudo cp -r kext/Natit.kext /Volumes/$DESTINATION/System/Library/Extensions/ sudo cp -r extra/com.apple.boot.plist /Volumes/$DESTINATION/Library/Preferences/SystemConfiguration/ # Install HDA patcher, unzip and drag the txt file to the HDA patcher and then reboot sudo cp -r extra/HDA.zip /Volumes/$DESTINATION/Applications/ # Page decryption EFI module - required for vanilla and binary hacked kernels, not required for kernels compiled from sources sudo cp -r kext/dsmos.kext /Volumes/$DESTINATION/System/Library/Extensions/ # PC EFI compatible AppleSMBIOS v.13 sudo cp -r pc_efi_v80/AppleSMBIOS.kext /Volumes/$DESTINATION/System/Library/Extensions/ # ICH9R ATA drivers - without these kexts internal drivers are displayed as external sudo cp -r kext/AppleAHCIPort.kext /Volumes/$DESTINATION/System/Library/Extensions/ sudo cp -r kext/IOAHCIFamily.kext /Volumes/$DESTINATION/System/Library/Extensions/ sudo cp -r kext/IOATAFamily.kext /Volumes/$DESTINATION/System/Library/Extensions/ # Realtek Ethernet driver - you need to set static IP settings - DHCP settings are lost after wake from sleep # sudo cp -r kext/RealtekR1000.kext /Volumes/$DESTINATION/System/Library/Extensions/ # Install Netkas sleep kernel sudo cp -r extra/kernel/mach_kernel /Volumes/$DESTINATION/ # Remove kext cache (if any) sudo rm -r /Volumes/$DESTINATION/System/Library/Extensions.mkext # Repair permissions - recommended but not required sudo diskutil repairpermissions /Volumes/$DESTINATION/ # You can reboot now # sudo reboot I also installed audio with Taruga_AD1988b_rev3_Installer and video with Natit_Dual_v0.2. Assuming I download the 10.5.3 update from apple and run this command in terminal: sudo -s while sleep 1; do rm -rf /System/Library/Extensions/AppleIntelCPUPowerManagement.kext; done Then I would do... pico /System/InstallAtStartup/scripts/1 and change "Don't Steal Mac OS X.kext" to "dsmos.kext" What else would I have to do before rebooting? Link to comment https://www.insanelymac.com/forum/topic/108448-upgrade-retail-disc-installation-to-1053/ Share on other sites More sharing options...
webterractive Posted June 3, 2008 Share Posted June 3, 2008 Pray Link to comment https://www.insanelymac.com/forum/topic/108448-upgrade-retail-disc-installation-to-1053/#findComment-769977 Share on other sites More sharing options...
00diabolic Posted June 4, 2008 Share Posted June 4, 2008 Pray Link to comment https://www.insanelymac.com/forum/topic/108448-upgrade-retail-disc-installation-to-1053/#findComment-770783 Share on other sites More sharing options...
foodfightr Posted June 16, 2008 Author Share Posted June 16, 2008 Got it working by using the script above. I took out the part that backs up the default Apple kexts and ran it. Then I repaired permissions using disk utility for good measure. It worked! Link to comment https://www.insanelymac.com/forum/topic/108448-upgrade-retail-disc-installation-to-1053/#findComment-785035 Share on other sites More sharing options...
Recommended Posts