Skip to contentSkip to conversation

Using QEMU to run Win98 and up in Mac OS

Qemu-devel jcjalp 2 participants 3 messages Mar 12, 2005

lore
Share & tools
lore

jcjalp

author
#0 lore raw

I have the Windows98 CD.

I have downloded the latest QEMU Mac OS X installer from the qemu website.

I have to edit the configuration/command line to get it working, to no avail.

Can someone send me:

1. The sequence of commands/events I need to do to get the qemu started?

2. If there are specific tools - where / how can I get them?

Your assistance would be greatly apprecaited.

Jose @ mailto:[email protected]

PS. Mac system is a PowerBook G4

#1 lore raw

You need to create a hard disk image first (1 gigabyte is fine for Windows). You also need a boot disk (bootdisk.com) to start the setup program on the Windows 98 CD-ROM. (Why the Win9x discs weren't bootable... I don't know, ask Microsoft)

QEMU's command is pretty simple:
qemu -hda win98.hd -cdrom /dev/cdrom -fda bootdisk.fd -boot a

the -hda parameter is for the first hard disk in the virtual system. -cdrom is for the cdrom, -fda is for the first floppy, and -boot is the first boot device.

When Windows 98 wants to reboot for the first time, reboot but exit QEMU when it does so. Then remove the floppy and boot parameters. It should boot from the hard disk, as Win98 expects.

#2 lore raw

Mike,

First of all, thanks !

Second,

1. When you talk about creating a hard disk image, can I use one of those 3 GB empty (*.bz2) images available on sites like PearPC and such?

2. I am also assuming that in you command line below, win98.hd is that image.

3. Since you also have /dev/cdrom, I am assuming that I need to put the Win98SE disk in the Mac cd drive . Right?

Jose

Quoted 19 lines · Mike Swanson

You need to create a hard disk image first (1 gigabyte is fine for Windows). You also need a boot disk (bootdisk.com) to start the setup program on the Windows 98 CD-ROM. (Why the Win9x discs weren't bootable... I don't know, ask Microsoft)

QEMU's command is pretty simple:
qemu -hda win98.hd -cdrom /dev/cdrom -fda bootdisk.fd -boot a

the -hda parameter is for the first hard disk in the virtual system. -cdrom is for the cdrom, -fda is for the first floppy, and -boot is the first boot device.

When Windows 98 wants to reboot for the first time, reboot but exit QEMU when it does so. Then remove the floppy and boot parameters. It should boot from the hard disk, as Win98 expects.