QEMU Freezing When Trying to Initialize Hard Drive

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
Noseybonk
Student Driver
Posts: 10
Joined: Tue Aug 18, 2020 6:17 pm

QEMU Freezing When Trying to Initialize Hard Drive

Post 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 ^
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: QEMU Freezing When Trying to Initialize Hard Drive

Post 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
Noseybonk
Student Driver
Posts: 10
Joined: Tue Aug 18, 2020 6:17 pm

Re: QEMU Freezing When Trying to Initialize Hard Drive

Post 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.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: QEMU Freezing When Trying to Initialize Hard Drive

Post 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
Noseybonk
Student Driver
Posts: 10
Joined: Tue Aug 18, 2020 6:17 pm

Re: QEMU Freezing When Trying to Initialize Hard Drive

Post 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.
User avatar
24bit
Forum All-Star
Posts: 1424
Joined: Wed Nov 11, 2009 5:47 pm
Location: Germany

Re: QEMU Freezing When Trying to Initialize Hard Drive

Post 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.
Noseybonk
Student Driver
Posts: 10
Joined: Tue Aug 18, 2020 6:17 pm

Re: QEMU Freezing When Trying to Initialize Hard Drive

Post 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!
User avatar
24bit
Forum All-Star
Posts: 1424
Joined: Wed Nov 11, 2009 5:47 pm
Location: Germany

Re: QEMU Freezing When Trying to Initialize Hard Drive

Post 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.
Noseybonk
Student Driver
Posts: 10
Joined: Tue Aug 18, 2020 6:17 pm

Re: QEMU Freezing When Trying to Initialize Hard Drive

Post 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.
Post Reply