Chameleon 2.0 Guide

by Neonkoala on Mar.31, 2009, under Guides

With the release of Chameleon 2.0 and it’s many features including a fantastic looking GUI I have decided to write a brief guide on some of the options open to users. The bootloader itself comes in 3 parts; boot0 which is written to the MBR of a disk, boot1h which is written to the bootsector of a partition and finally a ‘boot’ file which is loaded from the root of a HFS+ partition. These files need to go in different locations depending on how you wish to set up your system. Click Read More to continue.

 

Standard Install to your OS X Partition

If you wish to have your system load the Chameleon bootloader from the MBR and wish to keep all files on your Leopard partition use this method. This assumes your install is on /dev/disk0s2 1. Extract the Chameleon archive and open a Terminal window there. 2. Use sudo -s to assume root privileges. 3. Install boot0 to the MBR:

fdisk -f boot0 -u -y /dev/rdisk0

4. Install boot1h to the bootsector of your OS X partition:

dd if=boot1h of=/dev/rdisk0s2

5. Copy the ‘boot’ file to your root partition:

cp boot /

6. Make sure your OS X partition is flagged as active. 7. Copy Themes and smbios.plist to your Extra folder:

cp -R smbios.plist Themes /Extra

8. Finally add any kexts you wish to /Extra/Extensions like you usually would.

Advanced Install to EFI Partition

If you’ve been using Munky’s EFI partition booting method or wish to keep Chameleon in it’s own partition out of the way you can use the EFI partition as OS X makes no use of this. This assumes you are using one disk which is GPT formatted with OS X on /dev/disk0s3. 1. Extract the Chameleon archive and open a Terminal window there. 2. Use sudo -s to assume root privileges. 3. Mount the EFI partition:

mkdir /Volumes/EFI && mount_hfs /dev/disk0s1 /Volumes/EFI

4. Install boot0 to the MBR:

fdisk -f boot0 -u -y /dev/rdisk0

5. Install boot1h to the bootsector of your EFI partition:

dd if=boot1h of=/dev/rdisk0s1

6. Copy the ‘boot’ file to your root partition:

cp boot /Volumes/EFI

7. Make sure your EFI partition is flagged as active. 8. Copy Themes and smbios.plist to your Extra folder:

cp -R smbios.plist Themes /Volumes/EFI/Extra

9. Copy any kexts to /Volumes/EFI/Extra/Extensions and your com.apple.Boot.plist to /Volumes/EFI/Extra and DSDT.aml to /Volumes/EFI/DSDT.aml

Chameleon Configuration

Add these to your com.apple.Boot.plist.

Set the default boot partition:

  • <string>Default Partition</string><key>hd(x,y)</key>
    Where x is the drive starting at 0 and y is the partition starting at 1

Set the resolution of Chameleon:

  • <string>Graphics Mode</string><key>1024×768×32@75</key>
    Where this is width, height, depth and refresh rate (for VESA 3.0 only)

Change the timeout before the default partition boots:

  • <string>Timeout</string><key>X</key>
    Where X is the timeout in seconds
 
:, , ,

Leave a Reply

You must be logged in to post a comment.

Additional resources