[SOLVED] Mac OS X 10.2 on QEmu for Windows 10 x64

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
afberendsen
Inquisitive Elf
Posts: 27
Joined: Fri Jul 21, 2017 3:27 am
Location: Berlin, Germany

[SOLVED] Mac OS X 10.2 on QEmu for Windows 10 x64

Post by afberendsen »

I managed to install and run all versions (and updates) of Mac OS X 10.5, 10.4, 10.3, 10.1, 10.0, 9.2, 9.1, 9.04, and 9.0.3
I am not having any luck with 10.2 (Jaguar). I tried the same options from 10.0, 10.1, and 10.3 with no val.
All images I have (from Garden) on 10.2 (all images with 691-...were uploaded by me), always hang with the same Kernel panic.
Do any one here had any luck with QEmu, on Windows, for 10.2?

Code: Select all

$ "/cygdrive/c/Program Files/qemu/qemu-system-ppc.exe" -version
QEMU emulator version 5.1.0 (v5.1.0-11824-g8699890d91-dirty)
Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers
My extended command line is

Code: Select all

"/cygdrive/c/Program Files/qemu/qemu-system-ppc.exe" \
	-name "${sName}"  \
	-L pc-bios \
	-boot d \
	-M mac99 \
	-m 512 \
	-drive file="$sHD",format=qcow2,media=disk \
	-drive file=691-4198-A.iso,format=raw,media=cdrom \
 	-netdev user,id=mynet0 \
	-device sungem,netdev=mynet0 \
	-prom-env "boot-args=-v" \
	-prom-env "vga-ndrv?=true" \
	-prom-env "auto-boot?=true" \
	-device VGA,edid=on
I tried with
  • -M mac99 -cpu g4, -cpu g3,
  • via=..., without via...
  • -m 128, 256, 512
  • no network, with network
  • no (or with) prom-env
  • and all possible combinations
Those are all the images I tried without any success

Code: Select all

691-4060-A-PowerBook-G4-Software-and-Install-and-Restore-Mac-OS-v10.2.1-Mac-OS-v9.2.2-Disc-v1.0_2002-(DVD).iso
691-4105-A-2Z-Power-Mac-G4-Mac-OS-X-Install-Disc-2-Mac-OS-v10.2.1-Disc-v1.0_2002-(CD).iso
691-4170-A-PowerBook-G4-12-inch-Software-Install-and-Restore-Mac-OS-v10.2.3-Disc-v1.0_2003-(DVD).iso
691-4178-A-2Z-iBook-Mac-OS-X-Install-Disc-1-Mac-OS-v10.2.3-Disc-v1.1_2002-{iBook-32VRAM-Late-2002}-(CD).iso
691-4179-A-2Z-iBook-Mac-OS-X-Install-Disc-2-Mac-OS-v10.2.3-Disc-v1.1_2002-{iBook-32VRAM-Late-2002}-(CD).iso
691-4288-A-PowerBook-G4-12-inch-Software-Install-and-Restore-Mac-OS-v10.2.3-Disc-v1.1_2003-(DVD).iso
691-4309-A-Power-Mac-G4-Software-Install-and-Restore-Mac-OS-v10.2.3-Disc-v1.1_2003-(DVD).iso
691-4316-A-PowerBook-G4-15-inch-Software-Install-and-Restore-Mac-OS-X-v10.2.3-v9.2.2-Disc-v1.0_2003-(DVD).iso
691-4318-A-iMac-Software-Install-and-Restore-Mac-OS-v10.2.3-Disc-v1.1_2003-(DVD).iso
691-4558-A-PowerBook-G4-12-inch-Software-Install-and-Restore-Mac-OS-v10.2.7-AHT-v2.0.5-Disc-v1.0_2003-(DVD).iso
691-4657-A-Power-Mac-G5-Software-Install-and-Restore-Mac-OS-v10.2.7-(G5)-AHT-v2.1-Disc-v1.2_2003-(DVD).iso
691-4660-A-iMac-Software-Install-and-Restore-Mac-OS-v10.2.7-Disc-v1.1_2003-(DVD).iso
691-4676-A-PowerBook-G4-15-Inch-and-17-Inch-Software-Install-and-Restore-Mac-OS-X-v10.2.7-AHT-v2.0.4-Disc-v1.0_2003-(DVD).iso
691-4676-A-PowerBook-G4-15-inch-and-17-inch-Software-Install-and-Restore-Mac-OS-X-v10.2.7-AHT-v2.0.4-Disc-v1.1_2003-(DVD).iso
691-4679-A-Power-Mac-G4-Software-Install-and-Restore-Mac-OS-v10.2.7-AHT-v2.0.2-Disc-v1.0_2003-(DVD).iso
691-4214-A-0Z-Mac-OS-X-v10.2.3-Server-Install-Disc-(CD).iso
691-4215-A-0Z-Admin-Tools-v10.2.3-(CD).iso
691-4216-A-Macintosh-Manager-v2.2.2-Requires-Mac-OS-X-v10.2.3-or-later-(CD).iso
691-4251-A-0Z-Admin-Tools-v10.2.3_2003-(CD).iso
I have no idea ho to include a screenshot here.
Last edited by afberendsen on Fri Oct 23, 2020 8:55 am, edited 1 time in total.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Mac OS X 10.2 on QEmu for Windows 10 x64

Post by Cat_7 »

Hi,

You cannot upload screen dumps. But if you upload a screen dump to some sharing site and link to it here, it will display.
I have a hunch your problem is well known (at least to me ;-) ). See here for status of various guests:
https://docs.google.com/spreadsheets/d/ ... edit#gid=0

For 10.2 guests it says:
Graphics problems. Doesn't open HD on desktop after double click. Opens with File/New finder window. Shows one ATA bus with HD/DVD. Panics with CD rom image as second drive, but not with 2nd HD and CD.

If that is still correct, you might add in total 3 disks (a second hard disk and the cd image) and you should be good to go...
I just checked, and it is still true. However, you can also add an index number to the drives to work around this issue:
qemu-system-ppc.exe ^
-L pc-bios ^
-sdl ^
-boot c ^
-m 512 ^
-M mac99,via=pmu ^
-drive file=c:\Mac-disks\10.2.qcow2,format=qcow2,media=disk,index=0 ^
-drive file=c:\Mac-images\10.2_1.iso,format=raw,media=cdrom,index=2

This will work once the OS has been installed, but not for installing. For that, change -boot d and switch the index numbers on the drives.

Best,
Cat_7
afberendsen
Inquisitive Elf
Posts: 27
Joined: Fri Jul 21, 2017 3:27 am
Location: Berlin, Germany

Re: Mac OS X 10.2 on QEmu for Windows 10 x64

Post by afberendsen »

Perfect.
Thank you.
This explain the panic on the IOCDStorageFamily.
Installation worked this time.
OS installed and working.
The graphical interface is atrociously slow, compared to 10.1 or 10.3.
At least the mouse is not keep bumping to the left during the initial setup....
afberendsen
Inquisitive Elf
Posts: 27
Joined: Fri Jul 21, 2017 3:27 am
Location: Berlin, Germany

Re: [SOLVED] Mac OS X 10.2 on QEmu for Windows 10 x64

Post by afberendsen »

Well, seems that there is something strange happening.
The virtual disk image is qcow2 and the maximum virtual disk image, after installing the OS, and before restarting for initial Mac OS X configuration, is 2.8GB in size.
After the OS is installed and running, something inside the server start running, writing every single sector of the disk, extending the qcow2 image to the maximum size.
I tested with 5GB, 10G, 20GB, 50GB,and 100GB. In all those cases, the virtual disk image was extended up to the maximum size.
Any clue why?
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: [SOLVED] Mac OS X 10.2 on QEmu for Windows 10 x64

Post by Cat_7 »

I wouldn't know, I only have disk 1 installed. Size is only 844Mb and not increasing.

Best,
Cat_7
User avatar
Nowhere Man
Student Driver
Posts: 19
Joined: Sun Sep 30, 2018 4:38 am

Re: Mac OS X 10.2 on QEmu for Windows 10 x64

Post by Nowhere Man »

Cat_7 wrote: Thu Oct 22, 2020 7:47 pm Hi,

You cannot upload screen dumps. But if you upload a screen dump to some sharing site and link to it here, it will display.
I have a hunch your problem is well known (at least to me ;-) ). See here for status of various guests:
https://docs.google.com/spreadsheets/d/ ... edit#gid=0

For 10.2 guests it says:
Graphics problems. Doesn't open HD on desktop after double click. Opens with File/New finder window. Shows one ATA bus with HD/DVD. Panics with CD rom image as second drive, but not with 2nd HD and CD.

If that is still correct, you might add in total 3 disks (a second hard disk and the cd image) and you should be good to go...
I just checked, and it is still true. However, you can also add an index number to the drives to work around this issue:
qemu-system-ppc.exe ^
-L pc-bios ^
-sdl ^
-boot c ^
-m 512 ^
-M mac99,via=pmu ^
-drive file=c:\Mac-disks\10.2.qcow2,format=qcow2,media=disk,index=0 ^
-drive file=c:\Mac-images\10.2_1.iso,format=raw,media=cdrom,index=2

This will work once the OS has been installed, but not for installing. For that, change -boot d and switch the index numbers on the drives.

Best,
Cat_7
I wonder why Jaguar has that odd issue with refusing to open icons on the desktop. What a strange bug.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: [SOLVED] Mac OS X 10.2 on QEmu for Windows 10 x64

Post by Cat_7 »

Yes, we wonder too ;-)

Best,
Cat_7
airat78
Inquisitive Elf
Posts: 27
Joined: Fri Feb 15, 2013 3:27 pm

Re: [SOLVED] Mac OS X 10.2 on QEmu for Windows 10 x64

Post by airat78 »

Other issue of Jaguar which seems only in QEMU, any Firefox version and Netscape unexpectedly quit and launch Talkback app, with PearPC and Mac-on-Mac all works Ok.
Post Reply