SUSE Support

Here When You Need Us

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.

Environment

SUSE Linux Enterprise Server 10
 

Situation

Xen with full virtualization

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.

Resolution

Setting is as follows:

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
xm block-list domX
gives the necessary data. For example:
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:
xenstore-read /local/domain/0/backend/vbd/37/5632/params
this will give
nil:/etc/xen/vm
# xenstore-read /local/domain/0/backend/vbd/37/5632/params
/iso/en_sbs_2003_cd1.iso
so 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 NEWNAME
e.g.
xenstore-write /local/domain/0/backend/vbd/2/5632/params
/iso/en_sbs_2003_cd3.iso
after which /iso/en_sbs_2003_cd3.iso is the new cdrom available to domX.


 

Disclaimer

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

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.