This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] pygrub question

To: Jan Bakuwel <jan.bakuwel@xxxxxxxxx>
Subject: Re: [Xen-users] pygrub question
From: "Fajar A. Nugraha" <list@xxxxxxxxx>
Date: Mon, 27 Sep 2010 13:30:49 +0700
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 26 Sep 2010 23:32:24 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4CA02C83.4040900@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4CA0223A.9000108@xxxxxxxxx> <4CA02C83.4040900@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Sep 27, 2010 at 12:32 PM, Jan Bakuwel <jan.bakuwel@xxxxxxxxx> wrote:

A bit more info on this:

Full extract from /var/log/xen/xend.log for this domU session:

[2010-09-27 05:06:22 8161] DEBUG (__init__:1072) Launching bootloader as
['/usr/bin/pygrub', '--args=root=/dev/xvda1 ro ',
'--output=/var/run/xend/boot/xenbl.10154', '/dev/d/xm.dt2'].

Error: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found\n')
> I've prepared a Ubuntu 10.04 LTS server on a Xen 3.2-1 host running
> Debian Lenny on kernel 2.6.26-2-xen-amd64. The Ubuntu 10.04 domU is
> running a 2.6.32-24-server kernel from the Ubuntu repositories, which is
> (must be :-) ) xen-aware. The domU uses pygrub to boot and it works like
> a charm.
> Now I'm trying to deploy this domU on a Xen 3.2-1 host running Debian
> Etch on kernel 2.6.18-6-xen-amd64. When I xm create domU on this system,
> I see the pygrub boot menu but then an error message comes up:
>     Error: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found\n')

Are you sure that both the hypervisor and userland are the same version (3.2) in both Etch and Lenny?

Ubuntu's default kernel is newer pv_ops kernel, which might not be identified correctly as xen-compatible by old xen userland tools.
Try copying the kernel and initrd to dom0, and boot it (i.e. not using "bootloader", but "kernel", "ramdisk", and "extra"). My guess is it will show the same message.

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>