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

[Xen-users] Problems to start Ubuntu as DomU



Hi,

my Dom0 is an Ubuntu 12.04 64Bit and Xen starts without problems. I
would like to have the same Ubuntu (12.04  or 10.04) as a PV. I have done the 
following:

1. Get the vmlinuz and initrd.gz from :
http://archive.ubuntu.com/ubuntu/dists/...
2. lvcreate -L 10G -n vm1 /dev/lvm
3. My cfg file is:

name = "vm1"
memory = 1024
disk = ['phy:/dev/lvm/vm1,xvda,w']
vif = ['bridge=xenbr0']
kernel = "/var/lib/xen/images/ubuntu-netboot-12.04/vmlinuz"
ramdisk = "/var/lib/xen/images/ubuntu-netboot-12.04/initrd.gz"
extra = "debian-installer/exit/always_halt=true -- console=hvc0"

4. xl create -c vm1.cfg

The installation finish every time without any errors.

5. Change vm1.cfg file:
name = "vm1"
memory = 1024
disk = ['phy:/dev/lvm/vm1,xvda,w']
vif = ['bridge=xenbr0']
#kernel = "/var/lib/xen/images/ubuntu-netboot-12.04/vmlinuz"
#ramdisk = "/var/lib/xen/images/ubuntu-netboot-12.04/initrd.gz"
#extra = "debian-installer/exit/always_halt=true -- console=hvc0"|
bootloader = "pygrub"

6. xl create vm1.cfg -> var/log/xen/xl.vm1.log
Waiting for domain vm1 (domid 1) to die
Domain 1 is dead
Action for shutdown reason code 0 is destroy
Domain 1 needs to be cleaned up: destroying the domain
Done. Exiting now

I have also done the same way using Ubuntu 10.04 files (vmlinuz,
initrd.gz) and get the same error. Does anybody have an idea what I'm
doing wrong?

Thanx!


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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