Welcome, Guest | Home | Search | Login | Register
Author MacOS 9 with QEMU (Read 53377 times)
wove
1024 MB
******
Posts: 1363

View Profile
on: July 10, 2024, 16:57

I have been using MacOS 9 via QEMU on OS X using the UTM application. I have had no success in taking the configuration files and hard disk file created via UTM and making it useable with QEMU on either Linux or Windows. I came across this site yesterday.

<https://computernewb.com/wiki/QEMU/Guests/Mac_OS_9> (Yeah it needs a newer Browser)

I have not yet had a chance to use the directions, but they do appear very detailed and easy. to follow.  Overall I have found QEMU to provide excellent emulation. Sheepshaver works pretty well, but for reasons I do not understand, it creates a color space so far off that graphics work is all but impossible. QEMU does create a very usable good color space.
cballero
1024 MB
******
Posts: 1179
System 7, today and forever
View Profile
Reply #1 on: September 05, 2024, 02:56

Wove,

I think I've used preinstalled OS disks with QEMU in Windows with success. A thought could be to use two of them to do a clean install of Mac OS 9,kind  of a cheat, but when things get just a little too complicated.. why not, you know? ;)
wove
1024 MB
******
Posts: 1363

View Profile
Reply #2 on: September 05, 2024, 19:35

Thanks,

I believe it was @lauland that posted this command, but I could not locate the post.

qemu-system-ppc -M mac99 -m 1024 -hda ~/Downloads/VMs/disk-0.qcow2 -netdev user,id=mynet -device sungem,netdev=mynet -device usb-mouse -device usb-kbd

The above command will launch a QEMU PPC Mac virtual machine using the MacOS 9 image that was provided by UTM (they have since removed the image). You will need to change the path after -hda to reflect where the qcow2 image is stored on your system.

There are a couple different Linux GUI apps that will configure a Mac PPC virtual machine. Going that route allows you to use an installer CD/iso to create a VM with your desired version of Mac OS. I just tend to be lazy and am content to use what others more talented than I have already created.
lauland
512 MB
*****
Posts: 674
Symtes 7 Mewconer!
View Profile
Reply #3 on: September 07, 2024, 23:13

Yep, that looks like the command I've been using...with a different path to the disk image, as you mentioned.  I won't take credit for figuring it out...I found something similar on a website during a search, and changed it just a enough.  (I'd read using usb instead of adb for mouse/kbd helps a lot with sluggishness)

I'd been using SheepShaver to run PPC MacOS classic, but looked into qemu when I got a new work laptop based on Apple Silicon.

I wasn't able to use my SheepShaver image as is...I knew it was possible to convert it to something qemu would understand, but since I was working on Classilla, a clean install was a very good idea.  So I didn't spend any time even trying to figure it out.  I used one of the ISO images from MG.  (I then used one of the browsers than came with MacOS 9 to download CodeWarrior and the Classilla parts for a clean build environment.)

----

I haven't tried qemu on anything other than the Apple Silicon laptop yet, so I can't really compare them for speed.  I am still using SheepShaver on my Intel Mac and on Windows, since I already have it fully set up, and it's perfectly "good enough".  I copied the disk image from the Mac to Windows with no problems.

In general, qemu feels "more stable", without the numerous goofy total crashes I see in SheepShaver, especially randomly when launching apps.  I was never able to pin it down, but also qemu runs Apple's MRJ JDK (part of Classilla build process) with no problems where it'd always completely hang SheepShaver. (I tried clean installs and several pre-built MacOS 9 images from MG, all with MRJ crashes).

My guess is since SheepShaver HEAVILY patches and hooks into the running system, it SHOULD be faster on the same machine, with qemu being more of a hardware level emulation.  Also qemu emulates the PPC MMU, so you can use virtual memory, and other low level system things that SheepShaver can't.  (Such as MacOS 9.2.2, I believe SheepShaver tops out with 9.0.4)

I've heard anecdotally that some ROM images may improve SheepShaver stability...possibly the 9500 one being "best".  I'm currently using the 7500/8500 ROM that came with the SheepShaver install I'm using (forgot from where).

Last Edit: September 08, 2024, 00:27 by lauland
Pages: [1]

© 2021 System7Today.com.
The Apple Logo, Macintosh™, Mac OS™, and others property of Apple Computer, Inc.
This site is in no way affiliated with Apple Computer, Inc.