[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 7:20 PM, Fajar A. Nugraha <list@xxxxxxxxx> wrote: > > >> 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 Ok I downloaded the vmlinuz and initrd from http://archive.ubuntu.com/ubuntu/dists/lucid/main/installer-i386/current/images/netboot/xen/ > #=============================================== > 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"). I am not clear here if I need to create a bridge before I begin the install. By the time of writing this message I had not configured any bridge. dd if=/dev/zero of=/mnt/1/vm1.img bs=4096k count=1024 dd if=/dev/zero of=/mnt/1/vm1-swap.img bs=1024k count=512 I want to also mention an entry of my /etc/fstab file UUID=a20a4466-24bc-42c5-93e2-2193e99847b5 /mnt/1 ext2 defaults 0 0 the /mnt/1 is basically always mounted so I mentioned here is my /etc/xen/ubuntu.vm =============================================== memory = "512" vif = [ 'mac=00:16:3E:BD:96:42, bridge=xenbr0, vifname=u-e0' ] disk = [ 'file:/mnt/1/vm1.img,xvda1,w','file:/mnt/1/vm1-swap.img,xvda2,w' ] vcpus=1 kernel = "/home/tapas/Documents/ISO\'s/forvm/vmlinuz" ramdisk = "/home/tapas/Documents/ISO\'s/forvm/initrd.gz" vfb=[ "type=vnc,vncunused=1,vnclisten=0.0.0.0" ] dhcp ="off" ip="192.168.1.7" netmask="255.255.255.0" gateway="192.168.1.1" hostname="vm01.ubuntu" =============================================== Now when I do xm create -c /etc/xen/ubuntu.vm Two things 1) Error: Device 0 (vif) could not be connected. Hotplug scripts not working. 2) I do not see any thing happening on my screen i.e. in bash if it is possible to see some out put as progress then I will be able to understand some thing how can that be possible? > After > installation completes, delete both "kernel" and "ramdisk" line, add > > bootloader = "/usr/bin/pygrub" > > -- > Fajar > -- http://mightydreams.blogspot.com _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |