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] guest creation problem on pv dom0 kernel

To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] guest creation problem on pv dom0 kernel
From: Tapas Mishra <mightydreams@xxxxxxxxx>
Date: Thu, 10 Mar 2011 01:25:19 +0530
Delivery-date: Wed, 09 Mar 2011 11:56:41 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=j/1pLk1PEip26fMcYADWd7MSCeHaMs2ae4jjNDyoLDE=; b=olg5rnh97197ufHqFifPpwdUDaUF4UtgD+0HmOPauIvJwmUeOAL4huTeWMJdxqueT3 nEOgaw/opQNjyjxmhYp3J16IQO/xp3v3M4FI4NSxzECVRj26wrTg/e47lyAGdbAVJpt2 bhpAtn4LQhH35bfecl5yXx8F8bVEfrJnsCdEE=
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 :content-type:content-transfer-encoding; b=B12gLXyAfUEzlyJZZ8nqfNywWtuSLNjecBj+N+7PJ/AS1rp2X1SC/RGAw3sBcEPm34 1GFdXrOmkMqf2L8I/GFzAiuoRRxapsZSAHyj7KywQajO4ro1vUFq0mKY+C9uaofbo6oc lAeSn/uoeFkfFnmGWCeG9q0qDQh3pZt8iqR6w=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTik4gN1+hgfHsbb+fRArgVo+2zQR7qqY0tuYcNQd@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: <AANLkTikADUT9nMPim6B9k8k=2Bao0LR9o0MTEazagatT@xxxxxxxxxxxxxx> <BAY148-w4326D4F20AEF5453D1F4C1EFC40@xxxxxxx> <AANLkTikn4pPDQ7x7g5=s4iW0Mzy+ivciS0UaXW06a0Ek@xxxxxxxxxxxxxx> <4D733FC9.4050701@xxxxxxxxxxx> <AANLkTik7qZzW2TSFmu5SxHRRNEAFi0RkHNiOVzVFRhu4@xxxxxxxxxxxxxx> <AANLkTik4gN1+hgfHsbb+fRArgVo+2zQR7qqY0tuYcNQd@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, Mar 9, 2011 at 7:20 PM, Fajar A. Nugraha <list@xxxxxxxxx> wrote:
> On Wed, Mar 9, 2011 at 8:02 PM, Tapas Mishra <mightydreams@xxxxxxxxx> wrote:
>> I am trying out this option now.I want to know in the xen config file
>>
>> ========below is just a sample I am not using it =============
>> name ="vm01"
>> kernel ="/boot/vmlinuz-2.6.11.12-xenU"
>> root ="/dev/hda1"
>> memory =128
>> disk = 
>> ['file:/vserver/images/vm01.img,hda1,w','file:/vserver/images/vm01-swap.img,hda2,w']
>> nics=1
>> dhcp ="off"
>> ip="192.168.0.101"
>> netmask="255.255.255.0"
>> gateway="192.168.0.1"
>> hostname="vm01.example.com"
>> extra="3"
>> ============================================================
>
> So you're trying a manual method, without virt-install/virt-manager? Good :D
>
>> What should be the value of parameter kernel.As I am trying to create
>> a PV guest on a non VT 64 bit machine.
>> The guest is 32 bit PV.Do I need to compile a PV  DomU kernel or what
>> exactly do I give in place of kernel?
>
> See
> https://help.ubuntu.com/community/Installation/Netboot
> http://archive.ubuntu.com/ubuntu/dists/maverick/main/installer-i386/current/images/netboot/xen/
>
> Or download initrd.gz and vmlinuz from there, and use a config similar to this
> #===============================================
> memory = "1000"
>
> vif = [ 'mac=00:16:3E:BD:96:42, bridge=eth0, vifname=u-e0' ]
> disk =  [
>        'phy:/dev/VG/ubuntu-test,xvda,w',
>        ]
>
> vcpus=1
>
> kernel = "/vm/install/ubuntu/vmlinuz"
> ramdisk = "/vm/install/ubuntu/initrd.gz"
>
> vfb=[ "type=vnc,vncunused=1,vnclisten=0.0.0.0" ]
> #===============================================
>
> Note the "bridge" parameter. It might be eth0, xenbr0, or some other
> bridge that you create manually (try runnning "brctl show").
Ok do you mean to say before I start installation I should have a
bridge configured?

>After
> installation completes, delete both "kernel" and "ramdisk" line, add
Ok
> bootloader = "/usr/bin/pygrub"
Ok

--

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