This is a short step-by-step guide on installing the Apple OS X operating system on a regular PC with AMD CPU.
Even though the core of this installation process is explained with detail in munky's installation thread, many people seem to have difficulties creating and booting from their custom boot CD. This text will try to close this gap by including detailed descriptions of both the booting process and creation of the Boot-132 CD for AMD based PCs.
This guide is not a general introduction to the OSx86 project and therefor does not include any further detailed information or descriptions of technical terms and lingo.
Please visit http://wiki.osx86project.org/ and http://www.insanelymac.com if you want to learn more.
1.- Readers are required to research the web (primarily the insanelymac forum) to find out which of their hardware components are compatible and which aren't.
Knowing which files you'll need in order to fix/enable your hardware's functionality is a must. I recommend gathering and storing any files, applications or fixes you may consider important in advance.
2.- If you have successfully installed one of the many OSx86 "releases", then I recommend keeping a full copy of it on a different drive. Chances are, you already have all the system files you need for your retail installation.
3.- Read munky's excellent retail installation guide for a detailed description of the process and it's huge advantages compared to pre-patched versions. LINK to Munky's Guide.
4.- Good common sense and patience!
5.- Access to a working OS X system if you need to create the ISO file. (Guide for windows pending).
The following skills are recommended:
- Basic PC hardware knowledge. i.e. knowing how to configure the BIOS, setting up and configuring your storage drives, etc.
- Basic unix shell (terminal) commands.
This guide was written with the intention of offering users a clear step-by-step explanation of the boot CD creation, the booting process as well as to lay down a proven method of installation for AMD based PCs following munky's tutorial.
I have tried to make the text as clear as possible but I'm sure many of you will still run into problems. If something does not work for you, then please go back and make sure you have followed the instructions to the point. Unix commands are case-sensitive, so misspelling a terminal command will lead to errors.
Please remember: this is not a MS Windows installation and there is no guarantee that it will work!
I encourage you to read as much as you can and to experiment instead of immediately posting a typical "My hardware is ABC, please tell me how to install OS X on it".
The (modified) Boot-132 to boot retail DVDs.
Warning: Fiddling around a computer can be hazardous. Ask a knowledgeable friend for help if you need to open your PC case.
I will not take responsibility for any harm done to you or your hardware or anything else in this process.
This text is based on the hard work and discoveries of members of the OSx86 community. I wish to express my gratitute to all of you for making this dream come true! I will refrain from mentioning any names (except for munky's for obvious reasons) here to avoid leaving anybody out.
You are all important in my book!
What we will basically do here is put together a Boot-132 CD for AMD which will enable you to install OS X from a retail DVD. Once the OS X installation is done, we will use the EFI partition of the target drive as a boot device as described in munky's tutorial.
Part One - Gathering the pieces of the puzzle (or making your own HCL)
The number one reason for writing the first post in our insanelymac.com forum is not having a clue of how compatible your hardware is with the OS X operating system. It is not always easy to find information (especially if you're using uncommon hardware) but chances are that there's something at least similar to your hardware that you can use as a reference.
Get a sheet of paper and write down:
- the list of your hardware specifications: mainboard model, onboard chips, video card, ethernet lan card (NIC), wifi card, etc.
- if your devices work "out-of-the-box" (otb) or if you need to modify system files or install additional files to get them to work. (search the web)
I suggest you prepare a directory where you will put all of the files you need classified by type.
Download all of the files required to get your hardware working. If you are already running some version of OS X, then make sure you keep a copy of it somewhere for later. Chances are, you might need some kext file from your Extensions folder.
Tip: I recommend using the forum's integrated search function and/or using Google with the "site:" parameter, to restrict the search to a specific website. For example:
site:insanelymac.com nvidia 7800GS
Part Two - Creating a Boot-132 CD for AMD
Creating a Boot-132 CD for AMD requires you to download a pre-existing ISO file and editing it to fit your needs. There are applications/scripts that create these ISO files from scratch but they will fail to boot on AMD machines (I believe a fix is in the works).
- Download and extract the attached ISO file "orig_boot-132.iso.zip".
- Double click the ISO file to mount it (a new device named BOOT-DFE-146-BUM will appear).
- Open a terminal window and log in as superuser. We will use this window to enter the following commands.
- Create a folder named "ISO" on your Desktop and copy all of the contents of the iso (BOOT-DFE-146-BUM) file into it.
Replace "your_user" with your username of course.
cp -R /Volumes/BOOT-DFE-146-BUM/ /Users/your_user/Desktop/ISO/
- Unmount the BOOT-DFE-146-BUM device from the Finder (click the little arrow).
- Download the voodoo kernel and copy the mach_kernel.voodoo and System.kext (included in the voodoo package) files onto your Desktop. Link to voodoo kernel site.
- Create a folder named "Extensions" on your Desktop and copy the kext files you need (or think you need) into it.
I recommend putting only those kext files you absolutely need to get your system working at this point. Simply copying your whole /System/Library/Extensions/ contents will probably not work.
- Your kext files need this in the Info.plist file:
<key>OSBundleRequired</key> <string>Root</string>You can edit that file by right-clicking a kext file and selecting the "show package contents" menu. Then browse into "Contents" and right-click the Info.plist file and select the "Open With" menu to open it with the Textedit application. Scroll all the way down and see if the OSBundleRequired key is in there. If it is, then change whatever parameter is in between the "string" tags so that it says "Root" (see above code). If the key is missing, then simply add it before the last lines:
</dict> </plist>Close and save the file (make sure the file is in plain text mode!).
- Make the target "initrd.img" file writable by entering:
chmod 777 /Users/your_user/Desktop/ISO/initrd.img
Before making changes to the initrd file, see if you have enough space in it to fit your extension kexts and voodoo kernel.
If not, you can enlarge it by entering the following command (this example uses 100MB, but you can up it to what you need). Keep in mind, that the larger your initrd.img file is, the longer the CD will take to boot! So try to keep it small.
hdiutil resize -size 100MB /Users/your_user/Desktop/ISO/initrd.img
- Mount the initrd.img (from your ISO folder) by double clicking it (a new device named "initrd" will appear in the Finder).
- Copy the voodoo kernel file into the root of "initrd"
cp /Users/your_user/Desktop/mach_kernel.voodoo /Volumes/initrd/
- Copy the 10.5.5 System.kext file into the Extensions folder of "initrd"
cp -R /Users/your_user/Desktop/System.kext /Volumes/initrd/Extra/Extensions/
- Copy the contents of the "Extensions" folder (on your Desktop) into "initrd":
cp -R /Users/your_user/Desktop/Extensions/ /Volumes/initrd/Extra/Extensions/
-Unmount the "initrd" image by pressing the little arrow in the Finder.
- Create your new Boot-132 ISO file. This step will create a new file called "NEW.iso" on your Desktop.
hdiutil makehybrid -o /Users/your_user/Desktop/NEW /Users/your_user/Desktop/ISO/ -iso -eltorito-boot /Users/your_user/Desktop/ISO/isolinux.bin -no-emul-boot
- Burn the NEW.iso file to a CD. I recommend using CD-RWs for experimenting.
- Find and write down your retail disk's UUID. Insert the retail OS X DVD and open the Disk Utility app. Right click the cd on the left side of the panel and select "Information".
Write down the UUID number on your paper sheet (you might need to resize the window in order to see the very long number).
For Windows Users: I still haven't researched this for windows but I promise to do it sometime today.
Part Three - Booting the Boot-132 CD
- Insert the Boot-132 CD in your drive and boot your computer from it. It will display some text and a bunch of "progress dots". At some point you will probably get a message that a "com.apple.Boot.plist" was not found. Ignore it.
- Press F8 and then the ESC key. You will be presented with the boot device selection menu.
- Swap your CD for the retail install DVD and wait until the lamp on your DVD-Rom goes off. Then press ENTER. (Your Retail Disk should show up as the booting device now)
- Enter these parameters at the darwin prompt:
rd(0,1)/mach_kernel.voodoo -v -legacy boot-uuid=YOUR_INSTALL_DVD_UUID_HERE
At this point your retail dvd should begin to load and start the installation process. If you get any errors like "still waiting for root device", etc. then you probably need other/additional kext files on your Boot-132 CD or you did not enter the UUID code correctly.
Part Four - Installing OS X
- Once the installation is in progress and you have selected your language, open Disk Utility and partition your target drive using the GUID option.
- Once the partitioning is over, right click the newly created partition for OS X and select "Information" from the pop-up menu to get the UUID. Write down the UUID on a sheet of paper.
- Begin installing OS X on your drive and reboot with your Boot-132 inserted after it's done.
- Press F8 and ESC and this time select your target partition as a boot device (Usually 80 if it is the first drive). If you did not get your boot device right (you should see the name of the partition in the list), then just press ESC again and retry with a higher number.
- Enter this at the darwin prompt:
rd(0,1)/mach_kernel.voodoo -v -legacy boot-uuid=YOUR_LEOPARD_PARTITION_UUID_HERE- Your system should load OS X now.
Part Five - Installing the EFI Bootloader
Follow munky's instructions to find out how to configure the EFI bootloader. LINK to Munky's Guide.
- This is only a first draft and may contain some errors. Please let me know if you find any.
- I will be uploading my custom ISO file for AMD here soon.
- Please DO NO include this text in your replies.
- I will be translating this into german and spanish soon (PDF).
- I will add post-installation details.