Making your own Chameleon Boot CD

So if you want to understand how to make a Chameleon boot cd from scratch here goes…Empire EFI is prolly just easier to use.
Prerequisites:
A working OSX install (Physical or Virtual)
Blank CD
Terminal Knowledge
Kexts for your board (you have to know these and provide them)
Chameleon Binaries (latest as of this post is RC4)
smbios.plist
fakesmc.kext
Disabler (nullcpupowermanagement.kext)
Patched mach_kernel (for Legacy Intel and AMD…search google…)

Download and extract the latest Chameleon (assuming into ~/Downloads)
create a directory in your home folder that contains the folder structure
mkdir -p ~/bootcd/usr/standalone/i386/ ~/bootcd/Extra/
Copy the cdboot binary into the bootcd folder
cp -Rp ~/Downloads/Chameleon-2.0-RC4-r684-bin/i386/cdboot ~/bootcd/usr/standalone/i386/
Place a com.apple.Boot.plist into the cd (you can make what ever modifications you want)
com.apple.Boot.plist example
create a Preboot.dmg
hdiutil create -size 30m -type UDIF -fs HFS -layout SPUD -volname Preboot ~/bootcd/Extra/Preboot.dmg -ov -quiet
Mount the Preboot.dmg
hdiutil attach -owners on ~/bootcd/Extra/Preboot.dmg
Build the folder structure inside the Preboot.dmg
mkdir -p /Volumes/Preboot/Extra/Extensions
copy your kexts into the Preboot.dmg (i will give fakesmc and the Disabler as an example
cp -Rp ~/Downloads/fakesmc.kext /Volumes/Preboot/Extra/Extensions/
cp -Rp ~/Downloads/nullcpupowermanagement.kext /Volumes/Preboot/Extra/Extensions/

Place a patched kernel into your boot CD (AMD/Legacy Intel) and Preboot.dmg
cp -Rp mach_kernel ~/bootcd/Extra/ ; cp -Rp mach_kernel /Volumes/Preboot/Extra/
Copy your com.apple.Boot.plist into the Preboot.dmg
cp -Rp com.apple.Boot.plist /Volumes/Preboot/Extra/
com.apple.Boot.plist (different than above)
Copy your smbios.plist (that you made following the linked guide) into the Preboot.dmg
cp -Rp smbios.plist /Volumes/Preboot/Extra/
**Optional**
copy your DSDT.aml into your boot CD **note** I cannot remember which location loads the DSDT so place it in the Preboot and on the root of the CD
cp -Rp DSDT.aml ~/bootcd/Extra/ ; cp -Rp DSDT.aml /Volumes/Preboot/Extra/
Fix permissions and recreate the kext cache ( you will see many messages like (including anyway; dependencies may be available from elsewhere) these are OK to ignore)
sudo chown -R root:wheel /Volumes/Preboot/Extra/Extensions
sudo chmod -R 755 /Volumes/Preboot/Extra/Extensions
sudo kextcache -v 1 -a i386 -a x86_64 -m /Volumes/Preboot/Extra/Extensions.mkext /Volumes/Preboot/Extra/Extensions/

Eject the Preboot.dmg
hdiutil detach /Volumes/Preboot/
master the newly minted Empire EFI
sudo hdiutil makehybrid -o My_Custom_bootcd.iso ~/bootcd/ -iso -hfs -joliet -eltorito-boot ~/bootcd/usr/standalone/i386/cdboot -no-emul-boot -hfs-volume-name "My Custom Bootcd" -joliet-volume-name "My Custom Bootcd"
burn that to a CD and you have your very own bootable cd.

29 thoughts to “Making your own Chameleon Boot CD”

  1. I’m make a Chameleon boot cd. My bootloader chameleon on cd good work – for my HD : Snow Leopard or Windows 7. Bad not boot this cd on retail SL ? I must use this is Empire EFI ? I have one cd for install SL from retail DVD and bootloader for boot my systems on hard dysk.

  2. Hey, nice tutorial, I’m wondering if this would work on my san rosa macbook pro which i want to force to boot into 64 bit mode?

  3. Pingback: uryjegujawama
  4. Hello Prasys to see if you can help me I have problems
    hackintosh with my brother these are your
    features
    asrock ALiveNF6P-VSTA
    AMD Athlon X2
    2GB
    40 ATA
    ATA DVD
    I’ve completed the successful installation of snowleopard
    but I can only boot from the cdboot if I do not
    I get black screen on myhack installed inside the cd that put another graphic but does not start the pc I spent a couple of screen:
    Hola Prasys a ver si me puedes ayudar tengo problemas
    con el hackintosh de mi hermano estas son sus
    caracteristicas :
    Asrock alivenf6p-vsta
    AMD ATHLON X2 +3500
    2GB
    40 ATA
    DVD ATA
    He realizado la instalación correcta de snowLeopard 10.6.0
    pero solo puedo arrancar desde el cdboot si lo hago sin
    el obtengo black pantalla (black screen) he instalado myhack que hay dentro del cdboot he probado a ponerle otra grafica(xfx 8600) pero no arranca me hace lo mismo el pc te paso un par de screens muchas gracias.
    http://yfrog.com/es1000495jj
    http://yfrog.com/2p1000492uj

  5. Awsome Guide for make a boot CD. I was wondering is there a way to make Chameleon on USB flash drive? Since my laptop has no DVD/CD drive. Everytime i have to connect a big external DVD drive in order to use any DVD/CDs.I have couple older USB drive from old days.That will be really nice if i can reuse them.Thanks for your time and any input.

  6. Hey plastikman,
    i have some weird question:
    i have a windows LDM partition (NTFS) and i want to mount it on my hackintosh.
    i tried every tool there is, and i still can’t do it.
    any ideas? thanks!

  7. Pingback: ???????
  8. Pingback: Kylie Batt
  9. @Frank
    That’s easy.
    1) Partition your USB drive using Disk Utility and name it something like “ChameleonBoot”. The bootloader/master bood record needs to be installed in the first partition of the drive (make it about 200mb).
    2) Download Chameleon 2rc3 binaries
    http://chameleon.osx86.hu/articles/chameleon-20-rc3-with-snow-leopard-and-large-disk-support
    After downloading and expanding the archive, enter Terminal and navigate your way to the i386 directory. (Or type “cd” and drag the i386 directory into Terminal)
    3) Issue the commands to install Chameleon into the partition
    (if you are unsure about the disk and partition number, right-click the partition in Disk Utility to get the Information)
    fdisk -f boot0 -u /dev/rdiskX
    dd if=boot1h of=/dev/rdiskXs2
    cp -p boot boot0 boot1h /Volumes/ChameleonBoot
    4) Download and install Chameleon 2rc3 installer package by Dr. Hurt.
    http://www.insanelymac.com/forum/index.php?showtopic=184766
    5) Flag the Chameleon partition as active
    fdisk -e /dev/rdiskX
    f 1
    w
    q
    All done! 😀

  10. Pingback: Bactrim Generic
  11. Life have happy and angry, my shoes have good and bad too. we choose happy more, the same as we choose a pair of good shoes suited to me. These boots are beautiful in your blog, i wish to choose one for myself.

  12. Pingback: fix credit
  13. i got error while creating bootable mountain lion dvd with my own preboot.dmg image in it.
    invalid El Torito options ignoring……
    creating hybrid image…..
    i’ve my mountain lion image on desktop so i used command
    ajinkya$ sudo hdiutil makehybrid -o “Desktop/Mac OS X 10.8 Install DVD.iso” “/Users/ajinkya/Desktop/Mountain_Lion_Installer_DVD.dmg” -iso -hfs -joliet -eltorito-boot “/users/ajinkya/Desktop/Mountain_Lion_Installer_DVD/usr/standalone/i386/cdboot” -no-emul-boot -hfs-volume-name “Mac OS X Install DVD” -joliet-volume-name “Mac OS X Install DVD”
    pls help….

  14. Howdy would you mind stating which blog platform you’re using? I’m going to start my own blog soon but I’m having a difficult time choosing between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design seems different then most blogs and I’m looking for
    something completely unique. P.
    S My apologies for being off-topic but I had to ask!

  15. I blog often and I really thank you for your content.
    This great article has really peaked my interest. I will
    bookmark your website and keep checking for new information about once a week.
    I opted in for your RSS feed as well.

Leave a Reply

Your email address will not be published. Required fields are marked *