Virtual machines running on XenServer support up to seven virtual disk devices. To add more than one CD/DVD drive to a virtual machine, follow these steps: Run this command to find the UUID of the virtual machine, to which a new virtual CD drive should be added: xe vm-list name-label=virtual_machine_nameCopy Check availability of device numbers for your virtual machine. Run the following command and check the value of “userdevice”: xe vm-disk-list uuid=virtual_machine_uuidCopy Have a look at the highest value. If the highest value for “userdevice” is 2, use 3 for the next step. Run the following command and find a free VBD number: xe vm-param-list uuid=VM_UUID | grepCopy Run the command below to add a new CD-ROM drive: xe vm-cd-add uuid=VM_UUID device=unused_device_number_from_Step_3Copy For a newer version: xe vm-cd-add vm=VM_UUID device=unused_device_number_from_Step_3 cd-name=name_isoCopy Open XenCenter to check if the new CD drive is available. Remember there’s a total limit for the number of virtual devices. For virtual disks, including CD-ROMs, this limited number is seven. Insert the ISO into the DVD drive of the virtual machine. To remove a device, if necessary, use this command: xe vm-cd-remove uuid=VM_UUID cd-name=name_ISO_mounted_in_the_device_to_be_removedCopy You may be suggested to paste the option cd-name. cd-name is the exact name of the ISO in one of the ISO repositories.