Tutorial: Install OS X.3 w/o Darwin or special disk images

[ARCHIVED] About PearPC, a mostly obsolete PPC Mac emulator for Windows and Linux to run MacOS X 10.1 up to 10.4. Using QEMU is now recommended.

Moderators: Cat_7, Ronald P. Regensburg

Locked
ivanadrive
Student Driver
Posts: 20
Joined: Thu May 20, 2004 5:41 pm

Tutorial: Install OS X.3 w/o Darwin or special disk images

Post by ivanadrive »

Hope you find this useful :D

Installing Mac OS X "Panther" on PearPC for Windows
===================================================
Prerequisites
-------------
1. Latest version of PearPC (JITC version is recommended).
Download here: http://pearpc.sourceforge.net/downloads.html
2. A disk image that will be used as virtual hard disk.
Download here: http://pearpc.sourceforge.net/downloads.html
The 3GiB disk image will do - unless you want a full install of all OS X files, which is not recommended).
3. PearPealer, a GUI configuration tool for PearPC (You could also try PearGUI).
Download here: http://updates.luckyy.com/pearpeeler01.exe
4. ISO images of the Apple Mac OS X "Panther" installation disks (for a basic install only disk 1 is needed).
Download some images from the net, or get your hands on some original retail disks (those that come with a Mac have a hardware specific version and might not work with PearPC), and make ISO images with software like Alcohol 120% or Nero Burning ROM.
5. An unarchiver capable of unarchiving Zip and BZ2, WinRAR from Rarlabs is recommended.
6. This tutorial was written for Windows XP Professional, and might not work on other versions of Windows.

Setting up PearPC
-----------------
1. Create a new folder in "c:\Program Files" called "PearPC".
2. Create a new subfolder in folder you just created and copy the contents of the PearPC archive you've downloaded in the new subfolder. I suggest you give it a name like "BIN" + version number of PearPC, in that way you can easily add newer versions without having to overwrite the previous one (PearPC is still in early stages of development).
3. Copy "ppccfg.example" from the "BIN" folder to the "PearPC folder" and rename it to "ppc.cfg". This will be the configuration file. By keeping it separate from the rest we can update PearPC without losing our settings
4. Create a subfolder "HD" in "PearPC", and unarchive the disk image to it.
5. Create a subfolder "CD" in "PearPC", and move or copy the OS X ISO file(s) to it.
6. Install PearPeeler by launching the installer.
7. Start PearPeeler.
8. Set the locations of "ppc.exe" and "ppc.cfg" in the "General" tab.
9. Set the locations of the hard disk image (in "HD" subfolder) and the ISO file (in "CD" subfolder) of OS X installation disk 1 in the "Disk" tab.
10. Click on the "Apply" button to save the configuration and then on "Run" to launch PearPC

Installing Mac OS X "Panther"
-----------------------------
Once PearPC is started the OS X Installer should boot, this can take a while. If nothing happens check the settings again.
1. After the boot, a window "Install Mac OS X" will appear. Now press [F12] to activate the mouse and go to the "Installer" menu (top left corner of the screen next to the blue Apple icon). Select "Open Disk Utility..."
2. Select the disk "3.0 GB EIN GEBUESCH!", then go to the "Partition" tab and create a partition with "Mac OS Extended (Journaled)" format. When that's finished, click on the red button in the top left corner of the window to close it.
3. Start the installation in the "Install Mac OS X" window, and follow the instructions.
4. Once you're on the "Select Destination" part of the install, you should see the partition you created earlier. If it has a green arrow, everything is ok, if it has a red sign, then you need to redo the partitioning and try to install again.
5. Once you've selected the destination, the installer may say you don't have enough space. If that's the case, click on "options" and deselect some (or all) of the options and continue the installation.
6. Wait, wait, and wait some more until PearPC quits (when the installer reboots, PearPC will quit). This can take a very long time (at least 2 hours) depending on the install options and the speed of your machine. At certain points it might look as if PearPC has frozen, but that's perfectly normal, just be patient.

Post install procedure
----------------------
After PearPC has quit, we need to make some changes to the partitions to make OS X boot from the disk.
1. In PearPeeler, go to the "Prom" tab and type "-s" in "Machine Args.", you can safely remove "-v" if you like.
2. Click on the "Run" button.
3. In PearPC, wait until the command prompt appears (it ends with a "#") and type "pdisk" [enter].
4. Type "e" [enter] and enter "/dev/disk0" as name of the device.
5. Type "p" [enter] to view the partition table, we need to move the 3rd patition to 2nd in order to be able to boot.
6. Type "r" [enter] to reorder the partition, enter "3" and then "2".
7. Type "w" [enter] to write the the modified partition table to the disk.
8. Type "q" [enter] untill your back at the command prompt and type "reboot" [enter] to reboot PearPC, i.e. quit.
9. Finally, remove the "-s" in "Machine Args." and set "Boot Method" to select, the run PearPC again.

Tips
----
1. On the "Screen" tab of PearPeeler, set the "Video Mode" to 1024x768x32 (true-color).
2. On the "Screen" tab of PearPeeler, set the "Video Redraw Mode" lower. This gives a much more responsive mouse, but at the cost of a slower speed, since the redraw will eat more CPU time.
3. On the "Memory" tab of PearPeeler, increase the size of RAM. Note that Windows XP needs about 256mb, the rest can be assigned to PearPC (minimum 128mb).

Additional credits
------------------
To STKD for the post install procedure.
Locked