xomp Posted September 6, 2009 Share Posted September 6, 2009 I managed to create a DMG of my Retail Leopard DVD and restored the DMG onto an external USB HDD, install chameleon 2 rc2 too it and can now install (very quickly) from this USB HDD. My only question really is, how can I get specific kexts for my system to install when I'm installing Leopard? For example, it would be nice to take my NULLCPUPowermanagement.kext and Intel82655MM.kext (and a few others) and somehow tie them into the Leopard Installer so they actually get installed when I run the installation process. Any ideas how I can accomplish such a task? Cheers! Link to comment https://www.insanelymac.com/forum/topic/184618-installer-questions/ Share on other sites More sharing options...
vilpostus Posted September 6, 2009 Share Posted September 6, 2009 An easy answer. Yes, it is possible. You need to repack the OSInstall.mpkg. Use forum search to find. Hint. The procedure is the same as repacking the DVD (in other words injecting kext to DVD). Link to comment https://www.insanelymac.com/forum/topic/184618-installer-questions/#findComment-1254654 Share on other sites More sharing options...
xomp Posted September 6, 2009 Author Share Posted September 6, 2009 Thanks for the quick response! I followed your suggestion and found 2 topics in particular but unfortunately both have confused me This topic mentions injecting the xxx.kext into Extensions.mkext and (Strangely) deleting /System/Library/Extensions > http://www.insanelymac.com/forum/index.php?showtopic=67713 This topic mentions dropping a kext.pkg (or a kext that's part of a pkg) into /System/Installation/Packages > http://www.insanelymac.com/forum/lofiversi...php/t78138.html Am I on the right track? Or completely off? heh Link to comment https://www.insanelymac.com/forum/topic/184618-installer-questions/#findComment-1254738 Share on other sites More sharing options...
vilpostus Posted September 7, 2009 Share Posted September 7, 2009 Read this one http://www.insanelymac.com/forum/index.php?showtopic=66345 It is about inserting a 3ware driver. Replace 3ware driver with the drivers you need and follow the guide. Side note. The mkextunpack is a terminal command to unpack the Extensions.mkext I suggest to use this MKext Tool (http://insanelymac.blogspot.com/2008/12/mkext-tool-from-pcwiz.html) for all the operations with Extensions.mkext. It has a nice GUI and lets you do everything easy. In short all you need to do is: Copy the Extensions.mkext from the iso image of Installation DVD Unpack it (use the MKext Tool) Add your kexts Then Pack it back (use the MKext Tool) Copy the new Extensions.mkext back to the iso image of Installation DVD (replacing the old one with the new one) Make sure that all permissions are correct. To make this sure, copy everything with sudo cp -R via terminal. Link to comment https://www.insanelymac.com/forum/topic/184618-installer-questions/#findComment-1254905 Share on other sites More sharing options...
xomp Posted September 7, 2009 Author Share Posted September 7, 2009 Read this one http://www.insanelymac.com/forum/index.php?showtopic=66345 It is about inserting a 3ware driver. Replace 3ware driver with the drivers you need and follow the guide. Side note. The mkextunpack is a terminal command to unpack the Extensions.mkext I suggest to use this MKext Tool (http://insanelymac.blogspot.com/2008/12/mkext-tool-from-pcwiz.html) for all the operations with Extensions.mkext. It has a nice GUI and lets you do everything easy. In short all you need to do is: Copy the Extensions.mkext from the iso image of Installation DVD Unpack it (use the MKext Tool) Add your kexts Then Pack it back (use the MKext Tool) Copy the new Extensions.mkext back to the iso image of Installation DVD (replacing the old one with the new one) Make sure that all permissions are correct. To make this sure, copy everything with sudo cp -R via terminal. Oh man this is very helpful Thanks! I tried this once already but it didn't work, although it may be that I'm doing something wrong. Here's what I did: 1.) Downloaded the MKext Tool as you suggested 2.) copied the Extensions.mkext from my install disk to a folder named "kexts" on my Desktop via terminal with: sudo cp -R /Volumes/Install/System/Library/Extensions.mkext ~/Desktop/kexts 3.) copied a particular kext from my already installed system (Intel82566MM.kext) into the same "kexts" folder on my Desktop via terminal with: sudo cp -R /Volumes/Macintosh HD/System/Library/Extensions/Intel82566MM.kext ~/Desktop/kexts 4.) Unpacked the Extensions.mkext and dragged Intel82566MM.kext into MKext Tool and packaged it back up. 5.) copied the new Extensions.kext back onto the Install disk via terminal with: sudo cp -R ~/Desktop/kexts/Extensions.mkext /Volumes/Install/System/Library 6.) verified permissions on the Install disks Library with ls -l (everything was owned by root:wheel) 7.) booted the install disk and did an install, afterwards checked /System/Library/Extensions and this new kext was nowhere to be found Any idea what I may have done wrong? Also, below is the new Extensions.mkext I created: Found 11 kexts: AppleBCM5701Ethernet - com.apple.iokit.AppleBCM5701Ethernet (2.2.3b1) IONetworkingFamily - com.apple.iokit.IONetworkingFamily (1.6.0) AppleIntel8254XEthernet - com.apple.driver.AppleIntel8254XEthernet (2.0.1a2) Apple3Com3C90x - com.apple.driver.Apple3Com3C90x (1.4.0) Intel82566MM - com.tootoosoft.driver.Intel82566MM (1.0.0d1) AppleRTL8139Ethernet - com.apple.driver.AppleRTL8139Ethernet (1.4.1) AppleIntel8255x - com.apple.driver.AppleIntel8255x (1.4) Apple_DEC21x4Ethernet - com.apple.iokit.Apple_DEC21x4Ethernet (1.5.0f1) AppleUSBEthernet - com.apple.driver.AppleUSBEthernet (1.0.4b3) AppleRTL8169Ethernet - com.apple.driver.AppleRTL8169Ethernet (1.0.3) AppleYukon2 - com.apple.iokit.AppleYukon2 (3.1.4b11) As you can see the Intel82566MM shows up there in the mkext so I'm fairly positive it was done correctly. The original Extensions.mkext has 144 items in it so I'm not quiet sure why I only have 12 in mine :/ Link to comment https://www.insanelymac.com/forum/topic/184618-installer-questions/#findComment-1255582 Share on other sites More sharing options...
vilpostus Posted September 7, 2009 Share Posted September 7, 2009 Well, you did everything right, but one thing should be done in the other way. The problem is that you need to add your kext to the extensions folder. Extensions.mkext is some kind of short list of extensions which are located in /System/Library/Extensions used for quick loading them. So in order to load the new extension, you need to copy it to /System/Library/Extensions and then recreate the extensions.mkext from the /System/Library/Extensions folder. In other words: Put all needed kexts to /System/Libray/Extensions. Than add the /System/Library/Extensions folder to MKext Tool. Recreate (pack) Extensions.mkext. Delete the old Extensions.mkext from /System/Library, put the new one to /System/Library. Now you are done with modifying stuff. Create a new image just like before. Sorry for misinforming you. My mistake. Sorry once again! Link to comment https://www.insanelymac.com/forum/topic/184618-installer-questions/#findComment-1256362 Share on other sites More sharing options...
Recommended Posts