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] cent os domu creation problem

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] cent os domu creation problem
From: Tapas Mishra <mightydreams@xxxxxxxxx>
Date: Tue, 18 May 2010 09:50:14 +0530
Cc: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 17 May 2010 21:21:40 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=l0SHQfcfb4WnVUkbTderh8LlPo+Rs4Gvq2Tg5M9qA4Y=; b=hVw9E2b2WZ+BCx/95csjgGHmWfufLwi+x1F7Qz05Nm36Bfrgl+i26kcggcjATmIMBm gXd+GmGrf/O91vj5u6JvqJBTEOxbAkP71rI7rgZMjAe5bO10loyyrRQa5NwaeVIy67Rz 3vx7fBy0Q7RwYmIooR/NQYCFkrX0fbvex4p7w=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=oZ7XGMpOg++Cou5TLsVyTXhFCMeNP3y690oqDnhEkCHPbE93YnwMh5vcwHxHmaaPR8 2eBaUXw0i2o8T9YVt8hzRUbzpOA+JbPu9d+eg2Bjw5qqFAuuQMxebn80ezwRoerNhzWz xefmLV01gasPAaVv5NTY1f7jww7JSV+awlL64=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTilGdguiJMuMIrq_gXAKbc-sng4lbXnqsFJlCeFM@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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTin7wCBHYUgtTLkZ5pVgulxpVO7inK68p-kc4Huz@xxxxxxxxxxxxxx> <AANLkTinzXvBLdLgWo9Z8HbHwFDmC4-rQ7da0p-ZRDWlz@xxxxxxxxxxxxxx> <AANLkTikaWQAxiPM5nWNKd7gCIlGu1qQ4pC9xKs7QGx_g@xxxxxxxxxxxxxx> <AANLkTik83dLZPiC05mWuTexu5XYEyrmgN_BAWyzvsISD@xxxxxxxxxxxxxx> <AANLkTikfgpXszArb31DP1nr1nD4i1RkFquFVyivrQczz@xxxxxxxxxxxxxx> <AANLkTilGdguiJMuMIrq_gXAKbc-sng4lbXnqsFJlCeFM@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I am mentioning all the steps that I have done till now.



Step 1)
I created
lvcreate --name domu3-swap --size 2G virtualization
lvcreate --name domu3-root --size 98G virtualization

Step 2)
wget http://mirror.centos.org/centos/5/os/i386/images/xen/vmlinuz -O
/boot/vmlinuz-xen-install
wget http://mirror.centos.org/centos/5/os/i386/images/xen/initrd.img
-O /boot/initrd-xen-install

Step3 )
Created a centos.cfg file.
Where gave path to above downloaded vmlinuz and initrd.
Probably this file may have some error.
You can see the file here

This is a working domu cfg file
http://pastebin.com/Kzvghk9e

This is the file created based on above
http://pastebin.com/5ZXqk6xp

Step 4) Under section  Example kickstart file on
 http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU

I created a kickstart file.(Which later on after I found was not
working had discarded the idea of using it and going to a text based
install)

Step 5) As far as my understanding is for VNC in /etc/xen/xend-config.sxp
(vnc-listen '127.0.0.1')
(vncpasswd 'a')
These two lines are to be there.If there is any thing more then let me know.

Step 6) Also in DomU that is CentOS we are trying to install

vnc=1
vnclisten="0.0.0.0"
vncpasswd='a'

Step 7) To start installation did
xm create /etc/xen/centos.cfg -c

After some minutes there was an error Hotplug scripts not working.


Which ever step above was wrong let me know.If I have missed some
thing then correct me.


-- 
Tapas

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