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

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



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"). After
installation completes, delete both "kernel" and "ramdisk" line, add

bootloader = "/usr/bin/pygrub"

-- 
Fajar

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