- Run Mac Os On Qemu
- Install Mac Os On Qemu
- Qemu Kvm Mac
- QEMU For Windows - PPC Emulator, Runs Mac OS 9.1, 9.2 + OSX ...
Mac OS 9.x to Mac OS X 10.4 Command-line options to install Mac OS 9:./qemu-system-ppc -L pc-bios -boot d -M mac99 -m 512 -hda image file -cdrom file of installation media -netdev user,id=mynet0 -device sungem,netdev=mynet0. Processor emulator using a portable dynamic translator. QEMU emulates a full system (usually a PC), including a processor and various peripherals. It can be used to launch a different Operating System without rebooting the PC or to debug system code. I'm trying to install Mac OS X Panther in QEMU on a img file in qcow2 format, but the installation doesn't seem to be able to read it. It just goes blank, and no hard drive pops up. I've tried partitioning and erasing the disk but it gives me the exclamation point, albeit those were in raw format.
Run Mac Os On Qemu
Here is a short guide on how to build QEMU to run Mac OS 9 with working audio. These instructions work for MacOS High Sierra as the host OS, although with some tweaking they may run under Linux/Windows. You should be comfortable compiling software from source before attempting.
Clone QEMU fork
Adapted from instructions from Cat_7
You may need to install XCode and/or the XCode command line tools. If you do not have them, then this process may prompt you to install them (MacOS will do that).
Start by cloning the fork of QEMU with experimental audio support:
Then configure the source to use MacOS CoreAudio. I have also enabled LibUSB, KVM, HyperVirtualization Framework, and the Cocoa UI. In this case I am only compiling the emulator for PPC (32-bit).
Then compile:
This will create a binary in qemu-screamer/ppc-softmmu/qemu-system-ppc
that we can use.
Create HD for Mac OS 9
We will need to have a hard drive image for our emulated system. I made mine 5 GB in size, which is plenty for Mac OS 9.
In our qemu-screamer
directory, we will use qemu-img
to create the disk image.
Get a Mac OS 9 Installer
If you have an ISO of a Mac OS 9 install disc (a Mac OS X classic install disc won't work), then you can use that in the next step. If you don't have one, you can download one from Mac OS 9 Lives: Mac OS 9.2.2 Universal Install.
Install Mac OS 9
This won't install quite like Mac OS 9 did, but instead use Apple System Restore to restore an image onto the hard drive.
Start up QEMU with the following options:
A breakdown of that command:
-L qemu-screamer/pc-bios
sets the BIOS. May not actually need this.-cpu 'g4'
emulate a G4 CPU-M mac99,via=pmu
will define the Mac model and enable USB support-m 512
use 512 MB of RAM, could go lower probably-hda macos92.img
use our generated disk image for the hard drive-cdrom '~/Downloads/Mac OS 9.2.2 Universal Install.iso'
use the ISO for the cdrom-boot d
boot from the disk drive-g 1024x768x32
default to 1024x768 resolution and 32 bit colour
Install Mac Os On Qemu
Once it starts up, you will be able to run Disk Initializer to format your hard drive image. Go ahead and do that, using Mac OS HFS Extended as the file system. One partition is good.
After initializing the disk, run Apple System Restore with the Mac OS 9 lives disk image as the source and your disk as the destination. This will take a minute to restore. Once done, shut down the emulated system.
Boot Mac OS 9
Similar to the last command, except we start up from the disk we created.
It should boot up and you will have a running Mac OS 9 with audio!
Tips
Qemu Kvm Mac
When the emulator is shut down, just make a copy of the hard disk image to create a backup. If something breaks your Mac OS 9 installation then you can restore the file.
QEMU For Windows - PPC Emulator, Runs Mac OS 9.1, 9.2 + OSX ...
You can dynamically attach CDs/DVDs to the emulated system by going to the menu bar on your host system for the QEMU application and selecting the option to attach to the CD IDE drive. It will open a dialog letting you select your ISO.