Install the preboot image onto the installer file system ~: $ sudo install -o root -g wheel -m 644 ~/Desktop/Hackintosh/Preboot.dmg \ ~: $ sudo install -o root -g wheel -m 755 -d /Volumes/Hackintosh\ Snow\ Leopard\ Install\ Disk/Extra In the following steps it isĮxpected that the preboot image is saved as the fileĬhameleon expects to find the preboot image under the directoryĮxtra in the root of the installer file system. Written about this in the posting called Create preboot ~: $ sudo install -o root -g wheel -m 644 ~/Desktop/Hackintosh/Chameleon-2.0-RC4-r684-bin/i386/boot1h \Ĭreate preboot image for Chameleon that suits your system. ~: $ sudo install -o root -g wheel -m 644 ~/Desktop/Hackintosh/Chameleon-2.0-RC4-r684-bin/i386/boot0 \ May need these if you have to recover Chameleon installation.
While not needed for Chameleon to operate, copy also the initialĪnd 2nd stage boot code images to the installer file system. Volumes/Hackintosh\ Snow\ Leopard\ Install\ Disk ~: $ sudo install -o root -g wheel -m 644 ~/Desktop/Hackintosh/Chameleon-2.0-RC4-r684-bin/i386/boot \ The installer file system shouldīe available at /Volumes/Hackintosh Snow Leopard InstallĪnd then copy the final stage of Chameleon boot code to the Of the 1st partition of the installer disk. ~: $ sudo dd if=~/Desktop/Hackintosh/Chameleon-2.0-RC4-r684-bin/i386/boot0 of=/dev/disk2 bs=440 count=1Īnd then let’s install the 2nd stage boot code at the beginning The initial boot code to the master boot record of the installerĭisk. Next few steps are also documented in the fileĭoc/README under Chameleon directory. ~/Desktop/Hackintosh/Chameleon-2.0-RC4-r684-bin.įirst, unmount the installer disk so that we can write directly ~/Desktop/Hackintosh thus creating directory See more about Chameleon in the posting Create
Loader which loads the Mac OS X kernel in an environment thatĮmulates real Mac.
The installer won’t boot on a generic PC without a special boot ~: $ sudo chown root:admin /Volumes/Hackintosh\ Snow\ Leopard\ Install\ Disk/.fseventsd/no_log ~: $ sudo chmod 400 /Volumes/Hackintosh\ Snow\ Leopard\ Install\ Disk/.fseventsd/no_log ~: $ sudo touch /Volumes/Hackintosh\ Snow\ Leopard\ Install\ Disk/.fseventsd/no_log ~: $ sudo install -o root -g admin -m 700 -d /Volumes/Hackintosh\ Snow\ Leopard\ Install\ Disk/.fseventsd ~: $ sudo rm -rf /Volumes/Hackintosh\ Snow\ Leopard\ Install\ Disk/.fseventsd Mark the file system so that fseventsd doesn’t keep any logs ~: $ diskutil rename /dev/disk2s1 "Hackintosh Snow Leopard Install Disk" System is available at /Volumes/Hackintosh Snow Leopard ~: $ sudo diskutil enableOwnership /dev/disk2s1 ~: $ diskutil mount /dev/disk2s1įix the installer mountpoint so that file can be owned by The installer file system shouldīe available at /Volumes/Mac OS X Install DVD. Be sure to adjust theĭevice names according to your system as you can potentiallyĭestroy your installation big time if you screw up here. To the 1st partition of the installer disk. Now we use dd(1) command to clone the 3rd partitionįrom the retail DVD that holds the Mac OS X installer and write it Write down also the device name for the installer disk. In the guide we’re using /dev/disk1.Īttach the newly created empty disk image. The command will print the device name for the disk. ~: $ hdiutil attach -nomount -noverify ~/Desktop/Hackintosh/Mac_OS_X_10.6_Snow_Leopard.dmg ~/Desktop/Hackintosh/Mac_OS_X_10.6_Snow_Leopard_Hackintosh_Install_Disk.dmgĪttach the Mac OS X 10.6 Snow Leopard retail DVD image. ~: $ hdiutil create -size 6500m -layout MBRSPUD -fs HFS+ \ Soon we’ll wipe out this partition, though. The disk image willīe initialized with MBR partition scheme and one partition isĬreated onto it.
Megabytes will hold the installation partition. This guide) so you must create it from your physical DVDĬreate a disk image file for the installation media. ~/Desktop/Hackintosh/Mac_OS_X_10.6_Snow_Leopard.dmg in
For sake of simplicity, we use an image of the Mac OS X Installation running on a genuine Mac or Hackintosh with root shellĪccess. The operating system to a generic PC that is supported by the The resulting disk imageĬan be written onto a USB storage media and then used to install Installer disk image from Mac OS X 10.6 Snow Leopard retail DVD inĪ generic way.
In this posting I document the steps needed to create an