PDA

View Full Version : Fatal: Kernel /boot/vmlinuz-2.6.26-2-xen-amd64 is too big


schniggie
26th August 2009, 13:43
hey all,

i tried to setup a fresh xen setup like described here http://www.howtoforge.com/virtualization-with-xen-on-debian-lenny-amd64.

But after i did:
apt-get install xen-hypervisor-3.2-1-amd64 xen-linux-system-2.6.26-2-xen-amd64 xen-utils-3.2-1 xenstore-utils xenwatch xen-shell xen-tools

i added the new kerlen to my lilo.conf:

image=/boot/vmlinuz-2.6.26-2-xen-amd64
label=LinuxXEN
read-only
optional
initrd=/boot/initrd.img-2.6.26-2-xen-amd64


but when i now try to update lilo:

lilo -v
LILO version 22.8, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2006 John Coffman
Released 19-Feb-2007, and compiled at 18:50:09 on Nov 15 2008
Debian GNU/Linux

Warning: LBA32 addressing assumed
Using BIOS device code 0x80 for RAID boot blocks
Reading boot sector from /dev/md0
Using MENU secondary loader
Calling map_insert_data

Boot image: /boot/vmlinuz-2.6.26-2-amd64
Mapping RAM disk /boot/initrd.img-2.6.26-2-amd64
Added Linux *

Boot image: /boot/vmlinuz-2.6.26-2-xen-amd64
Fatal: Kernel /boot/vmlinuz-2.6.26-2-xen-amd64 is too big


why does lilo tell me the kernel is to big, it is smaller as the non-xen kernel

ls -l /boot/vmlinuz-2.6.26-2-*
-rw-r--r-- 1 root root 1754800 2009-08-14 12:29 /boot/vmlinuz-2.6.26-2-amd64
-rw-r--r-- 1 root root 1703752 2009-08-14 12:48 /boot/vmlinuz-2.6.26-2-xen-amd64


can someone help me with this?

please don't tell me to use grub. i use a raid1(root /) + raid5(lvm with /home /usr /var) setup and had no luck to get grub booting the raid1.

thx schniggie

matey
26th August 2009, 14:07
can you boot at all?
can you use fsck
it save my machine.

oh also can you make a link to the xen kernel file and put it in the root and give it a shorter name?
may be it is rfering to a name which is most unlikely , i think the file itself may be corrupted?

schniggie
26th August 2009, 15:04
i can boot the non-xen kernel and i had the /vmlinux /vmlinuz-xen symlinks before but that didn't change anything.
one question i read sth. about lilo cannot use multiboot kernels and xen-kernels are such multiboot kernels. can anyone tell me sth. about it?