So you want to experiment with the Chameleon boot manager, but you don’t have a Mac or Windows environment handy? Here’s how you could prepare a Chameleon-bootable USB key (or any other kind of disk, for that matter). Be warned that the following procedure would overwrite the target disk’s MBR, effectively wiping all data on said disk. Make sure that you do not target the wrong disk. Naturally, what you do with this information is your responsibility
- Install hfsprogs (available in the Ubuntu repositories, if you use Ubuntu).
- Get the Chameleon binary package from <http://chameleon.osx86.hu/> and untar it, then navigate to the i386 directory in your terminal.
- Type `sudo dd if=boot0 of=/dev/sdX`, where /dev/sdX is the target disk; this is the step that cleans up the disk and loads a fresh MBR containing the stage-0 boot code.
- Make a new HFS+ partition (type AF) using fdisk. Let me know if you need help with this.
- Format the partition by doing `sudo mkfs.hfsplus /dev/sdX1`.
- Type `sudo dd if=boot1h of=/dev/sdX1` to install the stage-1 boot code to the bootsector of the new HFS+ partition.
- Now, type `sudo mount /dev/sdX1 /mnt` to mount the partition, where /mnt is your mount point of choice.
- Type `sudo cp boot /mnt/` to copy the final piece of Chameleon over.
- Unmount the partition using `sudo umount /dev/sdX1`.
Now you should have a shiny new Chameleon boot disk. I hope this helps.