Hi all, My server is SLES10 - SP1 and xen 3.0.4 when I try to install a redhat , centos guests, I notice two different cases occur always: 1- after installation complete from CD1 (iso file on local disk), I cannot change the cdrom to take the second cd I tried to remove the block device by "xm block-detach" and then attach the second cd, this method success with SLES guests but in RedHat guests it fails. 2- sometimes after I boot from CD1 to start installation, and test the CD by redhat installer, it gives me an error that it cannot access the cd or no media in the cd drive. anyone can help me in this issues? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I tried that and not work it tills me that there is no media in drive On 9/11/07, Rama Krishna <hydprk@gmail.com> wrote:> > try this #xm block-detach >device id> --force > > On 9/11/07, Mohammad Zohny <mohamad.zohny@gmail.com> wrote: > > > Hi all, > > My server is SLES10 - SP1 and xen 3.0.4 > > when I try to install a redhat , centos guests, I notice two different > > cases occur always: > > > > 1- after installation complete from CD1 (iso file on local disk), I > > cannot change the cdrom to > > take the second cd > > I tried to remove the block device by "xm block-detach" and then attach > > the second cd, this method > > success with SLES guests but in RedHat guests it fails. > > > > 2- sometimes after I boot from CD1 to start installation, and test the > > CD by redhat installer, it gives me an error > > that it cannot access the cd or no media in the cd drive. > > > > > > anyone can help me in this issues? > > > > _______________________________________________ > > 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
Solution 1: get a DVD iso, or copy the contents from all CDs to a directory, export it via NFS (or put on an HTTP server) and do a network install. Solution 2: [root@su6505xen02 ~]# xm block-list dc10 Vdev BE handle state evt-ch ring-ref BE-path 768 0 0 1 -1 -1 /local/domain/0/backend/vbd/4/768 5632 0 0 1 -1 -1 /local/domain/0/backend/vbd/4/5632 It has 2 VBDs. The first, I guess is the HD. The second, the CD. Let''s make sure it is: [root@su6505xen02 ~]# xenstore-ls /local/domain/0/backend/vbd/4/5632 domain = "dc10" frontend = "/local/domain/4/device/vbd/5632" uuid = "9feb5261-be61-3f28-a7d4-d3245981a700" dev = "hdc" state = "2" params = "/something/cd1.iso" mode = "r" online = "1" frontend-id = "4" type = "" hotplug-status = "connected" Well, right on! Now, let''s change media (or "params"): [root@su6505xen02 ~]# xenstore-write /local/domain/0/backend/vbd/4/5632/params /something/cd2.iso Now, inside the VM, I can see the new CD. PS: that was done on a fully virtualised guest. But I think it should work the same on a PV. If not, you can still install your domU as a full virtual, then use the PV kernel, initrd and change config. Cheers. On 9/11/07, Mohammad Zohny <mohamad.zohny@gmail.com> wrote:> > I tried that and not work > it tills me that there is no media in drive > > > On 9/11/07, Rama Krishna <hydprk@gmail.com > wrote: > > > > try this #xm block-detach >device id> --force > > > > On 9/11/07, Mohammad Zohny <mohamad.zohny@gmail.com > wrote: > > > > > Hi all, > > > My server is SLES10 - SP1 and xen 3.0.4 > > > when I try to install a redhat , centos guests, I notice two different > > > cases occur always: > > > > > > 1- after installation complete from CD1 (iso file on local disk), I > > > cannot change the cdrom to > > > take the second cd > > > I tried to remove the block device by "xm block-detach" and then > > > attach the second cd, this method > > > success with SLES guests but in RedHat guests it fails. > > > > > > 2- sometimes after I boot from CD1 to start installation, and test the > > > CD by redhat installer, it gives me an error > > > that it cannot access the cd or no media in the cd drive. > > > > > > > > > anyone can help me in this issues? > > > > > > _______________________________________________ > > > 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 >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mohammad-san, I believe this helps you. https://secure-support.novell.com/KanisaPlatform/Publishing/246/3172795_f.SAL_Public.html Regards, Takekazu Okamoto Novell Japan>>> "Mohammad Zohny" <mohamad.zohny@gmail.com> 2007/09/11 19:56 >>>Hi all, My server is SLES10 - SP1 and xen 3.0.4 when I try to install a redhat , centos guests, I notice two different cases occur always: 1- after installation complete from CD1 (iso file on local disk), I cannot change the cdrom to take the second cd I tried to remove the block device by "xm block-detach" and then attach the second cd, this method success with SLES guests but in RedHat guests it fails. 2- sometimes after I boot from CD1 to start installation, and test the CD by redhat installer, it gives me an error that it cannot access the cd or no media in the cd drive. anyone can help me in this issues? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, 11 Sep 2007 13:56:12 +0300 "Mohammad Zohny" <mohamad.zohny@gmail.com> wrote:> anyone can help me in this issues?I find it much simpler just to mount all the ISO images for the CDs under the apache html document directory with apache running on the xen host machine, then do a network install, pointing the installer to the web address where it can find the mounted disc1, disc2, etc directories. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users