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

[Xen-users] CentOS 4.5 installation as domU using xm


  • To: xen-users@xxxxxxxxxxxxxxxxxxx, mailmaverick666@xxxxxxxxx
  • From: "rishi pathak" <mailmaverick666@xxxxxxxxx>
  • Date: Fri, 14 Dec 2007 17:19:10 +0530
  • Delivery-date: Fri, 14 Dec 2007 03:49:52 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=wB1QbJV4RBFAXDlbXkibg/F6ogvRbaBr9ijMRKG4YfO8MPLM6aQdMUpR5qhy7j1m7FhBh8DIGrmS6StyKGtxQrZCbFB1Q5e4R0Su99IpAEzxARD9unZNmYJkb01U+pYO+iojZBUnkWj5KISnZBfyxQWEaGxP2poNyNbzpy0+5Sk=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I got FC7 as dom0, I installed CentOS4.5 as domU using virt-install and it went fine.Installation was done using http.
Now I am trying to reinstall it using xm command.
below is my config file
#############################
#  -*- mode: python; -*-
#============================================================================
# Python configuration setup for 'xm create'.
# This script sets the parameters used when a domain is created using 'xm create'.
# You use a separate script for each domain you want to create, or
# you can set the parameters for the domain on the xm command line.
#============================================================================
kernel = "/root/vmlinuz"
ramdisk = "/root/initrd.img"
builder='linux'
memory = 512
name = "CentOS45"
uuid = "06ed00fe-1162-4fc4-b5d8-11993ee4a8b9"
vcpus = 1
vif = [ 'mac=00:16:3e:5f:ec:b0, bridge=eth0 , script=vif-bridge , type=netfront, backend=0']
disk = [ 'phy:sda5,hda1,w','phy:sda6,hdb1,r' ]
dhcp="dhcp"
hostname= "tb1g1"
#root = "/dev/hda1 rw"
extra = "text askmethod 4"
#############################

First problem is that interface is not getting initialized(i.e. not able to install through http nfs)
For this I configured another vbd containing DVD iso image of CentOS4.5
In the latter case installation starts and reads OS image from the said VBD but at later stage throws an error saying that there is no such device as /dev/xvda and /dev/xvdb.I tried exporting my partitions as xvda and xvdb but then it does not see any HDD's at all.
Has some one installed CentOS4.5 this way.
--
Regards--
Rishi Pathak

_______________________________________________
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®.