[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Re: problems with xen installation


  • To: Xen-users@xxxxxxxxxxxxxxxxxxx
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.