Saturday, January 24, 2009

Emulate a Macintosh on a PC

PearPC image for PearPC with full updates to 10.2.8 Jaguar OS X.

3c90x 3Com NIC drivers and configuration.
Very complete descriptions for setting up PearPC on your computer.
Compatible with PearPC on Windows, Linux and Mac (You can't run Jaguar on an Intel Mac without PearPC or QEmu)

The image may be useful for QEmu, or transferring back to a real Mac.

50Gig hard disk compressed and optimized for Sparse file storage.

Please see ReadMe.rtf within for full details.

Thanks to CasseeOSX for the original.

I forgot to mention the user name and password.
UN: "User" PW: "user" though that is made pretty clear by the login hint,
if you should find the need to log in manually.

The "user" password is of course useful for sudo in Terminal too.

PLEASE NOTE: When attempting to open this ISO it will say its corrupted. Its fine, just use it with PearPC. (tested x2!). This has no effect on my install.
I will post DMG2IMG which makes it easy to mount images as there is no dmg support.
Use this iso in pearpc to install OS X on your Linux/Windows PC.
I was going to preinstall but this makes the dl faster. I will preinstall on request! REMEMBER SEED!
Install Directions:
Download the pear pc net package
To start in windows click the 'Start APE in Windows.bat' file.
Now use the RAM and screen resolution and processor your prefer (G4 is best).
Don't choose any network cards yet. Now create your own .img with the New HD Image.
Under image files IDE 0 Master use the newly created .img image. Change auto detect to 'HD Image', for IDE 0 Slave choose the osx10411.iso you have downloaded and choose CD Image!
Once, you install use the RTL8139 network card and your set. For more detailed tutorials:(I like this one.)(This one is sort of the same as above but for XP)
Offical Guide:
A good one for the PearPC Control Panel:
Good wikiHow:

Some tutorials are for Panther but should work all the same.

Welcome to Macintosh OS X
(v10.2.8, Jaguar)

The package you have downloaded includes a hard drive image of Mac OS X 10.2.8 (Jaguar) pre-installed and configured for operation in a PPC system emulator. Primarily this emulator is likely to be PearPC, but systems such as QEmu are also becomming capable of running images such as this one.

The image provided is compressed using GNU bzip2 compressions, since this form is easily accessible from Windows, Mac and Linux systems, as well as many more exotic operating systems. While the commands to extract the original file with GNU tools are quite convoluted the .bz2 can be extracted with WinRAR on Windows systems, or with StuffIt Expander on Macs among many other advanced graphical archive handelers.

The extracted image produces a 50 Gigabyte hard drive image which is already partitioned, and formatted to boot into Jaguar, and optimized both for effeciant compression via bzip2 (or any other compressor you prefere for your own use) and for use with "sparse" files. Consequently, the 50 Gig file can be transmitted at a mere tenth of that size.

A "sparse" file, enables a file to take up far less space on your disk than it's total size, provided much of the space in the file is empty. This means, that with a hard drive image such as this, the file will take up more space on your system the more you use it... up to the complete 50 Gig, but need not occupy anywhere near that amount of space initially.

Sparse files are supported in NT5 and later versions of Windows with the NTFS file system, on Linux e2fs or later, and on MacOS with Mac Extended filesystems HFS+... but none of these OS typically provide an in-built method of producing, or managing such exotic files from the graphical UI. Each have command line programs which are either provided with the OS, or available as seperate downloads, which can do the task. This information, however, is for you to find out. There are two many possibilities to list them all here.

Configuration of PearPC is maintained via a plain text file which is passed to the main executable when it is run. This allows you to keep many configurations of Mac OS X and / or other PPC operating systems on your machine and switch between them just by loading the program with a different configuration file.

Here is a commented version of the configuration I used with this hard drive image.
# The resolution you want to boot in prior to OS startup.
ppc_start_resolution = "640x480x15"
ppc_start_full_screen = 0
# Increase redraw interval if performance is slow, decrease to improve user responsiveness.
redraw_interval_msec = 40
pci_ide0_master_installed = 1
# You can set slave to 0 if you do not wish to use a CD/DVD drive, or second hard drive.
pci_ide0_slave_installed = 1
# pci_ide0_master_image = "/disks/10.2(Jaguar).img"
pci_ide0_master_image = "C:\Disks\10.2(Jaguar).img"
pci_ide0_slave_image = "E:"
pci_ide0_master_type = "hd"
# If you are using a second hard drive image, you should set this to "hd".
pci_ide0_slave_type = "cd"
# Drivers are installed for 3c90x 3Com network card.
pci_3c90x_installed = 1
# Drivers are available for the Realtek rtl8139, but are not provided.
pci_rtl8139_installed = 0
pci_3c90x_mac = "de:ad:ca:fe:12:34"
pci_rtl8139_mac = "de:ad:ca:fe:12:35"
# This configuration grants 1.5 Gigabytes of your system memory to Jaguar.
# The figure is in hexedecimal, so 0x20000000 would be half a gig, 0x10000000 256Meg etc.
memory_size = 0x60000000
# It's best to leave these CPU codes in the file, and comment out all but one.
#cpu_pvr = 0x00088302 #G3
cpu_pvr = 0x000c0000 #G4 generic
#cpu_pvr = 0x000c0201 #G4 traditional
pci_usb_installed = 0
# Strictly speaking the following line should point to your "video.x" file using the full path.
prom_driver_graphic = "video.x"
prom_env_machargs = "" #Possible useful args include -s for single user mode, or -v for verbose diagnostic of boot failers.
prom_env_bootargs = ""
prom_bootmethod = "auto"
key_compose_dialog = "F11"
key_change_cd_0 = "none"
key_toggle_mouse_grab = "F12"
key_toggle_full_screen = "Alt+Return"
nvram_file = "nvram"

The "video.x" file comes as part of the PearPC package and is essentially the BIOS extension for the virtual graphics card.

The "nvram" file will hold various settings which a real Mac holds in it's Non-volatile Random Access Memory, which on older Macs was called Paramitable RAM. This is similar to the CMOS settings on a PC, and is not vital for the operation of the machine, but is required to accurately simulate it.

To get PearPC on the internet, or your local area network with this image you need to set up OpenVPN on your host system, link it to your main TCP-IP NIC, and then configure Jaguar to utilise your network.

To install OpenVPN, check out the downloads at Windows Vista users had better stick to the newer OpenVPN 2.1_rc15 release, and install and configure using "Run as Administrator", as it plays nicer with UAC.

Configure the new "TAP-Win32 Adapter" like this, in the IP V4 settings... use the prefered and alternate DNS servers you have set on your main network adapter, if they are not on DHCP.

In your main LAN connection NIC, open the properties, switch to the sharing tab, tick "Allow other network users to connect through this computer's Internet connection" and fill in the name of your OpenVPN connection. (I called mine "TAP-VPN" since the name it was given was really not very descriptive)

Since I run a VLAN at home, my router provides DHCP services to each system in the house, and acts as a DNS server. If you run a router on your home network, this will probably be the same for you, and the image may well work out of the box.

If you have to configure Jaguar to work on your network, open "System Preferences" from the dock, select "Network", and change to the 3c905 / 3c90x network connection. Change it to operate manually, and set it as follows:-
Configure IPv4: Manually
IP Address:
Subnet Mask
Default Gateway:
If you have to provide DNS, use the one provided by your ISP... from Windows, this can be found using the "IPConfig" command from an NT command prompt. (That's Start -> Run "cmd.exe")

I hope very much, that this file share is of use to you. I hope you will share it with others, and if you like using Mac OS X, I hope you will acknowlege Apple for their fine work by purchasing a copy (at least, if not a whole Mac). Please bear in mind that this OS was released in August 2002, and thus slightly pre-dates Windows XP. Apple have made many improvements to their OS since then.

I should also like to thank caseeosx from TPB for his share "Mac OS X 10.2 Pre-Installed" on which this is repackaged, and re-distributed version, based on comments left by TPB users, and percieved uses of the share.

Please re-seed for others, my ISP caps uploads.

Bridging for Windows XP/Vista

From PearPC

This guide will allow you to connect to the internet in Mac OS X or PowerPC Linux Distrubutions by using a DHCP IP Address from an external router under Windows XP/Vista.


  • You must be running Microsoft Windows XP or Microsoft Windows Vista to use Network Bridging.
  • Your PC must not be running the Internet Connection Sharing (ICS) service. Note: It is now possible to use Internet Connection Sharing together with Network Bridging. For more information, please read the article Network Bridging and ICS for Windows XP/Vista.
  • Your PC or Local Area Network (LAN) must be connected to an External Router that provides a DHCP IP addressing service.
  • The most recent OpenVPN Version.

Installing the OpenVPN Tap Interace

Open the OpenVPN application, and deselect all other options apart from the Tap-Win32 Virtual Ethernet Adapter in the installation menu. If a notice about Windows Driver Signing appears during the installation, click Continue Anyway.

After the installation, a new LAN connection will be installed. It will be named something like "Local Area Connection 2", but you can rename it to anything you like if you so desire.

Creating the Network Bridge

a) In Windows, open Control Panel, and navigate to Network Connections.

b) Hold down the Ctrl (Control) key on your keyboard, and select both your real LAN connection, and the recently installed Tap-Adapter (called something like "Local Area Network 2" if you decided not to rename it). Right-click the Tap-Adapter and select the "Bridge Connections" option.

Wait a few moments and a Network Bridge should be created and activated by Windows. It should be assigned an IP address from your router. If not, check to see that the router has:

i) recognised a new MAC address connecting to it.

ii) a MAC Address Filtering service functioning.

iii) a DHCP IP addressing service enabled.

Configuring the OpenVPN Tap Adapter

a) Open Network Connections as instructed in the previous step. See "Creating the Network Bridge" (above) for the specific instructions.

b) Right-click the Tap-Adapter (making sure not to touch the Network Bridge), and select "Remove from Bridge". Do not configure any options for the Tap-Adapter or Network Bridge.

You should be left with your real LAN connection(s), a Network Bridge, and the Tap-Adapter.

Enabling the Realtek 8139 Network Card

a) Open your PearPC Configuration file.

b) Make sure the following lines are present:

  pci_3c90x_installed = 0
pci_rtl8139_installed = 1
pci_3c90x_mac = "de:ad:ca:fe:12:34"
pci_rtl8139_mac = "de:ad:ca:fe:12:35"

c) Save your configuration file, and close the window.

Note: Mac OS X 10.2 users cannot use use the Realtek 8139 network card. You must use the 3Com 3c90x network card instead. Make sure the following appears in your configuration file:

  pci_3c90x_installed = 1
pci_rtl8139_installed = 0
pci_3c90x_mac = "de:ad:ca:fe:12:34"
pci_rtl8139_mac = "de:ad:ca:fe:12:35"

Troubleshooting: if you get an "Opening TAP connection failed" error, it's because the Windows user running PearPC doesn't have enough privileges to enable the network adapter. You must run PearPC as an Administrator (either using Run as... or by loggin in with an admin user). If you don't have access to an admin account, consider asking your admin to install OpenVPN as a service and enable it for your user.

Starting PearPC and Establishing the Network Bridge

a) Start PearPC via the command line, Package, shortcut, or any other method.

b) Once the client OS (Mac OS X or a PowerPC Linux Distrubution) is displaying the final coloured desktop background (the desktop in Linux, the Finder in Mac OS X), add the Tap-Adapter to the Network Bridge.

Note: Whenever you start PearPC, you will need to add the Tap-Adapter to the Network Bridge. Currently, there is no way to have the Tap-Adapter automatically join the Network Bridge when PearPC is started.

Setting up Mac OS X

Note: Mac OS X 10.2 users must install drivers for the 3Com 3c90x network card before continuing with this tutorial. It is recommended that you use the 'Easy Install Kext Package' from PearPC@Sourceforge.

a) Open System Preferences, and click the Network icon.

b) If a window is displayed and says that a new port has been detected, click OK, and then Apply Now. If a window is not displayed, do not worry. Networking can function perfectly using the Built-in Ethernet device.

c) Open the properties of the installed network card (either the detected NIC or Built-in Ethernet device). Check that the IP address displayed is the same as your LAN IP settings. If it is not, and the address displayed is in the range of 169.254.*.*, then click the "Renew DHCP Release" button. Your LAN IP address should now appear, and remain the same everytime you start Mac OS X.

d) Open the main drive shown on the Finder desktop and open the Applications folder. Now open the Utilities folder, and select "Directory Access". Click the lock to make changes (you need to enter your Mac OS X password here). Hightlight SMB, and select Configure. Set your LAN workgroup here. Press OK, click the lock to prevent unauthorised access, and close all open windows.

e) Open System Preferences, and select the Sharing button. In the "Computer Name" box, change this to something shorter, like "Panther" (without quotes). Note: This step is optional, but necessary if you want to access Mac OS X Shared folders from Windows.

Connecting to the Internet

If you have successly completed the steps listed above, then the rest is simple.

Open Safari or whatever browser you choose to use. The Apple site should immediately begin to load its startup page.


i) Disable any firewalls and check to see if the connection now works. If yes, then create the appropriate firewall rules. Check by restarting PearPC.

ii) Is the IP address of the client within your LAN? After first-time configuration, this should remain the same. If not, click the "Renew DHCP Release" button.

iii) Check your console output. If it shows

 [io/rtl8139]  internal buffer wrapped around

disable your firewall for the time being and restart PearPC, making sure to add the Tap-Adapter when you see the final desktop background appear. If you are able to access your LAN and/or the internet, enable your firewall, and create the appropriate firewall rules.

PearPC and Network Bridging Procedures

After you have finished with PearPC, remember to remove the Tap-Adapter from the Network Bridge, otherwise networking will not be functional when you start PearPC later on.

Connecting to Windows from Mac OS X

a) Open System Preferences, and then select the Sharing button.

b) In the Services tab, tick the box for "Personal File Sharing" and "Windows Sharing".

c) Close the System Preferences window, and return to the Finder (desktop) screen.

d) Select Go from the Finder desktop screen, and choose Network. A window should appear, listing all computers on your LAN. If this occurs, select one of the computer LAN icons and skip ahead to part g). If no computers are listed, continue to the next step, part e).

e) Select Go from the menu bar (Finder desktop screen), and then choose the "Connect to Server" option.

f) In the Server Address box, type in:


If that does not work, try the following:


g) A new window should appear asking you for Network Identification Information. The hostname and workgroup/domain should already be entered for you. If it is not, add this information in the first and second boxes. Type your Windows password (if any) in the final box. If that is not accepted, simply leave the box blank.

Now select which Windows Share you would like to access. The share will have a shortcut displayed on the Finder desktop and in the network browser.

Connecting to Mac OS X from Windows

a) Start PearPC, making sure to bridge the Tap-Adapter when the desktop background appears.

b) Find out the Mac OS X IP address, if you do not already know it. To do this, open System Preferences, and click the Network button. The IP address is displayed in the text information.

c) In Windows, open My Network Places. From the left panel, select "View Workgroup Computers".

d) The Mac OS X computer should show up. Its hostname may be long or strange. This is due to the computer name being too many characters. To change this, edit the name in the Sharing section of System Preferences.

e) Select "Add Network Place" from the left panel. Click Next, Choose Another Location, and type in your Mac OS X IP Address or Hostname, followed by your Mac OS X Username, and public folder name. You should have something like the following:

 \\Mac.OSX.IP.Here\Mac OS X Username\Public

\\Hostname\Mac OS X Username\Public

Note: Entering the hostname instead of the IP address may not work, depending on the Mac OS X Hostname. See part d) to fix this. You may also be asked for your Mac OS X Username and Password. Enter this information as required.

That's it - Now you can access Mac OS X from Windows.

Note: It may be quicker or easier to access Windows Shares from Mac OS X, as sometimes accessing Mac OS X Shared folders and files can cause issues.

Setting up PearPC for Windows

(Last updated around January, 2009)


PearPC emulates a PPC Macintosh (G3 or G4) capable of booting Mac OS X, up to version 10.4 (Tiger).

Setting up the emulator is fun and easy! This is a setup guide for the special “redscorp” builds of PearPC, which is possibly faster and more feature-rich than other versions of the emulator. But before you begin installing, there are a few things that you need to assemble:

  • A copy of Mac OS X. You can use version 10.4 (Tiger) or earlier. You can use an OS X install DVD or CD, or a disk image that you've created or downloaded. The screenshots and instructions in this guide are of 10.4, although other versions are set up in a very similar way.
  • PearPC 0.5pr. This is the “redscorp” release of the emulator from March 29 of 2008. I have added the video driver and the (outdated) documentation from the official version to this archive. Check out this forum thread on for more information or to look for a newer build.
  • This guide uses a special version of the front-end PearPC Control Panel to set up the emulator.
  • A bootable 6 GB disk image.

Dealing with Mac OS X

It is much easier to install OS X on your emulated computer from an .ISO image, rather than from a physical OS X installation disk. In Windows, you can create an .ISO from your physical disk using something like MagicISO. If necessary, you can perhaps download a disk image somewhere. If you download a .TOAST image, just change the extension to .ISO. If you download a .DMG image, try using UltraISO to convert it to ISO.

Getting Started

Download PearPC and the control panel. Extract the emulator and the 6 GB disk image (the latter will take a while). Install the control panel.

Run the control panel. Select “New Configuration File” from the file menu. Click “continue” to begin the configuration setup wizard. On the first wizard screen, click on “browse” to locate your PearPC executable, which is contained in the redscorp archive. Redscorp offers four executables optimized for AMD and Intel processors, and one generic executable. Pick the one that best suits your processor. If you don't know which is best, perhaps consult Wikipedia's entries for SS2 (older processors) and SS3 (slightly newer processors). If you are still not sure which is best for you, maybe try the generic executable.

Your “Primary IDE device” will be the 6 GB disk image. Browse to and select it. The type should be “Hard Drive.”

Finally, assign some RAM to PearPC. The more, the better.

See figure one, below, for a look at this setup screen.

Figure One: Setting up PearPC

Click “continue” to move to the next screen. You don't need to change any of this right now. You might want to increase your resolution a bit, to make it easier to see the OS X installation screens (they might not scale down to fit a 640×480 screen). Make sure that the path to your video driver (video.x) is correct - it is located in the same directory as the redscorp executable. Note that setting a lower video redraw rate will give you smoother mouse movements, but a possibly slower emulation. Experiment with this at a later time if you find it necessary.

See figure two, below, for a look at this setup screen.

Figure Two: Still setting up PearPC

Click “finish” to move to the next screen. Give your configuration file a name and save it somewhere.

You will now be returned to the main control panel screen. You now need to identify your installation disk. Check “CD-ROM device is installed” and then “browse” to locate your ISO image. Finally, hit the green “play” button to boot the emulator.

Figure three: Selecting my installation disk image

Note: You must install your operating system onto the 6 GB disk image linked to at the beginning of the guide. The “create disk image” feature of the PearPC Control Panel will not create disk images that can be booted from. Booting from such a disk image will result in an ” invalid format (filesize isn't a multiple of 516096)” message.

Note: Occasionally, the PearPC Control Panel will return a “Runtime Error 76” and refuse to save or import any config files. If this happens, you must uninstall the control panel, delete the *.ini files remaining in the program directory (they are not removed by the uninstaller) and reinstall the control panel.

Installing Mac OS X

When the PROM boot-loader screen appears boot from the CD-ROM image (see figure four, below).

Figure four: Select the bootable partition

The OS X installer should start to boot. You will first be prompted to select a language. You will then see a splash screen looking something like figure five, below.

Figure five: Getting ready to install Mac OS X

If you are installing on to the bootable disk image linked to at the beginning of the guide, you will not need to partition it. Just follow the on-screen instructions to install OS X. Installation might take from thirty minutes to a couple of hours. to speed this up, you can do a “custom” install without foreign language files or extra printer drivers.

Figure seven: About to install OS X

Figure eight: OS X 10.4 (Tiger)


You're finished! If everything went according to plan, you should be looking at a desktop looking something like figure eight. If you need any help, we run a support forum.

This new boot-dfe has been tested with the retail Leopard DVD and it can boot, install and run Leopard without having to build
a modified DVD.

Infos about hardware:

[OFF]: Vanilla = Original Mac OS X DVD or Mac OS X Installation with running original mach_kernel.

AMD systemz isn't supported.
To use Mac OS X Vanilla DVD needs a Intel "Mac" closer systemz, like a Intel Core processos and Intel Chipset. This is only combination supported by "Vanilla Installz", other processors and chipsets isn't supported by "Mac OS X Vanilla systemz"

As usual, this only works for compatible machines(that means you still can't boot a vanilla system on AMD, they need specialised patches).

You *can* boot and install retail on any SSE2 or better Intel pre-Core architecture systems, but you wont be using the vanilla kernel. See below for link

This is how it's done: you burn an ISO (which has the bootloader on it) to a CD/DVD, after it gets to the boot
prompt, you press ESC or ENTER and it prompts for a new BOOT DEVICE, you swap the BOOT CD/DVD with the LEO Retail DVD, you press
enter and it shows you the name of the bootable partition from the DVD, you press enter and Leo starts to load.

Quick resume about "oh, what to do now?"

#1 - Burn .iso on a CD;
#2 - Boot this CD;
#3 - When Darwin prompt appear, eject CD and put Mac OS X Leopard Retail DVD;
#4 - Press enter (or -v and enter...wherever...)
#5 - After install, boot using CD boot again and install .kext needed...and usual files.
#6 - Done!

If you had problems, need advice, and other help type, go here:

Boot Retail Leo and Vanilla installs on Intel SSE2 and better - Boot 132 on pre-Core !, It is possible to boot the retail Leo DVD on Pentium 4-class CPUs:

Bookmark and Share
posted by u2r2h at Saturday, January 24, 2009


Post a Comment

<< Home