You can boot off of the USB stick to generate the Extentions.mkext and put it into the directory above, but the BIG problem is, when Lion generates new kernelcache, it deletes that folder and generate a new one. For instance, if the old one is "com.apple.boot.P", the new one will be "com.apple.boot.S" then Chameleon will cause Kernal panic because now Extensions.mkext no longer exists. For me it was a pain to keep generating almost on every reboot.
Did some reading and found the answer by compiling the latest branch of Chameleon.
Optional ONLY if you want to compile the source.
1. You MUST have Xcode installed (I had version 3 and it worked fine)
2. in terminal get latest of branch by typing: svn co http://forge.voodoop...anches/mozodojo
3. Once done, a new directory will be downloaded named "mozodojo"
4. Go into that directory and make sure the revision is at least 1200s by viewing the "revision" file.
5. While in the root of "mozodojo", type: make
6. The system will attempt to compile Chameleon source.
7. Once done, the binary is located in "sym" directory
Installing and setting up boot with new binary.
1. Go here (http://www.insanelym...howtopic=160467) and look at step 5 to 8 for how to install the new binary bootloader
2. If you already have an existing Extra folder, rename the com.apple.Boot.plist to org.chameleon.Boot.plist because new code is looking for this file.
3. IMPORTANT: go into org.chameleon.Boot.plist and create (if not there) these lines:
4. Save it off.
5. Now move ALL you kexts from /Extra/Extensions into /S/L/E because with the flag "UseKernelCache", Chameleon will ignore /E/E.
6. We need to have Lion generate new kernelcache to pickup new extensions by typing: touch /System/Library/Extensions
7. Wait for it to be done, and reboot.
8. Now you have a full working RAID
If you don't want to hassle with compiling, Chameleon revision 1278 binaries is attached.
With new Chameleon code, there's no need for mach_kernel to be in the boot helper partition, you can delete it and Extensions folder also.
So my Boot OS X partitions as follow:
System --> Lion auto generated folder, don't touch
boot --> boot file from Chameleon r1278
com.apple.boot.X --> where X is a letter like R, S or P and this is where kernelcache is kept.
Extra folder has:
That's it, nothing else here since all kexts are moved to /S/L/E
EDIT: Package installer attached also if you want to update via installer. Just remove the .txt extension.
My org.chameleon.Boot.plist for your reference
<?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>Boot Graphics</key> <string>Yes</string> <key>DropSSDT</key> <string>Yes</string> <key>EthernetBuiltIn</key> <string>Yes</string> <key>Graphics Mode</key> <string>1280x800x32</string> <key>GraphicsEnabler</key> <string>y</string> <key>UseKernelCache</key> <string>Yes</string> <key>RootUUID</key> <string>get_the_raid_identifier_from_disk_utility</string> <key>Kernel Flags</key> <string>-v</string> <key>PciRoot</key> <string>1</string> <key>Theme</key> <string>Default</string> <key>Timeout</key> <string>1</string> <key>device-properties</key> <string>my_long_ass_string_for_nvidia_card</string> </dict> </plist>