I''m just installing Windows Small Business Server under Xen, and it''s asking me for the second CD... I can just put it on a network somewhere but is it possible to change the current CD image on a running domain? Thanks James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Harper
2007-May-23 12:19 UTC
RE: [Xen-users] Changing the CD image on a running domain.
Okay... figured it out. For the benefit of anyone else: ''xm block-list <domain>'' will tell you the device number of the devices in the system (the first number is the one you want). ''xm block-detach <domain> <device number>'' will detach the device from the system. I had to add ''-f'' to the end to force the case. ''xm block-attach <domain> <backend device spec> <frontend device spec> r'' will add a cdrom back in, eg: ''xm block-attach cromac file:/installmedia/Microsoft/SBS2K3R2_x32_2_std.iso 1600 r'' added the device back in. 1600 is hex for 5632 which is what ''xm block-list'' gave me. Not sure why block-attach has to be specified in hex but block-list gives you decimal and block-detach accepts decimal. Under windows I had to right click on the drive and select ''eject'' a few times, and then wait a bit for it to acknowledge the new cdrom image. Not sure I''d be comfortable doing it on a writable filesystem. If there''s a better way to do it, please let me know!!! James> -----Original Message----- > From: xen-users-bounces@lists.xensource.com [mailto:xen-users- > bounces@lists.xensource.com] On Behalf Of James Harper > Sent: Wednesday, 23 May 2007 22:05 > To: xen-users@lists.xensource.com > Subject: [Xen-users] Changing the CD image on a running domain. > > I''m just installing Windows Small Business Server under Xen, and it''s > asking me for the second CD... I can just put it on a networksomewhere> but is it possible to change the current CD image on a running domain? > > Thanks > > James > > > _______________________________________________ > 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
Stephan Seitz
2007-May-23 12:20 UTC
Re: [Xen-users] Changing the CD image on a running domain.
I don''t know if this is possible in recent HVM builds, but You could give it a try and use the same shortcuts as in qemu. So ctrl-alt-1 and ctrl-alt-2 toggle between your guest and a minimal cli. you''ll probably use eject cdrom change cdrom someother.iso James Harper schrieb:> I''m just installing Windows Small Business Server under Xen, and it''s > asking me for the second CD... I can just put it on a network somewhere > but is it possible to change the current CD image on a running domain? > > Thanks > > James > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Stephan Seitz Senior System Administrator *netz-haut* e.K. multimediale kommunikation zweierweg 22 97074 würzburg fon: +49 931 2876247 fax: +49 931 2876248 web: www.netz-haut.de <http://www.netz-haut.de/> registriergericht: amtsgericht würzburg, hra 5054 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Harper
2007-May-23 12:27 UTC
RE: [Xen-users] Changing the CD image on a running domain.
> > I don''t know if this is possible in recent HVM builds, but You could > give it a try and use the same shortcuts as in qemu. > So ctrl-alt-1 and ctrl-alt-2 toggle between your guest and a minimal > cli. > you''ll probably use > eject cdrom > change cdrom someother.iso >Nice... I''ll give that a go once it has finished with the current CD (probably tomorrow... I need some sleep now!). Much nicer than the way I ended up doing the first CD! Thanks James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Harper
2007-May-24 00:10 UTC
RE: [Xen-users] Changing the CD image on a running domain.
> > > > I don''t know if this is possible in recent HVM builds, but You could > > give it a try and use the same shortcuts as in qemu. > > So ctrl-alt-1 and ctrl-alt-2 toggle between your guest and a minimal > > cli. > > you''ll probably use > > eject cdrom > > change cdrom someother.iso > > > > Nice... I''ll give that a go once it has finished with the current CD > (probably tomorrow... I need some sleep now!). Much nicer than the wayI> ended up doing the first CD! >Yep. That worked. I had to right click on the CD drive under Windows and do eject before Windows would acknowledge that the media had changed though. Thanks again. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users