Running Mac OS X 10.2 in QEMU

Mar 21, 2020

Introduction

If you remember my old blog (it no longer exists btw), I had a post where I ran OS X 10.2 in QEMU. That got popular so I decided to rewrite it in my jekyll blog.

Tutorial

First off this is what you need:

  1. OS X 10.2 isos
  2. QEMU
  3. A computer with a reasonable CPU and enough RAM
  • (recommended to have at least a Core 2 Duo and 4GB RAM)
  1. Command line knowledge
  2. Patience

Now we can get started!

  1. Create a blank hard drive image to install OS X to:
$ qemu-img create -f qcow2 102.img 10G
  • This will make a 10GB qcow2 file named 102.img, feel free to adjust the command.
  1. Put your OS X 10.2 iso files in the same folder as everything else, this is self explanatory.
  2. Start QEMU with the following command (adjust to your needs)
$ qemu-system-ppc -L pc-bios -M mac99 -m 2048 -cdrom disk1.iso -hda 102.img -boot d
  1. Open Disk Utility and format the drive: Disk Utility

  2. Restart QEMU (I know it sounds weird but just do it to avoid this) Installation Error

  3. Continue install like normal, I decided to install everything Install

  4. When the install finishes close QEMU again Successful install

  5. Switch to disk 2 and switch boot drive to C using the following command

$ qemu-system-ppc -L pc-bios -M mac99 -m 2048 -cdrom disk2.iso -hda 102.img -boot c
  1. Boot back up and wait for the install to finish Second stage
  2. Setup OS X like normal and press Command+Q at the registration step Registration

When you get to the desktop you should have successfully installed OS X 10.2! Desktop

Now you can change the resolution and have fun! Resolution change

Why do this?

Well…if you want to have some fun with older versions of OS X, or you want to see how things used to be back then. Maybe you have older unsupported software. Or any other reasons that I don’t know about

Issues?

It seems to work pretty well aside from a few issues.

  • No hardware acceleration
  • No audio
  • Slower performance

I’m not sure if audio could be fixed but the other two certainly can’t.

alicela1n

Magical girl from another dimension.

AARCH64 Arch Linux ARM on Raspberry Pi 4

Restoring and updating iOS devices from Linux with iDeviceRestore