r0m30, rocksteady and Blackosx first of all, I appreciate all your help.
Now for the next round of stupid questions
I tried to put cdboot (instead of boot) in the root directory of my Chemeleon USB stick. As Blackosx predicted, it didn't work. (Chameleon failed to load).
Of course, the obvious solution would be to create a Chameleon bootable CDRW to start the Mac OS X retail installer, install Mac OS X on a partition, and then use the Chameleon USB stick for all the kext experiments.
The only problem is, how do I make a Chameleon bootable CDRW
without using an existing Mac OS X installation? I'll have to google it (of course), but if you know of a tutorial about this, please post the link.
OK, so if you use the guide substituting the USB drive for the internal drive on your target PC you will have chameleon installed. Then:
mkdir -p /c/System/Library/CoreServices
touch /c/System/Library/CoreServices/SystemVersion.plist on the USB drive
I tried this. The Mac OS X install DVD icon did not appear. I only got a new icon which represented the Chameleon USB partition. I also got an error message "failed to parse the .plist" (or something similar) which is not surprising, since I created an empty SystemVersion.plist with touch. So I copied a real SystemVersion.plist from a Leopard installation on my Mac, and got rid of the error. Still the Mac OS X install DVD icon does not appear on the Chameleon partition list. (Needless to say, I tried F5 and F10. No joy.).
You will have a bootable USB that can mount the retail DVD once you get past the KP's.
Then it's boot, KP, google, fix ... rinse & repeat.
On the risk of sounding incredibly stupid... what's KP? The olly KP I know is the one you do in the Army
When you get the "still waiting for root device" message you have the kext combo that will get you to the installer so you can either run the installer from the USB drive or transfer the kexts to the target drive and use it to install. You can either remove the "Scan Single Drive" key from com.apple.boot.plist and use the USB drive to boot your osx install or install Chameleon on the hard drive.
One caveat, you may still run into issues with your internal hard drives because up until this point you have not accessed them.
I did not get that far (obviously) but I'm not very clear on what you mean either. Right now these are the installation steps as I understand them:
1. Create a bootable USB stick and install Chameleon on it, along with any necessary kexts.
2. Boot the PC from the USB stick.
3. Select the retail DVD from the Chameleon boot menu.
4. Boot from the retail OSX DVD, and start the Mac OS X install process.
5. Reboot from the USB stick and this time choose the new OSX partition.
6. After Mac OS X boots, install Chameleon to the new OSX partition.
Now it seems I may have to replace the USB stick in step 1 with a CDRW, in order to get Chameleon to see the Mac OS X install DVD. However, I don't see why I'd need to put the Mac OS X installer on the USB stick (unless I wanted to make modifications to the installer so that it does not require a GPT partition so I could install Mac OS X on an MBR partition).
BTW, I had already removed the "Scan Single Drive" key from com.apple.boot.plist during all my previous tests.
I don't understand why this would be preferable to rebooting the pmagic USB, mounting the Chameleon partition and modifying the kexts in /Extra/Extensions on the target drive.
I assume by
this you mean using VirtualBox. Well, apart from being able to have the pdf open while you type the commands in Parted Magic, it can be a bit faster if you have a second PC (say, a laptop) with VirtualBox open while you're installing Mac OS X on a Hackintosh PC. This way you can have all the advantages of your normal working environment in Windows, plus the parted Magic Environment, while you're experimenting with the Chameleon USB stick. Also, in my specific case, it's nessesary in order to take screenshots of Parted Magic for my article.