LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   qemu with more than just one DVD drive? (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/qemu-with-more-than-just-one-dvd-drive-4175716535/)

gregors 09-07-2022 08:09 PM

qemu with more than just one DVD drive?
 
Hi there,

I want to set up a qemu machine. Is it possible to have more than just one CD/DVD drive and have all 3 (6 see PS) of the DVD images/ISOs in them?

TIA

Gregor

PS: Concrete scenario: There are 3 "base" and 3 "update" DVDs for Debian 7, so I'd like to have all of them in 6 virtual DVD drives.

PPS: Marked thread as solved. Using
-----------------------------------------
qemu-system-x86_64 -hda platte.raw \
-m 4G \
-smp 3 \
-netdev tap,ifname=tap0,id=tap0,script=no,downscript=no \
-device e1000,netdev=tap0 \
-enable-kvm \
-drive file=/home/gszaktilla/dokumente/platz/wheezy/debian-7.11.0-amd64-DVD-1.iso,media=cdrom \
-drive file=/home/gszaktilla/dokumente/platz/wheezy/debian-7.11.0-amd64-DVD-2.iso,media=cdrom \
-drive file=/home/gszaktilla/dokumente/platz/wheezy/debian-7.11.0-amd64-DVD-3.iso,media=cdrom \
-usb
-----------------------------------------
does it. Trying to use more than three of those drive lines resulted in error messages.

boughtonp 09-08-2022 04:35 PM

Quote:

Originally Posted by gregors (Post 6378758)
PPS: Marked thread as solved. Using
-----------------------------------------
qemu-system-x86_64 -hda platte.raw \
-m 4G \
-smp 3 \
-netdev tap,ifname=tap0,id=tap0,script=no,downscript=no \
-device e1000,netdev=tap0 \
-enable-kvm \
-drive file=/home/gszaktilla/dokumente/platz/wheezy/debian-7.11.0-amd64-DVD-1.iso,media=cdrom \
-drive file=/home/gszaktilla/dokumente/platz/wheezy/debian-7.11.0-amd64-DVD-2.iso,media=cdrom \
-drive file=/home/gszaktilla/dokumente/platz/wheezy/debian-7.11.0-amd64-DVD-3.iso,media=cdrom \
-usb
-----------------------------------------
does it. Trying to use more than three of those drive lines resulted in error messages.

It's better if you post solutions as a follow-up post, because:

1) it removes the thread from the list of "Zero Reply Threads".
2) it causes anyone who might have subscribed to get notified (which editing doesn't do).



All times are GMT -5. The time now is 06:12 PM.