| 1 | ␊ |
| 2 | Chameleon Boot Loader␊ |
| 3 | =====================␊ |
| 4 | ␊ |
| 5 | What is it?␊ |
| 6 | -----------␊ |
| 7 | ␊ |
| 8 | Chameleon is combination of various boot loader components. It is based␊ |
| 9 | on David Elliott's fake EFI implementation added to Apple's boot-132␊ |
| 10 | project. Chameleon is extended with the following key features:␊ |
| 11 | ␊ |
| 12 | ␊ |
| 13 | Features␊ |
| 14 | --------␊ |
| 15 | ␊ |
| 16 | - Device Property Injection via device-properties string in org.chameleon.Boot.plist␊ |
| 17 | - hybrid boot0+boot1h loaders for both MBR and GPT partitioned disks.␊ |
| 18 | - automatic FSB detection code even for recent AMD CPUs.␊ |
| 19 | - Apple Software RAID support.␊ |
| 20 | - stage2 loader (boot) can be placed as a regular file in the boot␊ |
| 21 | partition's root folder.␊ |
| 22 | ␊ |
| 23 | ␊ |
| 24 | Installation␊ |
| 25 | ============␊ |
| 26 | ␊ |
| 27 | Normal Install (non-RAID):␊ |
| 28 | --------------------------␊ |
| 29 | ␊ |
| 30 | Suppose that your installation is on /dev/disk0s2␊ |
| 31 | ␊ |
| 32 | - Install boot0 to the MBR:␊ |
| 33 | ␉␉sudo ./fdisk440 -f boot0 -u -y /dev/rdisk0␊ |
| 34 | ␊ |
| 35 | - Install boot1h to the partition's bootsector:␊ |
| 36 | ␉␉sudo dd if=boot1h of=/dev/rdisk0s2␊ |
| 37 | ␊ |
| 38 | - Install boot to the partition's root directory:␊ |
| 39 | ␉␉sudo cp boot /␊ |
| 40 | ␊ |
| 41 | No need to use startupfiletool anymore!␊ |
| 42 | ␊ |
| 43 | ␊ |
| 44 | RAID Install:␊ |
| 45 | -------------␊ |
| 46 | ␊ |
| 47 | Suppose that your installation is on /dev/disk3, which is either a mirror- or a␊ |
| 48 | stripeset consisting of /dev/disk0 and /dev/disk1␊ |
| 49 | ␊ |
| 50 | Mac OS X creates a small helper partition at the end of each RAID member disk,␊ |
| 51 | namely /dev/disk0s3 and /dev/disk1s3␊ |
| 52 | ␊ |
| 53 | - Install boot0 to the MBR of both disks:␊ |
| 54 | ␉␉sudo ./fdisk440 -f boot0 -u -y /dev/rdisk0␊ |
| 55 | ␉␉sudo ./fdisk440 -f boot0 -u -y /dev/rdisk1␊ |
| 56 | ␊ |
| 57 | - Install boot1h to the bootsector of each boot partition:␊ |
| 58 | ␉␉sudo dd if=boot1h of=/dev/rdisk0s3␊ |
| 59 | ␉␉sudo dd if=boot1h of=/dev/rdisk1s3␊ |
| 60 | ␊ |
| 61 | - Install boot to both helper partition's root directories.␊ |
| 62 | ␉␉diskutil mount disk0s3␊ |
| 63 | ␉␉cp boot /Volumes/Boot\ OSX␊ |
| 64 | ␉␉diskutil unmount disk0s3␊ |
| 65 | ␉␉diskutil mount disk1s3␊ |
| 66 | ␉␉cp boot /Volumes/Boot\ OSX␊ |
| 67 | ␉␉diskutil unmount disk1s3␊ |
| 68 | ␊ |
| 69 | Support:␊ |
| 70 | --------␊ |
| 71 | ␊ |
| 72 | If you have any questions, issues etc. feel free to join us␊ |
| 73 | at irc.voodooprojects.org #chameleon␊ |
| 74 | ␊ |
| 75 | ␊ |
| 76 | Source Code␊ |
| 77 | -----------␊ |
| 78 | ␊ |
| 79 | For downloading the source code please visit the project page at␊ |
| 80 | http://chameleon.osx86.hu␊ |
| 81 | ␊ |
| 82 | ␊ |
| 83 | Licensing␊ |
| 84 | ---------␊ |
| 85 | ␊ |
| 86 | Chameleon is released under the terms and conditions of␊ |
| 87 | Apple Public Source License (see APPLE_LICENSE).␊ |
| 88 | |