no valid state has been set by load or init-program
Moderators: Cat_7, Ronald P. Regensburg
no valid state has been set by load or init-program
Hallo,
I use Qemu package 4.1 from https://www.emaculation.com/forum/viewt ... =34&t=8848. My Host is High Sierra - Mac mini midi 2011
I downloaded MacOS 9.2 from Macintosh Garden and from MacOS9Lives. The cd is booting with qemu.command. I can initialize the hdd and install. Then I shutdown the Machine.
My qemu.command is how you describe in Tutorial.
https://www.emaculation.com/doku.php/pp ... mu-for-osx.
I made # to cd and changed to boot c. And then when I boot, it comes - no valid state...
#!/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.iso,format=raw,media=cdrom \
-drive file=MacOS9.2.img,format=raw,media=disk \
-netdev user,id=network01 -device sungem,netdev=network01 \
-device VGA,edid=on \
The first time it worked and I could boot. But now always the same. I downloaded the qemu file again, unzipped and alway no valid state. I think it does not find the ata driver for hdd but what can I do? Update driver in OS 9 requires reboot but in Qemu there is no reboot possible.
Re: no valid state has been set by load or init-program
You can't just comment the drive out like that. Remove the line all together.
- Ronald P. Regensburg
- Expert User
- Posts: 7821
- Joined: Thu Feb 09, 2006 10:24 pm
- Location: Amsterdam, Netherlands
Re: no valid state has been set by load or init-program
Or reverse the disk and cd order.
From the tutorial:
From the tutorial:
To boot the installed Mac OS, you need to edit the qemu.command file:
- Change the “-boot d” argument to “-boot c”.
- Reverse the order in which your disk and cd rom entry are listed in qemu.command.
So, when booting with “-boot c”, make sure your hard disk image file is listed first. If you have no need for the cd rom disk to be available, you can remove the entry from the command line. Save the file. Double-click qemu.command and Mac OS will boot from the hard disk.
Re: no valid state has been set by load or init-program
that I was trying too but also no valid state.
Re: no valid state has been set by load or init-program
I did this
./qemu-system-ppc -L pc-bios -boot d -M mac99,via=pmu -m 512 -hda <hd image file> -cdrom <iso file of installation media> \
-netdev user,id=mynet0 -device sungem,netdev=mynet0
and it bootet from iso cd..
No reverse order of the entry.
And after that, it booted from hd. It does not like the change of entries on my machine. Now it works and I hope, it will tomorrow too.
Thanks
./qemu-system-ppc -L pc-bios -boot d -M mac99,via=pmu -m 512 -hda <hd image file> -cdrom <iso file of installation media> \
-netdev user,id=mynet0 -device sungem,netdev=mynet0
and it bootet from iso cd..
No reverse order of the entry.
And after that, it booted from hd. It does not like the change of entries on my machine. Now it works and I hope, it will tomorrow too.
Thanks