Qemu Not seeing hda

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
User avatar
eawo2k4
Student Driver
Posts: 22
Joined: Thu Jul 27, 2017 12:23 am

Qemu Not seeing hda

Post by eawo2k4 »

Image

I can get Mac OS boot up but qemu won't let me put the hda in
User avatar
adespoton
Forum All-Star
Posts: 4274
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: Qemu Not seeing hda

Post by adespoton »

What's your command line look like? (your image doesn't load for me).
User avatar
eawo2k4
Student Driver
Posts: 22
Joined: Thu Jul 27, 2017 12:23 am

Re: Qemu Not seeing hda

Post by eawo2k4 »

I was using the command from the tutorial on this site this command, drive file=MacOS9.2.img,format=raw,media=disk. looks like i'm doing this wrong I think. it just says Couldn't open, and system cannot find the file specified
User avatar
Cat_7
Expert User
Posts: 6171
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu Not seeing hda

Post by Cat_7 »

We need to see your whole command line.
Just copy/paste the content in your answer.

Do you have the image file in the same folder as qemu-system-ppc ?

Best,
Cat_7
User avatar
eawo2k4
Student Driver
Posts: 22
Joined: Thu Jul 27, 2017 12:23 am

Re: Qemu Not seeing hda

Post by eawo2k4 »

Image
How about now?
User avatar
Ronald P. Regensburg
Expert User
Posts: 7830
Joined: Thu Feb 09, 2006 10:24 pm
Location: Amsterdam, Netherlands

Re: Qemu Not seeing hda

Post by Ronald P. Regensburg »

This is not what Cat_7 asked for.

Copy your command line, the whole command line, and paste it here in your reply.

And answer his question:
Do you have the image file in the same folder as qemu-system-ppc ?
User avatar
eawo2k4
Student Driver
Posts: 22
Joined: Thu Jul 27, 2017 12:23 am

Re: Qemu Not seeing hda

Post by eawo2k4 »

Sorry I got confuse it's been a long day for me and the img is in the folder am I doing it wrong?


qemu-system-PPC -boot d -drive file=MacOS9.2.img,format=raw,media=disk -cdrom macos_921_ppc.iso -m 1024 -M mac99,via=pmu -sdl
Adam P
Tinkerer
Posts: 67
Joined: Wed Mar 31, 2010 11:55 pm
Location: Maine, U.S.
Contact:

Re: Qemu Not seeing hda

Post by Adam P »

The command line parser is including all of the options in the file name path.

Try putting the file= at the end instead of at the beginning:

Code: Select all

-drive format=raw,media=disk,file=MacOS9.2.img
User avatar
eawo2k4
Student Driver
Posts: 22
Joined: Thu Jul 27, 2017 12:23 am

Re: Qemu Not seeing hda

Post by eawo2k4 »

So I did that MacOS still doesn't see it, opens up but doesn't show it
User avatar
Cat_7
Expert User
Posts: 6171
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu Not seeing hda

Post by Cat_7 »

Your host seems to run Linux? How did you install Qemu?
Can you boot MacOS from the CD image only?

If the hard disk image cannot be found that means that either the name is not correct or the path to the image is not correct.
Or that the file does not exist. Did you create the file with qemu-img?

Best,
Cat_7
User avatar
eawo2k4
Student Driver
Posts: 22
Joined: Thu Jul 27, 2017 12:23 am

Re: Qemu Not seeing hda

Post by eawo2k4 »

Cat I'm using windows not Linux. and I download Qemu for Qemu Website
User avatar
Cat_7
Expert User
Posts: 6171
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu Not seeing hda

Post by Cat_7 »

Please answer our questions, otherwise it will be difficult to help you.

Ok. You installed Qemu from the Qemu website. You used an installer from here?:
https://qemu.weilnetz.de/w64/

If so, Qemu is installed in the program files folder.
Did you put your macos_921_ppc.iso image in that folder? And also the hard disk image?

If you have the cd image and hard disk image in some other folder, you need to tell Qemu where the cd image and the hard disk image are located.

To boot from the cd image, this works at my place:
Open a Command prompt:

cd /Program Files/qemu
qemu-system-ppc.exe -boot d -m 1024 -M mac99,via=pmu -sdl -drive file=C:/mac-images/921.iso,format=raw,media=cdrom

Adjust the command line to where your iso is located.

Best,
Cat_7
User avatar
eawo2k4
Student Driver
Posts: 22
Joined: Thu Jul 27, 2017 12:23 am

Re: Qemu Not seeing hda

Post by eawo2k4 »

Yes I installed from that site and Images are in the qemu folder and I open the command promp and I typed this





qemu-system-ppc -boot d -m 1024 -M mac99,via=pmu -sdl -cdrom macos_921_ppc.iso -drive file=C:\Program Files\qemuMacOS9.2.img,format=raw,media=disk The Qemu opened up but the Virtual Hard disk isn't showing
User avatar
Cat_7
Expert User
Posts: 6171
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu Not seeing hda

Post by Cat_7 »

This is normal. You need to use the drive setup program on the cd to initialize the hard disk before it shows up on the desktop.

Best,
Cat_7
User avatar
eawo2k4
Student Driver
Posts: 22
Joined: Thu Jul 27, 2017 12:23 am

Re: Qemu Not seeing hda

Post by eawo2k4 »

Got it working Thank you! but now the sound isn't working which is odd.
User avatar
Cat_7
Expert User
Posts: 6171
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu Not seeing hda

Post by Cat_7 »

This is not odd. The qemu-system-ppc you installed does not support sound yet.

Sound support is only available with our experimental Qemu builds here (or if you compile your own version from the correct source code):
https://www.emaculation.com/forum/viewt ... =34&t=9028

Download the 01-05-2020 experimental build with sound support. Put all of the download in a separate folder and use our guide:
https://www.emaculation.com/doku.php/pp ... or-windows

Best,
Cat_7
User avatar
eawo2k4
Student Driver
Posts: 22
Joined: Thu Jul 27, 2017 12:23 am

Re: Qemu Not seeing hda

Post by eawo2k4 »

So I did the tutorial is there command for the sound?
User avatar
Cat_7
Expert User
Posts: 6171
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu Not seeing hda

Post by Cat_7 »

No,

If you use all of the download I pointed to then sound will work.

Best,
Cat_7
User avatar
eawo2k4
Student Driver
Posts: 22
Joined: Thu Jul 27, 2017 12:23 am

Re: Qemu Not seeing hda

Post by eawo2k4 »

ah okay then, One more thing Please When I try to run Mac OS x 10.1 Why does it say MacHD has been disable it is not within the first 8GB of the disk I put like at least 60GB in but Confuse on why it doesn't work
User avatar
Cat_7
Expert User
Posts: 6171
Joined: Fri Feb 13, 2004 8:59 am
Location: Sittard, The Netherlands

Re: Qemu Not seeing hda

Post by Cat_7 »

If your read the installation instructions for OSX 10.1, I guess it will say that the first partition cannot be larger than 8 Gb, otherwise the OS cannot boot from it. This is a limitation of the OS. So, partition your disk to have a 8 Gb first partition and a large second partition. Or use two disks. One smaller than 8Gb one for OSX and one large one for everything else.

Best,
Cat_7
Post Reply