QEMU Installation OpenBIOS Help

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
CamSox
Student Driver
Posts: 12
Joined: Sat Jan 26, 2019 2:58 am

QEMU Installation OpenBIOS Help

Post by CamSox »

Hello, Not sure if this is a really dumb question, but I can't seem to get past the QEMU BIOS and I'm not sure what to do. I see a screen that reads "
Trying cd:,\\tbxi...
Trying cd:,\ppc\bootinfo.txt...
Trying cd:,%BOOT...
No valid state has been set by load or init-program"

How do I get to the boot options? I would appreciate any replies. I'm running Mac OS Mojave (10.14.3).
User avatar
adespoton
Forum All-Star
Posts: 4277
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: QEMU Installation OpenBIOS Help

Post by adespoton »

What's your command line? What OS are you trying to boot?
CamSox
Student Driver
Posts: 12
Joined: Sat Jan 26, 2019 2:58 am

Re: QEMU Installation OpenBIOS Help

Post by CamSox »

Mac OS 9.2. I've been following this Emaculation tutorial https://www.emaculation.com/doku.php/pp ... mu-for-osx

Note: I haven't installed anything online besides the QEMU package itself. Do I need to install anything else (The OS) separately?
User avatar
Cat_7
Expert User
Posts: 6172
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: QEMU Installation OpenBIOS Help

Post by Cat_7 »

If you followed the guide, you created a file called qemu.command.
Please copy the content of that file in your reply.

You will need an image of the Mac OS 9.2 CD from which you want to install.

Qemu allows you to boot the CD image, after which you will need to install Mac OS onto the hard disk image you created with the qemu-img command, as shown in the guide.

Best,
Cat_7
CamSox
Student Driver
Posts: 12
Joined: Sat Jan 26, 2019 2:58 am

Re: QEMU Installation OpenBIOS Help

Post by CamSox »

Thank you! I've solved that problem and successfully initialized my hard drive. However, when I complete the step in the tutorial that says to change -boot d to -boot c and to switch the order of the disk and cd entries, that same error appears. My qemu-command file looks like this:

#!/bin/bash
cd "$(dirname "$0")"

./qemu-system-ppc -L pc-bios -boot c -M mac99,via=pmu -m 512 -prom-env 'auto-boot?=true' -prom-env 'boot-args=-v' -prom-env 'vga-ndrv?=true' -drive file=MacOS9.2.img,format=raw,media=disk -drive file=MacOS9.2.iso,format=raw,media=cdrom -netdev user,id=network01 -device sungem,netdev=network01

Thanks in advance for any help!
User avatar
Cat_7
Expert User
Posts: 6172
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: QEMU Installation OpenBIOS Help

Post by Cat_7 »

Good! You initialized the hard drive, but did you also install Mac OS from the CD onto the harddrive?

If you boot from hard drive with -boot c, and the drive is not Ok, this will appear:
Trying hd:,\\tbxi...
Trying hd:,\ppc\bootinfo.txt...
Trying hd:,%BOOT...

Note it no longer complains about a cd, but about a hd that cannot boot.

Best,
Cat_7
CamSox
Student Driver
Posts: 12
Joined: Sat Jan 26, 2019 2:58 am

Re: QEMU Installation OpenBIOS Help

Post by CamSox »

It worked! Thank you so much!
Post Reply