You’ve picked your Kalyway or iATKOS OSX86 distribution, made all the preparations, so now it’s time to actually install it!
As a side note; as with my other OSX86 posts this isn’t intended to be a comprehensive walk-through. Instead I want to explain some of the things I learned and let you know more about the process. This way you’ll be in a better position to make the right choices yourself as you learn what’s actually happening.
This post is written from the point of view of using Kalyway, but if you’ve chosen iATKOS then don’t worry. The differences are minor and easy to figure out.
Warning!
Unless you’re very lucky it will take several install attempts to get a working system. I strongly recommend you try one package at a time until you find what works. E.g find the working CPU packages before you start selecting Video/network packages. Also be sure to keep track of which packages you have tried.
Beginning Setup
Place your patched Leopard DVD in the tray of your DVD drive, make sure “Boot from CD” is enabled in your BIOS, and restart your machine. When the machine restarts you should hear the DVD start to spin and see some text from Darwin, the OS X boot loader. After this you’ll be at a command prompt ready to start the setup.
(Note: All commands should be entered without “quotes”).
If you’re using Kalyway at this point you can type “vanilla” to test whether your hardware will run with an unmodified kernel. Mine doesn’t so I can’t tell you what a successful test looks like, but if your machine reboots itself the test failed
At the command prompt you can press enter to continue normally, or “-v” to switch to verbose startup where each step of the process is displayed on screen. Verbose is especially useful for diagnosing “Kernel Panic” problems, a situation where the kernel encounters an error during startup. We’ll talk more about this later.
Disk Preparation
After the initial OSX startup screens the first task is prepare the partition or disk where you’ll be installing OSX. This is done by using Disk Utility which is in the “Utilities” menu bar. If you are setting up a dual boot machine I’ll assume you’ve already created a separate partition as described in the preparations post and you can skip the next paragraph.
If you’re installing OSX on an empty disk then you must first create a partition table for the disk. The partition table is what defines the layout of your disk and there are two choices, “GUID” (Globally Unique Identifier) or MBR (Master Boot Record) table. You can think of a GUID table as being Mac-only so if you plan to dual-boot either now or later then you must choose an MBR table. To create a new partition table select the “Partition” tab and choose a new scheme (1/2/3/etc partitions). Make sure the format is “Mac OS Extended (Journaled) and apply the changes. Note: This will erase all data on your disk. If you are setting up a dual boot follow the next paragraph instead.
If you’re installing onto an existing partition then you will need to format the target position to the Mac’s HFS+ (Mac OS Extended, Journaled) filesystem. If you’re reinstalling OSX make sure you still do this to prevent old files causing conflicts. To format a partition first select it the left hand list. The names you see here are likely to be entirely different from those you see in Windows/GParted etc so verify the information at the bottom of Disk Utility is as you’d expect. To perform the actual format click the “Erase” tab, choose a Volume Format of “Mac OS Extended (Journaled) and select “Erase”.
After you’ve got a freshly formatted Mac OS Extended partition, you can exit Disk Utility and return to the installation program.
Package Choices
Proceed through setup and look for the “Customize” button since this is how you select the packages needed to get OSX running on your PC. The exact packages you see will depend upon whether you’re running Kalyway or iATKOS, but they share a lot in common.
Vanilla kernel or not: You first package choice depends on whether you are able to run the Vanilla/Stock kernel or not. Only Core Duo chips have a chance of using the vanilla kernel. As mentioned above you can test this with the Kalyway DVD before starting setup, but with iATKOS you will have to try it and see.
If you choose the vanilla Kernel make sure you also choose the vanilla ACPI. Similarly, if you CANNOT run the vanilla Kernel, make sure BOTH the Kernel and ACPI packages are unchecked.
CPU Patches: There are two other packages that may be required to get a working machine; SSE2 and CPUPowerManagement. These are for CPUs which do not support SSE3 instructions, and for motherboards where the power management interface is sufficiently different that it causes problems.
In my experience the CPUPowerManagement package is often the cause of trouble for some machines. Don’t worry, if you need to disable it by installing should be able to fix power management later.
Driver Packages: Although there’s a good selection of drivers for ATI/NVidia cards, the selection of network and sound drivers are very sparse and you’ll likely have to install additional kext files after setup. Try and pick the correct package for your ATI / NVidia card based upon whether it’s desktop/laptop, and the amount of memory. My Geforce 8800 works perfectly with NVInject. Multi-monitor and hardware acceleration function fine in OSX (I was surprised, but delighted).
Boot Packages: To boot the system you will need a package that handles whether your drive is uses an MBR or GUID partition scheme. Some OSX86 installations will set this automatically for you, with others you must choose. If you are able to choose you must pick the package that corresponds to your choice in Disk Preparation. For most people, this will be MBR.
Installation and on!
At this point you should have selected all of the appropriate packages so continue through until setup begins. After setup completes your machine will reboot and you will end up with one of several results.
The next post in this little series will cover these problems in more detail and show how to achieve the result you want but I’ll briefly explain what you may see after install and what it means.
1) Your Windows/Linux login screen
You have a boot partition on your disk with another OS and this is being used instead of OSX while booting. As far as I know this can happen with iATKOS since it leaves your existing boot choice intact. To fix this you need to either configure dual-booting on your existing OS, or flag your OSX partition as the boot partition using something like GParted. When you have done this you may still encounter #3 or #4
2) The Leopard Startup video
(or if you left your machine for sometime, a screen which asks to help identify your keyboard)
This is great! It means your computer can boot and run OSX!
There’s a catch however - If you’ve just completed installation then the chances are your machine booted from DVD and the OSX installer found and booted your OSX disk partition. When you eject the disc you may still encounter #3 or #4.
3) A black screen with a blinking cursor or error message at the top left corner
This can happen when your OSX partition cannot be booted from. In my experience this can occur with Kalyway, or when trying to setup a dual-boot machine. To fix this you usually need to repair/set information on whichever partition you wish to boot from (e.g. Vista/OSX).
GParted will allow you to make this choice by setting the flags on a partition. If you find you can no longer boot from your original partition then you may need to repair the information it contains. How to do this depends on your OS, for Vista pop in your setup DVD and choose “Repair” during setup.
4) A machine which boots and either before or during the Apple startup reboots, then does this continually in a loop
This signifies a hardware incompatibility during the boot process. If your machine reboots before the Apple logo then it’s likely to be a kernel error, e.g. your machine cannot run the vanilla kernel. If it reboots during the Apple logo then it’s a Kernel Panic. Kernel Panics are when the kernel encountering a fatal error during startup.
If you enter -v at the boot prompt then each stage of the boot process will be displayed and if a kernel panic occurs the problem kext (Kernel Extension) will be displayed. This should help you identify the package involved (e.g. PowerManagement).
–
Good luck, and don’t be disheartened if things don’t work the first time. It took me three or four attempts and a lot of Googling before I was rewarded by the Leopard startup video - and it then took several more hours of googling before I had things booting from disk instead of DVD




2008/05/09, 17:12
Hey. He is right. it took me 147 times to get it right. actually i’ve been experimenting with different versions. if you have a laptop, you better off use iATKOS if you want your battery meter in the corner.
2008/05/10, 06:09
I’m planning to build a Kalyway at the end of this month, and I’ve scoured Google for the most compatible parts (available in my area, that is). Got these:
CPU: Intel E2180 (Pentium Dual Core)
Mobo: Intel DG31PR or Asus P5KPL-VM
Video: 7300 GT 512 MB DDR2
I’m downloading the Kalyway 10.5.2 right now - your guide’s been very helpful in the process. The last time I attempted to build a Mac clone was during the JaS 10.4.8 days
PS I followed you on Twitter, chief
2008/05/23, 11:32
I did my install a while back so im triple booting, im curious to see how much you actually use this os once everything is ready to go. I find myself just booting into vista even though my osx install is vanilla and runs perfectly. I guess to each its own. iPhone development seems to be the only purpose it serves me.
2008/06/26, 17:36
Any thoughts on if I get to the Apple logo, but the throbber just keeps going forever? I tried booting with -v option, but searching for the error I received yielded no helpful information.
2008/06/26, 17:55
What’s the error?
2008/07/03, 05:17
I have the 4th problem mentioned, reboot loop at Apple logo… Pls help me fix the problem. Thanks!
2008/07/05, 00:33
well i really appreciate your guide, i have come across a lot of guides but yours is i guess the most systematic. Your guide was the exact what i was looking for, i havent installed os X but it seems jst a few steps away,especially coz i have a c2d and intel mobo(so vanilla will probably work). im currently installing kalyway and will search for all the kexts.
(i might have a problem finding my lan device id bcoz in vista there is no device instance thing)
however i have 1 question to ask to all thoose who have been runing mac on PC. i’ve hrd that iMAC really takes a lot out of even a 256 MB RAM. have you ppl experienced any speed improvements compared to ur other OS
2008/07/05, 00:40
i realized my question wasnt clear, i meant iMac can run smoothly even on a 256 mb RAM, so there shld be an improvement in speed compared to ur Microsoft OS.