os x puma cannot load on qemu

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

Post Reply
SuperKyK
Space Cadet
Posts: 6
Joined: Sun Sep 04, 2022 11:01 am

os x puma cannot load on qemu

Post by SuperKyK »

i have installed qemu on linux and everything booted ok but after a while qemu did output

Code: Select all

The Installer has unexpectedly quit. (error 1)
how to fix? :sad:
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: os x puma cannot load on qemu

Post by Cat_7 »

We need at bit more info before we can attempt to answer your question:

-Post your exact command line
-Tell us from which Puma CD image exactly you are trying to install.

Best,
Cat_7
SuperKyK
Space Cadet
Posts: 6
Joined: Sun Sep 04, 2022 11:01 am

Re: os x puma cannot load on qemu

Post by SuperKyK »

i am installing from retail cd
here is the cmd:

Code: Select all

s>> et_property: NULL phandle

>> =================================
>> OpenBIOS 1.1 [Jun 21 2022 21:07]
>> Configuration device id QEMU version 1 machine id 1
>> CPUs: 1
>> Memory: 512M
>> UUID: 00000000-0000-0000-0000-000000000000
>> CPU type PowerPC,G4
milliseconds isn't unique.
>>switching to new context:

The Installer has unexpectedly quit. (error 1)


Press the Return key to restart the computer...
that is all
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: os x puma cannot load on qemu

Post by Cat_7 »

You are trying to install from a real CD?

The output you showed is not the command line you use to start Qemu, but the output of the command after you started it.
Please paste the content of the command line you use to start Qemu.

Best,
Cat_7
SuperKyK
Space Cadet
Posts: 6
Joined: Sun Sep 04, 2022 11:01 am

Re: os x puma cannot load on qemu

Post by SuperKyK »

Code: Select all

qemu-system-ppc \
-L pc-bios \
-M mac99,via=pmu \
-m 512 \
-boot d \
-drive file=puma_retail.iso,format=raw,media=cdrom \
-drive file=MacOS9.2.img,format=raw,media=disk 
also i ripped an iso
not using a cdrom
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: os x puma cannot load on qemu

Post by Cat_7 »

Hi,

Both Mac OS X 10.0 and 10.1 require the use of -M mac99 instead of -M mac99,via=pmu.
See our guide: https://www.emaculation.com/doku.php/pp ... mu-for-osx
This should do:

Code: Select all

qemu-system-ppc \
-L pc-bios \
-M mac99 \
-m 512 \
-boot d \
-drive file=puma_retail.iso,format=raw,media=cdrom \
-drive file=MacOS9.2.img,format=raw,media=disk 
Best,
Cat_7
SuperKyK
Space Cadet
Posts: 6
Joined: Sun Sep 04, 2022 11:01 am

Re: os x puma cannot load on qemu

Post by SuperKyK »

it gave the error again
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: os x puma cannot load on qemu

Post by Cat_7 »

Hi,

Perhaps your iso is faulty.
I tried 10.1.3 from the macintoshgarden site and 10.1.1 from winworld. Both work Ok.

As you are running on a Linux host, I can't know whether your Qemu installation is working correctly.
I see you are using a disk image with a previously installed Mac OS 9.2. Perhaps you might try with a clean disk image created with qemu-img.

Best,
Cat_7
wal7er
Space Cadet
Posts: 2
Joined: Sun Oct 09, 2022 9:09 am

Re: os x puma cannot load on qemu

Post by wal7er »

I'm having same issue.
Below my configuration:
I use Ubuntu Linux 22.04.1 LTS kept updated using official repos.
I've installed qemu 6.2 from ubuntu repos.

Code: Select all

$ apt info qemu-system-ppc
Package: qemu-system-ppc
Version: 1:6.2+dfsg-2ubuntu6.4
...

Code: Select all

qemu-system-ppc \
	-accel tcg \
	-name "Mac OS X 10.1" \
	-m 512 \
	-machine mac99 \
	-uuid 7919e8c6-7fcc-494a-a192-3bb81f7298ae \
	-rtc base=localtime \
	-g 1600x900x32 \
	-device usb-audio,audiodev=ad1 \
	-audiodev pa,id=ad1 \
	-device VGA,vgamem_mb=16 \
	-nic user,model=sungem,hostfwd=tcp::9021-:21,hostfwd=tcp::9022-:22,hostfwd=tcp::9080-:80 \
	"macosx.qcow2" \
	-prom-env "vga-ndrv?=true" \
	-prom-env "boot-args=-v" \
	-boot d \
	-cdrom "osx_101_5g64_install.iso" \
	&
I've tried install cd's from macintosh garden and from winworldpc site getting same error.
I've tried different configuration for memory and vga memory.
Installation cd of 10.2 version from winworldpc site works with same qemu configuration.
Installation cd of 9.2.1-universal version works with same qemu configuration.
I've tried 10.0 version from winworldpc getting same issue.
I can see openbios 1.1 (build July 7 2022) runs without issues during boot.

After all these attempts I think this issue is related to last qemu 6.2 update and affects only 10.0 and 10.1 versions because I was able to install those versions few months ago using same cds.
We need wait for next qemu update hoping it will fix this issue.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: os x puma cannot load on qemu

Post by Cat_7 »

It seems 10.0 and 10.1 have issues preparing a disk through the disk utility. Partition and format the disk image a few times and wait some seconds before continuing to the disk selection part of the installer. That worked over here.

Best,
Cat_7
wal7er
Space Cadet
Posts: 2
Joined: Sun Oct 09, 2022 9:09 am

Re: os x puma cannot load on qemu

Post by wal7er »

Quick update:
After 1000 attempts I've found the issue in my configuration: sound card configuration and qemu version.
My working configuration for 10.0 and 10.1 is to use qemu 7.x executed with following options:

to install

Code: Select all

qemu-system-ppc \
	-accel tcg \
	-name "Mac OS X" \
	-m 256 \
	-machine mac99 \
	-rtc base=localtime \
	-g 1024x768x32 \
	-device VGA,vgamem_mb=16 \
	-nic user,model=sungem,hostfwd=tcp::9021-:21,hostfwd=tcp::9022-:22,hostfwd=tcp::9080-:80 \
	"disk.qcow2" \
	-prom-env "vga-ndrv?=true" \
	-prom-env "boot-args=-v" \
	-boot d \
	-cdrom "osx_101_5g64_install.iso" \
	&
to run

Code: Select all

qemu-system-ppc \
	-accel tcg \
	-name "Mac OS X" \
	-m 256 \
	-machine mac99 \
	-rtc base=localtime \
	-g 1024x768x32 \
	-device VGA,vgamem_mb=16 \
	-nic user,model=sungem,hostfwd=tcp::9021-:21,hostfwd=tcp::9022-:22,hostfwd=tcp::9080-:80 \
	"disk.qcow2" \
	-prom-env "vga-ndrv?=true" \
	-boot c \
	&
I've installed qemu 7.X through brew.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: os x puma cannot load on qemu

Post by Cat_7 »

Oh indeed, 10.0 and 10.1 do not play nicely with USB devices.

Best,
Cat_7
Post Reply