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] redhat guest and changing cds

To: "Mohammad Zohny" <mohamad.zohny@xxxxxxxxx>
Subject: Re: [Xen-users] redhat guest and changing cds
From: "Marconi Rivello" <marconirivello@xxxxxxxxx>
Date: Tue, 11 Sep 2007 08:46:50 -0300
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 11 Sep 2007 04:47:27 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=jF58oYBpOgEBj7l5PuEtaj1K/R/6jykOFIHBdt4/uRc=; b=bHifO5CSZm/s8TMzfjKg8VduY/kIWbwV5rWdMOlh6s65X8F3+EHu1UL56z8GqRHqv9jjIlrchAk+Bq4pmMYYpQ0wrRWTDRy45z8ByhHwOkx3SVHvrSzBZ54EriNp8MyJ9yARuUZPMDWeif18cbTKytPxPlQJOqWJcyjIBUR9yDA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=jen1mRjhAGKz9BjkvSI/API3wyaovy5qr7lGXZmHL7jHf2iof2zAYFaNNdFPsnFi3p4TRXDvZvrIIFrYtgSNwMvCEDMTYZF+r5WJzsNW5Dbmz1RZc7bhBnsjJ0IClMWBa2RSBUvRkF4QBTm3nEt6K/dQMOflijl09itR4Krmx0Q=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <f38cf2b60709110416h6934942tbe6cb3f0aff49fac@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: <f38cf2b60709110356g19bce6ffua9853ca8ada717fe@xxxxxxxxxxxxxx> <11d5fec70709110359of902f53pd7f08bd634b1543f@xxxxxxxxxxxxxx> <f38cf2b60709110416h6934942tbe6cb3f0aff49fac@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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"
>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@xxxxxxxxx> wrote:
I tried that and not work
it tills me that there is no media in drive


On 9/11/07, Rama Krishna <hydprk@xxxxxxxxx > wrote:
try this #xm block-detach >device id> --force

On 9/11/07, Mohammad Zohny <mohamad.zohny@xxxxxxxxx > 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>