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 10:21:58 +0530
Cc: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 17 May 2010 21:53:17 -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 :content-transfer-encoding; bh=wakYLnIyMgCujxeDefSUpQcBn0frwoGqbo60J0f4Xw4=; b=Tp3WfNkkMKxJOOJwUBq6qKOElroIbgp9ayJPDOFZ6w5NGh/vyOLMUN8rUJGHmEkSzj NrGQwFVSvqU75XY4uQJV9SCfNnSjU3+U1uMdhe0NfPTsIU0b8ZveVjNKa5Q/yqA6Fa6g eeuCCmuM9vhBQcwLE3YnEDYos63O4uUoPpxAs=
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:content-transfer-encoding; b=tgUilDbWRCI6l4wNvmkmO9bjR23qxP9jl/UYKSDb/bpP8Zi4Oc871LWQ9dINExYLpp 9Nt4UhHWhEgK+2BUjUqf3Tc9zmqW5+7rXReC2/YzoY+ko+sHJ5Ll+O3UO3rYiqQdbr3p 93gcRtSLX8kUtOpkm5KYlIrXFzEmOArziQeNk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTikbX48H9fKjDpZFrtuNIQflF6vAbr6EcV20aFXo@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> <AANLkTikBTcO4wuhRREEyZ9cZzhhnlRgt4Ve0_oW0VXF1@xxxxxxxxxxxxxx> <AANLkTikbX48H9fKjDpZFrtuNIQflF6vAbr6EcV20aFXo@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, May 18, 2010 at 9:59 AM, Fajar A. Nugraha <fajar@xxxxxxxxx> wrote:
> On Tue, May 18, 2010 at 11:20 AM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
>> This is a working domu cfg file
>> http://pastebin.com/Kzvghk9e
>>
>> This is the file created based on above
>> http://pastebin.com/5ZXqk6xp
>
> No it's not.
> It's not what I suggest you use, and it's not like the working config
> that you have.
> For example, "vif = [ 'type=ioemu," is only valid on HVM domU. A7nd
> even then you shouldn't use it.
>
>> Step 6) Also in DomU that is CentOS we are trying to install
>>
>> vnc=1
>> vnclisten="0.0.0.0"
>> vncpasswd='a'
>
> Those are for HVM domU.
> I made an error in my suggestion earlier. For PV domU, it should be
> something like
> vfb=['vnc=1,vnclisten=0.0.0.0']
>
>>
>> Step 7) To start installation did
>> xm create /etc/xen/centos.cfg -c
>>
>> After some minutes there was an error Hotplug scripts not working.
>
> Why don't you start with actually using the config I suggested,
Just if you can remind me which one you said
 I forgot in fact confused.
> plus
> the change in vfb
>
> #---------------------------------------------------------------------------------
> kernel = "/boot/vmlinuz-xen-install"
> ramdisk = "/boot/initrd-xen-install"
> extra = " text"
> name = "centos5"
> memory = "1024"
>
> disk        = [
>                'phy:/dev/virtualization/centos5-disk,xvda,w',
>                'phy:/dev/virtualization/centos5-swap,xvdb,w',
>            ]
>
> vif = [ 'mac=00:16:3E:2D:B5:80']
> vfb=['vnc=1,vnclisten=0.0.0.0']
> vcpus=1
> on_poweroff='destroy'
> on_reboot = 'destroy'
> on_crash = 'destroy'
> #---------------------------------------------------------------------------------
>
> Also make sure you have correct LV names. First you said it was
> "centos5-disk", and then you say "lvcreate --name domu3-root --size
> 98G virtualization", but your pasted config says
> "'phy:/dev/virtualization/ocw-disk'"
>
Yea :)



-- 
Tapas

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