|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] redhat guest and changing cds
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
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
|
|
|
|
|