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? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
The documentation says to use "xm block-detach" and "xm block-attach" EXAMPLES Mount an ISO as a Disk xm block-attach guestdomain file://path/to/dsl-2.0RC2.iso /dev/hdc ro I''m sure you can do the same with a phy:/ for physical disks... John Morris wrote:> 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? > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> Hi. I have a windows xp DomU running and it only remembers the lastCD> that was used in the physical drive. So if I want to installsomething> with multiple CD''s, I''m kind of out of luck, as it doesn''t refreshwhen 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@lists.xensource.com http://lists.xensource.com/xen-users
> " > 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 justspecify> 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. >One small correction, I found that I always had to do the ''invalid device'' thing first, eg: " xm block-configure bitdc02 phy:/dev/null hdc:cdrom r sleep 1 xm block-configure bitdc02 phy:/installmedia/Microsoft/W2K3R2_x32_2_ent.iso hdc:cdrom r " Or else windows would never see the change, unless I did a right click ''eject'' on the device under windows. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users