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

[Xen-users] Re: problems with xen installation

To: Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: problems with xen installation
From: Anand <xen.mails@xxxxxxxxx>
Date: Thu, 29 Dec 2005 21:48:35 +0530
Delivery-date: Thu, 29 Dec 2005 16:22:56 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=HWPHS7eaZOzOwi027rfv6LVMzjHYuk4XvW4mg3WR+rIFqTydjVOKa4TUlKlMwKnm734Tod33WzaInzWciI4ba8k741XCxX6x+PIpH3dIBWJArKu9qmsuJDddNgR3tq6S5OikbFiUlyU9VM4VLbBtL36nozbkvRW8BCzBti4ekRo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <acb757c00512290643r23725fb2n16d78a9fec022619@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: <acb757c00512290607u7e6f5174r58faf1179ae390b4@xxxxxxxxxxxxxx> <acb757c00512290643r23725fb2n16d78a9fec022619@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Ok i finally got domain1 working with the centos image. It was a stupid typo.

Now i modified the cfg file so i can supply the ip, netmask, gateway and hostname to the image. Here is the modified cfg file:

kernel = "/boot/vmlinuz- 2.6-xen"
memory = 128
name = "centos.4-2"
nics = 1
ip="192.168.1.230"
netmask="255.255.255.0"
gateway=" 192.168.1.1"
hostname="xentest1"
extra="selinux=0"
#dhcp = "dhcp"
disk = ['file:/root/xen/centos.4-2.img,sda1,w', 'file:/root/xen/centos.swap,sda2,w']
root = "/dev/sda1 ro"

However even with the above entries inside the cfg file, the image once booted up doesn't take the ip address, gateway and hostname settings.

Can anyone please tell me what i am missing here ? Any help would be appreciated.


On 12/29/05, Anand <xen.mails@xxxxxxxxx> wrote:
I downloaded centos 4.2 image from xen-get and used its config to create a new domain.

Here is the cfg

kernel = "/boot/vmlinuz-2.6-xen"
memory = 128
name = "centos.4-2"
nics = 1
dhcp = "dhcp"
disk = ['file:/root/xen/centos/centos.4-2.img,sda1,w', 'file:/root/xen/centos/centos.swap,sda2,w']
root = "/dev/sda1 ro"

The kernel is the same kernel which is booting the machine.

Now when i run xm create /etc/xen/centos.402.xen.cfg, i get the following:

Using config file "/etc/xen/centos.4-2.xen.cfg".
Error: Device 2049 (vbd) could not be connected. Backend device not found.

Any help would be really appreciated.

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