qemu-ppc linux host mac os9.2 guest disk image probs

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
Womp
Student Driver
Posts: 17
Joined: Wed Jul 18, 2007 4:06 pm

qemu-ppc linux host mac os9.2 guest disk image probs

Post by Womp »

Hi!
I have a problem with adding a second harddrive (drive image).
It will not register.
My script looks like this:

#!/usr/bin/bash
export QEMU_AUDIO_DRV=pa
./qemu-system-ppc \
-L pc-bios \
-boot d \
-M mac99,via=pmu \
-device VGA,edid=on \
-m 256 \
-drive file=9.2.img,format=raw,media=disk \
-drive file=EXTRA.img,format=raw,media=disk \
-drive file=PowerMacG4Install9.2.toast,format=raw,media=cdrom

I have the same problem with Catalina as host so I must be doing something wrong! Been trying for a week to find info but this seems uncommon.

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

Re: qemu-ppc linux host mac os9.2 guest disk image probs

Post by adespoton »

So to be clear, 9.2.img is loading, PowerMacG4Install9.2.toast is loading, but EXTRA.img is not?
User avatar
Cat_7
Expert User
Posts: 6172
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: qemu-ppc linux host mac os9.2 guest disk image probs

Post by Cat_7 »

I see you are booting from cd image (-boot d). Is that needed? Or did you already install on the 9.2.img?

Earlier we had the problem that -boot d required the cdrom image to be put first in the list of drives.
Perhaps you can try that, or boot from hd image (-boot c) if you installed on that already.

How did you create the EXTRA.img? Is it a hard disk image? Does the image show up if you leave out the first hard disk? Or when you leave out the cd image?

Best,
Cat_7
Womp
Student Driver
Posts: 17
Joined: Wed Jul 18, 2007 4:06 pm

Re: qemu-ppc linux host mac os9.2 guest disk image probs

Post by Womp »

Hi and yes os9.2 is working/loading but EXTRA is not noticed!

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

Re: qemu-ppc linux host mac os9.2 guest disk image probs

Post by Cat_7 »

Ok,

But what can you tell us about the EXTRA.img. Did you create it? If so, how? Or did you get it somewhere?
Is it new and empty?

Best,
Cat_7
Womp
Student Driver
Posts: 17
Joined: Wed Jul 18, 2007 4:06 pm

Re: qemu-ppc linux host mac os9.2 guest disk image probs

Post by Womp »

Hi!
I have installed on 9.2.img.
When I create the EXTRA.img I have tried both qcow2 and just raw image. I doesnt get noticed. The thing that works is if I switch image in the cdrom. Using that solution for now but I find it strange that I can't add a second drive image!

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

Re: qemu-ppc linux host mac os9.2 guest disk image probs

Post by Cat_7 »

You need to give us more info. Please answer my questions above.
If EXTRA.img is new and empty, did you try to see if it shows up in the drive setup program in Mac OS 9.2?

Did you use ./qemu-img create -f raw -o size=2G EXTRA.img to create it?

Can we reproduce what you did? If so, tell us exactly what you did to make EXTRA.img

Best,
Cat_7
Womp
Student Driver
Posts: 17
Joined: Wed Jul 18, 2007 4:06 pm

Re: qemu-ppc linux host mac os9.2 guest disk image probs

Post by Womp »

Hi again!

I am sorry. I was unclear.
I used ./qemu-img create -f raw -o size=4G EXTRA.img and it is empty.
I doesn't show up in the drive setup in Mac OS 9.2!

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

Re: qemu-ppc linux host mac os9.2 guest disk image probs

Post by Cat_7 »

Hi,

I just replicated your steps (in Windows). I created the img and added it to the command line.
-drive file=c:\Mac-disks\9.2.img,format=raw,media=disk ^
-drive file=EXTRA.img,format=raw,media=disk ^

9.2 booted but did not offer initialization of the disk before reaching the desktop. So I used
Applications (Mac OS 9)/Utilities/Drive Setup f/Drive Setup program
There, the disk appeared as second disk: <not intialized> ATA 0 1 0
I selected the disk, and clicked Initialize. And again Initialize in the next screen. After that the disk appeared on my desktop.

It works the same when replicating your initial command line with 3 disks:
-drive file=c:\Mac-disks\9.2.img,format=raw,media=disk ^
-drive file=EXTRA.img,format=raw,media=disk ^
-drive file=c:\Mac-images\9.2.2.iso,format=raw,media=cdrom ^

Best,
Cat_7
Womp
Student Driver
Posts: 17
Joined: Wed Jul 18, 2007 4:06 pm

Re: qemu-ppc linux host mac os9.2 guest disk image probs

Post by Womp »

I thank you so much!
That solved it!!

womp
Post Reply