Login  •  Register


The time is now: Fri Apr 03, 2020 8:00 am

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 1 of 1 [ 6 posts ]
Print view Previous topic  |  Next topic
Author Message
PostPosted: Wed Dec 11, 2019 2:18 am 
Offline
Tinkerer
User avatar

Joined: Wed Jun 18, 2008 5:53 am
Posts: 90
I was wondering if it's possible to have more than 1 cd recognized in Qemu?


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Dec 11, 2019 5:54 am 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 4812
Location: Sittard, The Netherlands
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


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Wed Dec 11, 2019 8:14 pm 
Offline
Tinkerer
User avatar

Joined: Wed Jun 18, 2008 5:53 am
Posts: 90
Awesome! Thanks!


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sat Dec 21, 2019 8:52 pm 
Offline
Tinkerer
User avatar

Joined: Wed Jun 18, 2008 5:53 am
Posts: 90
So, I'm tying to add 3 cds to the command line like so:
Code:
./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


and this is what I get in the output in Terminal:
Code:
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]

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).


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sat Dec 21, 2019 11:12 pm 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 4812
Location: Sittard, The Netherlands
I see you are adding 5 drives.

Code:
./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


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


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Tue Dec 24, 2019 12:00 pm 
Offline
Expert User
User avatar

Joined: Fri Feb 13, 2004 8:59 am
Posts: 4812
Location: Sittard, The Netherlands
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


Top
 Profile  
Reply with quote Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 1 of 1 [ 6 posts ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
 

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group