Change disk/CD-ROM/DVD during full virtualization installation (XEN)
This document (3172795) is provided subject to the disclaimer at the end of this document.
During installation of some software in full virtualization there is the need to change the CD. An example would be the Small Business Server which consists of 4 CDs. The assumption is that the CDs are on the machine as ISO Files and now there is a need to change CDs.
The virtual machine to be installed is named "windows2k".
The ISO images of the CDs are in/isoon dom0.
First it is necessary to find the path to the resource, for this a
nil:/etc/xen/vm # xm block-list windows2k Vdev BE handle state evt-ch ring-ref BE-path 768 0 0 1 -1 -1 /local/domain/0/backend/vbd/37/768 5632 0 0 1 -1 -1 /local/domain/0/backend/vbd/37/5632
The virtual block devices are listed in the order of configuration, so the second entry is for the iso of CD 1.This can be verified by querying the virtual block device with /params appended to it:
nil:/etc/xen/vm # xenstore-read /local/domain/0/backend/vbd/37/5632/params /iso/en_sbs_2003_cd1.isoso at the moment the cdrom in the domX is pointing at the iso in /iso/en_sbs_2003_cd1.iso on the dom0.
This can now be changed with
xenstore-write /local/domain/0/backend/vbd/2/5632/params /iso/en_sbs_2003_cd3.isoafter which /iso/en_sbs_2003_cd3.iso is the new cdrom available to domX.
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:3172795
- Creation Date: 09-Jan-2008
- Modified Date:16-Mar-2021
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: firstname.lastname@example.org