WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] Changing CD's on DomU

To: "John Morris" <frankenbean@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Changing CD's on DomU
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Sat, 14 Jul 2007 23:01:15 +1000
Delivery-date: Sat, 14 Jul 2007 05:59:17 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <f795c1c0707131120wce4104ay272c9fbc14b568eb@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <f795c1c0707131120wce4104ay272c9fbc14b568eb@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcfFesRgCs8xdFGcTumiTN3j2/QbNAAmxzmQ
Thread-topic: [Xen-users] Changing CD's on DomU
> Hi.  I have a windows xp DomU running and it only remembers the last
CD
> that was used in the physical drive.  So if I want to install
something
> with multiple CD's, I'm kind of out of luck, as it doesn't refresh
when  I
> put in a new CD.  Is there a workaround for this?

Maybe right click and eject the CD from within windows?

Failing that, you might just be able to use 'xm block-configure' to
reconfigure the disk to exactly the same block device...

The syntax is pretty straightforward:

"
xm block-configure <Domain> <BackDev> <FrontDev> <Mode>
"

Where <domain> is the name of the domain (from xm list), <backdev> is
the Dom0 block device (the first bit in the 'disk=' line in the config,
<frontdev> is the DomU block device (the second bit in the 'disk=' line
in the config), and mode is the access mode (the third bit in the
'disk=' line in the config).

So... the disk= line in my config file looks like ('scuse the line
wrapping):

"
disk = [ 'phy:/dev/vg00/virt-bitdc02-0,hda,w',
'phy:/installmedia/Microsoft/W2K3R2_x32_1_ent.iso,hdc:cdrom,r' ]
"

and I want to change the CD to the '.../W2K3R2_x32_2_ent.iso' (the
second install CD), I would issue the command:

"
xm block-configure bitdc02
phy:/installmedia/Microsoft/W2K3R2_x32_2_ent.iso hdc:cdrom r
"

I'm using iso images, but the same thing should work if you just specify
the same device again for a physical CD drive, or maybe specify an
invalid device first, wait a few seconds, then specify the original
device again.

HTH

James


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>