Possible to have more than 1 cd recognized?
Moderators: Cat_7, Ronald P. Regensburg
Possible to have more than 1 cd recognized?
I was wondering if it's possible to have more than 1 cd recognized in Qemu?
Re: Possible to have more than 1 cd recognized?
Certainly,
just add a second one to the command line:
-drive file=cd1.iso,format=raw,media=cdrom \
-drive file=cd2.iso,format=raw,media=cdrom \
Best,
Cat_7
just add a second one to the command line:
-drive file=cd1.iso,format=raw,media=cdrom \
-drive file=cd2.iso,format=raw,media=cdrom \
Best,
Cat_7
Re: Possible to have more than 1 cd recognized?
Awesome! Thanks!
Re: Possible to have more than 1 cd recognized?
So, I'm tying to add 3 cds to the command line like so:
and this is what I get in the output in Terminal:
Does Qemu not support more than 2 cds at a time? What I wanted to try and do was use all of the Living Books iso/toast images that I have (all sourced from my own cds).
Code: Select all
./qemu-system-ppc -L pc-bios -boot c -M mac99 -cpu G4 -m 768 -prom-env 'auto-boot?=true' -prom-env 'boot-args=-v' -drive file=MacintoshHD.dmg,format=raw,media=disk -drive file=AdobeMac.dmg,format=raw,media=disk -drive file=Arthur.iso,format=raw,media=cdrom -drive file=IN_THE_DARK.iso,format=raw,media=cdrom -drive file=ArthursTeacherTrouble.iso,format=raw,media=cdrom -netdev user,id=network01 -device sungem,netdev=network01 -device VGA,edid=on
Code: Select all
qemu-system-ppc: -drive file=ArthursTeacherTrouble.iso,format=raw,media=cdrom: machine type does not support if=ide,bus=2,unit=0
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
Re: Possible to have more than 1 cd recognized?
I see you are adding 5 drives.
Qemu-system-ppc supports 4 drives: ide1 master and slave (this will be bus0), and ide2 master and slave (this will be bus1). A third bus (bus2) is not supported, and that is probably why you get the error.
So what it comes down to is if you can do without the AdobeMac.dmg drive, you should be OK.
Best,
Cat_7
Code: Select all
./qemu-system-ppc -L pc-bios -boot c -M mac99 -cpu G4 -m 768 \
-prom-env 'auto-boot?=true' -prom-env 'boot-args=-v' \
-drive file=MacintoshHD.dmg,format=raw,media=disk \
-drive file=AdobeMac.dmg,format=raw,media=disk \
-drive file=Arthur.iso,format=raw,media=cdrom \
-drive file=IN_THE_DARK.iso,format=raw,media=cdrom \
-drive file=ArthursTeacherTrouble.iso,format=raw,media=cdrom \
-netdev user,id=network01 -device sungem,netdev=network01 -device VGA,edid=on
So what it comes down to is if you can do without the AdobeMac.dmg drive, you should be OK.
Best,
Cat_7
Re: Possible to have more than 1 cd recognized?
Hi,
Thanks to some pointers by Zoltan, I have now found out you can add an additional usb controller to qemu and attach an additional cdrom to it (and more...) This seems to work with Mac OS 9.2 guest. OSX guest complains about the drive being unreadable.
Add this to your command line and change -drive line to the correct path to the cdrom iso you want to add.
-device pci-ohci,id=ohci \
-drive if=none,id=cdrom,file=/home/hsp/Mac-images/9.1.iso,format=raw,media=cdrom \
-device usb-storage,bus=ohci.0,drive=cdrom
Best,
Cat_7
Thanks to some pointers by Zoltan, I have now found out you can add an additional usb controller to qemu and attach an additional cdrom to it (and more...) This seems to work with Mac OS 9.2 guest. OSX guest complains about the drive being unreadable.
Add this to your command line and change -drive line to the correct path to the cdrom iso you want to add.
-device pci-ohci,id=ohci \
-drive if=none,id=cdrom,file=/home/hsp/Mac-images/9.1.iso,format=raw,media=cdrom \
-device usb-storage,bus=ohci.0,drive=cdrom
Best,
Cat_7