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


[Xen-users] Debian domU installation problem: Invalid kernel

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Debian domU installation problem: Invalid kernel
From: Andrey <basketboy@xxxxx>
Date: Thu, 24 Sep 2009 13:48:45 +0400
Delivery-date: Thu, 24 Sep 2009 02:49:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20090817)

My configuration is the following:

Xen 3.3.1 compiled from sources(with PAE enabled)
Dom0 Debian Etch i386

I'm trying to create Debian domU from scratch with netinst and get the kernel and ram disk to boot to installation procedure from install.386/ folder of netinst iso image. Then I use the following config file debian.cfg for installation:

kernel      = '/xen/kernel/install/vmlinuz'
ramdisk = '/xen/kernel/install/initrd.gz'

memory = '1024'

root = '/dev/xvda1 ro' disk = [ 'tap:aio:/xen/domains/debian/debian.img,xvda,w']

name        = 'debian'
vif         = [ '' ]
vfb = [ 'type=vnc,vncunused=1' ]

on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'

After running 'xm create /etc/xen/domu/install/debian' I get the error:

Using config file "/etc/xen/domu/install/debian".
Error: (2, 'Invalid kernel', 'elf_xen_note_check: ERROR: Will only load images built for the generic loader or Linux images')

What is the problem? Xen can't recognize Debian kernel from netinst iso?

Also I've noted that there was a such problem with installing Fedora 11 in domU. It's netinst ISO have 2 versions of kernels non-PAE and PAE. In the case of non-PAE kernel I got the same error. With PAE boot kernel everything works fine.

I know that I can use xen-tools for creating domU but I want to try this method.


Xen-users mailing list