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.

27 comments

  1. [...] post: Making your own Chameleon Boot CD | Prasys' Blog AKPC_IDS += "4212,";Popularity: unranked [...]

  2. 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.

  3. @music-man – sorry man. I have no idea what you are saying…

  4. Another great post from you Prasys . And now i m waiting for your’s next post.

  5. Una pregunta cuando saldra una nueva reversion para amd athlon X2?? un saludo gracias ;) desde España.

  6. 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?

  7. 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

  8. @RayFlower – No…Chameleon is not for booting real macs. look here http://netkas.org/?p=189

  9. 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.

  10. @carlos – No habla espanol

  11. 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!

  12. [...] and shares !Prasys’ BlogHomeAbout The AuthorAdvertiseOSX86/Hackint0shPrivacy Policy« Making your own Chameleon Boot CDCreating your own EmpireEFI (the easy way) Its a small gift from me. Lately I’ve been very [...]

  13. [...] This post was mentioned on Twitter by Jeff McLamb. Jeff McLamb said: Making your own Chameleon Boot CD | Prasys' Blog http://ff.im/-iBxrY [...]

  14. Morphey, Paragon’s NTFS works easy on a mac!

  15. ? ??????, ??? ?? ??????????. ??????? ???????. ?????? ??? ? PM, ?????????….

    ……

  16. @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! :D

  17. Bactrim Septra…

    2b Allergic Bactrim Reaction…

  18. 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.

  19. fix credit…

    I have to give you credit for running a fabulous site here….

  20. plastikman :@carlos – No habla espanol

    Carlos wants to know if there is a Version for AMD Athlon x2 of Empire EFI (i think)

  21. 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….

  22. 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!
    birburim.com´s last [type] ..birburim.com

Leave a Reply