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

Discussion in 'HOWTO-Related Questions' started by schniggie, Aug 26, 2009.

  1. schniggie

    schniggie New Member

    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:
    Code:
    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:
    Code:
    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:
    Code:
    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
    Code:
    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
     
  2. matey

    matey New Member

    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?
     
    Last edited: Aug 26, 2009
  3. schniggie

    schniggie New Member

    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?
     

Share This Page