QEMU does not open

About QEMU, 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
Needalotofhelp
Student Driver
Posts: 10
Joined: Fri Aug 21, 2020 2:09 am

QEMU does not open

Post by Needalotofhelp »

The guide for Windows says to start QEMU by double clicking on qemu.bat but unfortunately it doesn't work. I double click and a window pops up but then it just closes. Here's the text in the .bat file to help with troubleshooting.

qemu-system-ppc.exe -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=osxpanther.img,format=raw,media=disk ^
-drive file=Apple Mac OS X 10.3.0 - Disk 1.iso,format=raw,media=cdrom ^
-sdl ^
-netdev user,id=network01 -device sungem,netdev=network01 ^
-device VGA,edid=on
In case you're wondering, the iso is "Apple Mac OS X 10.3.0 - Disk 1.iso and the .img file is osxpanther.img. If I formatted this incorrectly or if there is another underlying issue please let me know.
User avatar
Cat_7
Expert User
Posts: 5020
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: QEMU does not open

Post by Cat_7 »

If you have a file name with spaces in it, you need to use " " around the path and name.

This will work:
-drive file="Apple Mac OS X 10.3.0 - Disk 1.iso",format=raw,media=cdrom ^

If you want to boot from the cd, you need to set -boot d

Best,
Cat_7
Needalotofhelp
Student Driver
Posts: 10
Joined: Fri Aug 21, 2020 2:09 am

Re: QEMU does not open

Post by Needalotofhelp »

I'm still having the same issue. I try to open the application but a window pops up then closes.

Here's the revised version.
qemu-system-ppc.exe -L pc-bios -boot d -M mac99,via=pmu -m 512 ^
-prom-env "auto-boot?=true" -prom-env "boot-args=-v" -prom-env "vga-ndrv?=true" ^
-drive file=osxpanther.img,format=raw,media=disk ^
-drive file="Apple Mac OS X 10.3.0 - Disk 1.iso",format=raw,media=cdrom ^
-sdl ^
-netdev user,id=network01 -device sungem,netdev=network01 ^
-device VGA,edid=on
User avatar
Cat_7
Expert User
Posts: 5020
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: QEMU does not open

Post by Cat_7 »

This indicates something is wrong in your qemu.bat. Add a line to qemu.bat that says: pause
like this:

qemu-system-ppc.exe -L pc-bios -boot d -M mac99,via=pmu -m 512 ^
-prom-env "auto-boot?=true" -prom-env "boot-args=-v" -prom-env "vga-ndrv?=true" ^
-drive file=osxpanther.img,format=raw,media=disk ^
-drive file="Apple Mac OS X 10.3.0 - Disk 1.iso",format=raw,media=cdrom ^
-sdl ^
-netdev user,id=network01 -device sungem,netdev=network01 ^
-device VGA,edid=on
pause

This will keep the window open and should give an indication of what's wrong.

Best,
Cat_7
Needalotofhelp
Student Driver
Posts: 10
Joined: Fri Aug 21, 2020 2:09 am

Re: QEMU does not open

Post by Needalotofhelp »

Thanks so much! I moved the folder to the desktop, and it worked flawlessly. Thanks for the help!
Post Reply