Qemu package and guide for OSX available

About Qemu-system-ppc, a PPC Mac emulator for Windows, macOS and Linux that can run Mac OS 9.0 up to Mac OS X 10.5

Moderators: Cat_7, Ronald P. Regensburg

User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Qemu package and guide for OSX available

Post by adespoton »

carbon wrote: Wed Jul 20, 2022 12:46 pm Having a bit of time I updated to Qemu 7 and checked if all my virtual machines still work. I have Mac OS X 10.0 to 10.5 running, and every VM from 10.2 to 10.5 are updated to latest release of the OS. Apple's update servers only seem to still work from 10.4 onwards, so I updated 10.2 and 10.3 to latest release using the combo updater packages.
But whatever I try, I just can't find a working combo updater for 10.0 nor 10.1, all the images available on the web seem to be corrupt.
Can anybody point me to valid updaters, please?
10.0.4 combo update: https://support.apple.com/kb/DL1289
10.1.5 combo update: https://support.apple.com/kb/DL672
User avatar
carbon
Student Driver
Posts: 11
Joined: Mon Jul 27, 2020 8:22 pm

Re: Qemu package and guide for OSX available

Post by carbon »

adespoton wrote: Wed Jul 20, 2022 6:34 pm 10.0.4 combo update: https://support.apple.com/kb/DL1289
10.1.5 combo update: https://support.apple.com/kb/DL672
That's exactly where I downloaded the updaters (plus a few other sources). macOS 12 seems to be properly decoding the bin file when double-clicking, but when double-clicking the resulting .dmg file (or when adding it to a VM), I always get a disk unreadable error.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for OSX available

Post by Cat_7 »

Have you tried downloading them from within the guest?

Best,
Cat_7
User avatar
carbon
Student Driver
Posts: 11
Joined: Mon Jul 27, 2020 8:22 pm

Re: Qemu package and guide for OSX available

Post by carbon »

Cat_7 wrote: Wed Jul 20, 2022 10:24 pm Have you tried downloading them from within the guest?

Best,
Cat_7
Already tried that, but because the browsers used are too old, I get a "Security failure. The server reply is invalid" error with the links (most https links, that's why I normally use macos9lives.com to test for internet connection inside those VMs as it's about the only address I know that still uses plain http).
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Qemu package and guide for OSX available

Post by adespoton »

I download on the host and then copy them to the guest to decode and mount.
User avatar
carbon
Student Driver
Posts: 11
Joined: Mon Jul 27, 2020 8:22 pm

Re: Qemu package and guide for OSX available

Post by carbon »

Thanks a lot adespoton, that was a brilliant suggestion, because mounting the .img on macOS, copying over the combo updater package, launching the VM and then double-clicking the package correctly decoded the file and mounted the resulting image. This way I could update Mac OS X 10.0 to 10.0.4, but under 10.1 I get the error message that the installer app is too old. So it seems I need an intermediary combo updater. Got any pointer for those?
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Qemu package and guide for OSX available

Post by adespoton »

carbon wrote: Thu Jul 21, 2022 6:31 pm Thanks a lot adespoton, that was a brilliant suggestion, because mounting the .img on macOS, copying over the combo updater package, launching the VM and then double-clicking the package correctly decoded the file and mounted the resulting image. This way I could update Mac OS X 10.0 to 10.0.4, but under 10.1 I get the error message that the installer app is too old. So it seems I need an intermediary combo updater. Got any pointer for those?
Change the date on QEMU maybe?

I've always done the updates by copying into the guest and running, and never had an issue except when I've bumped up against date checks. What exactly is it saying is "too old"? What is doing the complaining? If you try to run the 10.0.4 updater under 10.1, you will definitely get an installer complaint. That shouldn't happen with the 10.1.5 cumulative update.
User avatar
carbon
Student Driver
Posts: 11
Joined: Mon Jul 27, 2020 8:22 pm

Re: Qemu package and guide for OSX available

Post by carbon »

I meant of course the proper update for 10.0. I don't think it has something to do with the date, it simply seems there were an interim update to the installer app itself necessary to install newer updates.
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Qemu package and guide for OSX available

Post by adespoton »

Ah; I had presumed you read down to the bottom of the page I linked :)

System Requirements
Mac OS X 10.1 or later
Mac OS X 10.1, 10.1.1, or 10.1.2
Security Update 2001-10-19 Installed
Installer Update 10.1 installed

-- those last two contain links:
https://support.apple.com/kb/DL677
https://support.apple.com/kb/DL676
User avatar
carbon
Student Driver
Posts: 11
Joined: Mon Jul 27, 2020 8:22 pm

Re: Qemu package and guide for OSX available

Post by carbon »

Lazy me, I didn't scroll to the bottom. It states clearly that 10.1 or 10.2 is necessary, but there are no download links for these updaters. I downloaded the Security and Installer update, but those seem to require 10.1 or 10.2, too.

Google doesn't turn up any results (I also checked archive.org, macintoshrepository and macintoshgarden). Incidentally, 10.0 and 10.1 also give me problems running Classic (crashes after start up).
DaveBuchanan
Space Cadet
Posts: 2
Joined: Tue Aug 02, 2022 9:54 am

Re: Qemu package and guide for OSX available

Post by DaveBuchanan »

Hi

I have a 2012 mac mini intel which I wish to use to run ppc qemu for mac osx 10.4.11

I have downlaoded and followed instructions in the ReadMe for catalina etc, however I am getting errors biult for Mac osx 12:
do I need a special compile for my OS Catalina 10.15.07
please advise

Thanks in advance

Dave


The qemu.command is thus

cat ./qemu.command
#!/bin/bash
cd "$(dirname "$0")"

./qemu-system-ppc \
-L pc-bios \
-M mac99,via=pmu \
-m 512 \
-boot d \
-drive file=Mac_OS_X_Tiger.iso,format=raw,media=cdrom \
-drive file=Mac_OS_X_Tiger.img,format=raw,media=disk



./qemu.command
dyld: Symbol not found: _vmnet_enable_isolation_key
Referenced from: /Applications/Qemu/./qemu-system-ppc (which was built for Mac OS X 12.0)
Expected in: /System/Library/Frameworks/vmnet.framework/Versions/A/vmnet
in /Applications/Qemu/./qemu-system-ppc
./qemu.command: line 10: 13417 Abort trap: 6 ./qemu-system-ppc -L pc-bios -M mac99,via=pmu -m 512 -boot d -drive file=Mac_OS_X_Tiger.iso,format=raw,media=cdrom -drive file=Mac_OS_X_Tiger.img,format=raw,media=disk
dave@Local Qemu %
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for OSX available

Post by Cat_7 »

Hi,

Unfortunately the specific network functionality built into that build is not available on your host. Qemu officially only supports the last two macOS versions.
You would have to download an older version to get it to run on your machine.

Best,
Cat_7
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for OSX available

Post by Cat_7 »

A new build from the Qemu 7.1 RC3 source has been posted in the first post in the thread.
It fixes the corrupted screen when switching away from millions of colours.

Best,
Cat_7
DaveBuchanan
Space Cadet
Posts: 2
Joined: Tue Aug 02, 2022 9:54 am

Re: Qemu package and guide for OSX available

Post by DaveBuchanan »

Hi I have Catalina running qemu-system-ppc via brew

I have a sparse disk image from mac osx 10.4 created by carbon copy cloner
it does not start up - its stuck on the yellow screen
Please help

qemu-system-ppc -version
QEMU emulator version 7.0.0
Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers


Output from qemu-img info

qemu-img info Macintosh_Laura.sparseimage
image: Macintosh_Laura.sparseimage
file format: raw
virtual size: 216 GiB (232226254848 bytes)
disk size: 216 GiB


Yello screen

Welcome to OpenBios v1.1 built on Mat 7 2022 23:07
Trying hd: , \\:tbxi...
Trying hd:,\ppc\bootinfo.txt...
Trying hd:.%BOOT...
No valid state has been found

here is my command

cat qemu.command
#!/bin/bash
cd "$(dirname "$0")"

#./qemu-system-ppc \
#-M mac99,via=pmu \
#-M mac99 \
#-L pc-bios \

qemu-system-ppc \
-L pc-bios \
-M mac99,via=pmu \
-m 512 \
-boot c \
-g 1024x768x32 \
-drive file=Macintosh_Laura.sparseimage,format=raw,media=disk
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for OSX available

Post by Cat_7 »

Hi,

Are ccc sparse images bootable at all? The ccc docs seem to suggest they might not be.
Anyhow, if any image is not from a whole disk, but only from a partition, Qemu will not boot from it.

Perhaps it is possible to convert the ccc image to dmg, a format Qemu can read? You might try to first install Mac OSX 10.4 and then attach your image.
Otherwise, you might be able to copy your ccc image onto a sufficiently large qemu hfs+ disk image and then expand the ccc image from inside Tiger with ccc onto a second disk.

Best,
Cat_7
Tornevas
Inquisitive Elf
Posts: 34
Joined: Sat Aug 29, 2020 8:25 am

Re: Qemu package and guide for OSX available

Post by Tornevas »

Is there a step by step guide, I can be linked? I want to use the version that emulates 9.2 Macintosh. A youtube video would also be helpful if one exists?

Which sound version in the second post should I start by downloading?

What do I call the QEMU folder inside my applications folder?
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for OSX available

Post by Cat_7 »

To have sound support, you should download the latest experimental version from 14-12-2022. Put all files in a folder named Qemu in your applications folder.
Make sure you have or download a Mac OS 9.2 installation cdrom image.

Here is our guide:
https://www.emaculation.com/doku.php/pp ... mu-for-osx

Here is a youtube video:
https://www.youtube.com/watch?v=PAJ0dvrmmE0

Best,
Cat_7
User avatar
celebi23
Granny Smith
Posts: 101
Joined: Wed Jun 18, 2008 5:53 am

Re: Qemu package and guide for OSX available

Post by celebi23 »

I was wondering if there's any chance for a more updated experimental sound-enabled build?

Thanks!
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for OSX available

Post by Cat_7 »

There will be one as soon as qemu 8.1 is officially released.

Best,
Cat_7
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for OSX available

Post by Cat_7 »

A new build for macOS has been posted in the first post.

Best,
Cat_7
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Qemu package and guide for OSX available

Post by adespoton »

What's changed from the 8.1 build with Qemu-system-ppc-macOS-Intel-10-10.2023 ?
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu package and guide for OSX available

Post by Cat_7 »

I know of no user visible or real improvements, except that it was built from the latest code.
It just happens that I automated the builds from the m68k and ppc source so both become available at the same time ;-)

Best,
Cat_7
User avatar
carbon
Student Driver
Posts: 11
Joined: Mon Jul 27, 2020 8:22 pm

Re: Qemu package and guide for OSX available

Post by carbon »

I replaced my Qemu version from february to the latest one and now in every VM the menu bar is hidden under the window title bar (I0ve tried both System 9 and Mac OS X). I'm running Sonoma 14.1.1 on an iMac Pro.
Is this a known bug?
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Qemu package and guide for OSX available

Post by adespoton »

"now in every VM the menu bar is hidden under the window title bar"

You mean when you launch the guest OS, the guest OS menu bar is off the top of the displayed screen? Have you checked your screen resolution?

I just checked, and I'm getting my entire screen inside the QEMU window in windowed mode and in fullscreen mode.
User avatar
carbon
Student Driver
Posts: 11
Joined: Mon Jul 27, 2020 8:22 pm

Re: Qemu package and guide for OSX available

Post by carbon »

It's the former, I only use windowed mode. Here's a screenshot

Image

BTW, the new virtfs driver is great!
Post Reply