Page 1 of 1

QEMU Freezing When Trying to Initialize Hard Drive

Posted: Tue Aug 18, 2020 6:28 pm
by Noseybonk
Hello.

I am having an issue getting OS 9.2.2 installed. Every time I try to initialize a new hard drive it fails and than QEMU freezes. I got it to work once with no issues after adding ,cache=writeback and had it up and running, but I wanted to make a new, bigger hard drive. It has failed every time since than. Most frustrating of all, I accidentally wrote over the .img that was working so I am at square one again. My qemu.bat looks 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=MacOS9.2.2.iso,format=raw,media=cdrom ^
-drive file=MacOS9.2.2.img,format=raw,media=disk,cache=writeback ^
-sdl ^
-netdev user,id=network01 -device sungem,netdev=network01 ^
-device VGA,edid=on ^

Re: QEMU Freezing When Trying to Initialize Hard Drive

Posted: Tue Aug 18, 2020 7:37 pm
by Cat_7
Hi, and welcome,

From where did you get Qemu, which version is it?
How big is the disk image you created? Is your host Windows 10?

Best,
Cat_7

Re: QEMU Freezing When Trying to Initialize Hard Drive

Posted: Tue Aug 18, 2020 8:08 pm
by Noseybonk
I have version 4.1-06-09-2019. I got it from the surfdrive link from the https://www.emaculation.com/forum/viewt ... =34&t=9028 thread. I am using Windows 10.

Re: QEMU Freezing When Trying to Initialize Hard Drive

Posted: Tue Aug 18, 2020 8:34 pm
by Cat_7
I see,

This unusual. However, in the past running Qemu on Windows 10 suffered from this problem. It could be solved then by running qemu-system-ppc in Windows 7 compatibility mode.

How big is the image you try to initialize?

You might also try one of the experimental builds, particularly the one dated 11-05-2020:
https://surfdrive.surf.nl/files/index.p ... g/download

Best,
Cat_7

Re: QEMU Freezing When Trying to Initialize Hard Drive

Posted: Tue Aug 18, 2020 9:26 pm
by Noseybonk
Well, I've tried setting it to Windows 7 compatibility mode and tried the 11-05-2020 experimental build in Windows 7 compatibility mode, but it keeps failing to initialize the hard drive and locking up. The image I just tried was 100 GB, but it was doing the same for a 2 GB one previously.

Re: QEMU Freezing When Trying to Initialize Hard Drive

Posted: Wed Aug 19, 2020 10:30 am
by 24bit
As posted in another thread, this bootable image (MacOS 9.2) is still online:
https://www.magentacloud.de/lnk/zq4MpCru
Please feel free to try.

Re: QEMU Freezing When Trying to Initialize Hard Drive

Posted: Wed Aug 19, 2020 1:18 pm
by Noseybonk
Well that definitely works. Now I can use it at least. I can keep trying to see if I can get my own, but this gets me in there at least. Thanks!

Re: QEMU Freezing When Trying to Initialize Hard Drive

Posted: Wed Aug 19, 2020 2:52 pm
by 24bit
You might duplicate the boot disk image in Windows, mount it as second device for QemuPPC and format HFS/HFS+ to see whether that is working as it should.

Re: QEMU Freezing When Trying to Initialize Hard Drive

Posted: Wed Aug 19, 2020 9:39 pm
by Noseybonk
Well, formatting a copy if the boot disk image worked. Trying to format a .image file still causes a hangup. Doing a .qcow2 file on the other hand works even with one set to 100 GB, so I'm just going to use that.