qemu-img doesn't seem to do anything

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
Someone
Space Cadet
Posts: 4
Joined: Sun Feb 27, 2022 7:58 am

qemu-img doesn't seem to do anything

Post by Someone »

When I tried to create a sparse image using qemu-img, I got this result:

Code: Select all

\qemu-img.exe create -f qcow2 -o size=20G MacOS103.qcow2
Formatting 'MacOS103.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=21474836480 lazy_refcounts=off refcount_bits=16

C:\Users\Someone>m
It looks like its doing something, but I don't see a disk image in the qemu directory. And yes, I did get the same result when I tried making a raw image using the instructions in the guide.
User avatar
Cat_7
Expert User
Posts: 6145
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: qemu-img doesn't seem to do anything

Post by Cat_7 »

Hi,

I just tested the latest qemu for windows download we provide.
It creates the qcow2 file just fine with:

qemu-img.exe create -f qcow2 -o size=20G MacOS103.qcow2

cd to the folder in which qemu-img.exe is located and issue the command. The file is created in the same location.

Best,
Cat_7
User avatar
adespoton
Forum All-Star
Posts: 4227
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: qemu-img doesn't seem to do anything

Post by adespoton »

Also worth noting, since you're likely not using snapshotting with OS X PPC, you can also use the -c flag to enable basic compression on the qcow2 files. It doesn't slow the I/O down much over regular qcow2, but can halve the file size.
Someone
Space Cadet
Posts: 4
Joined: Sun Feb 27, 2022 7:58 am

Re: qemu-img doesn't seem to do anything

Post by Someone »

Now its working, thanks.
Post Reply