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

Re: [Xen-users] guest creation problem on pv dom0 kernel


  • To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Tapas Mishra <mightydreams@xxxxxxxxx>
  • Date: Thu, 10 Mar 2011 01:25:19 +0530
  • Delivery-date: Wed, 09 Mar 2011 11:56:41 -0800
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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