[kernel-xen] Xen 4.2 Ubuntu 12 VPS crash on boot

Dimitar Kolev dkolev at qhoster.bg
Fri Feb 8 23:22:34 EST 2013


No we are using pygrub just tried the other Default kernel way = same
result.


Thanks,
D.Kolev

-----Original Message-----
From: kernel-xen-bounces at lists.wireless.org.au
[mailto:kernel-xen-bounces at lists.wireless.org.au] On Behalf Of Steven Haigh
Sent: Friday, February 08, 2013 10:00 AM
To: kernel-xen at lists.wireless.org.au
Subject: Re: [kernel-xen] Xen 4.2 Ubuntu 12 VPS crash on boot

On 8/02/2013 10:51 PM, Dimitar Kolev wrote:
> This is the config:
>
> ## This configuration file was automatically generated ## by SolusVM 
> on Fri Feb  8 12:44:51 2013
>
> ## Cfg type: XEN-PV-LOCAL-STORAGE
>
> kernel     = '/boot/solus-vmlinuz'
> ramdisk    = '/boot/solus-initrd.img'
> #bootloader = '/usr/bin/pygrub'
> extra      = ''
> memory     = 1024
> hostname   = 'iptest05.qhoster.net'
> cpu_weight = 128
> name       = 'vm605'
> vif        = ['ip=130.255.189.80, vifname=vifvm605.0,
> mac=00:16:3e:ac:0b:e6']
> vnc        = 0
> vcpus      = 1
> vncviewer  = 0
> serial     = 'pty'
> disk       = ['phy:/dev/vps/vm605_img,xvda1,w',
> 'phy:/dev/vps/vm605_swap,xvda2,w']
> root       = '/dev/xvda1 ro'

Ok, lets simplify things. Try this:
name            = "vm605"
memory          = 1024
vcpus           = 1
disk            = [ 'phy:/dev/vps/vm605_img,xvda1,w', 
phy:/dev/vps/vm605_swap,xvda2,w' ]
vif             = [ "mac=00:16:3e:ac:0b:e6, bridge=XXXX, vifname=vm605" ]
on_poweroff     = 'destroy'
on_reboot       = 'restart'
on_crash        = 'restart'
kernel		= "/boot/solus-vmlinuz"
ramdisk		= "/boot/solus-initrd.img"
root		= "/dev/xvda1 ro"

Change the bridge=XXXX to the correct bridge adapter.

Also, is there a reason you can't use pygrub here? Does the Guest OS not
have grub installed? Personally, I don't supply ANY kernel / ramdisk / root
lines as these are better off handled in the DomU.

--
Steven Haigh

Email: netwiz at crc.id.au
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
Fax: (03) 8338 0299





More information about the kernel-xen mailing list