Lilo problems ater upgrade

From: RT (spamspamsapm_at_spamspam.co)
Date: 11/12/03


Date: Wed, 12 Nov 2003 00:00:51 -0500

After upgrading to kernel-smp-2.4.18-10.i686.rpm I edited the lilo.conf
file but it did not work. I get the following error. Thanks

[root@bigred1 boot]# lilo -v
LILO version 21.4-4, Copyright (C) 1992-1998 Werner Almesberger
'lba32' extensions Copyright (C) 1999,2000 John Coffman

Reading boot sector from /dev/sda
Merging with /boot/boot.b
Mapping message file /boot/message
Boot image: /boot/vmlinuz-2.4.18-5smp
Mapping RAM disk /boot/initrd-2.4.18-5smp.img
Added 2.4.18-5smp
Boot image: /boot/vmlinuz-2.4.18-3
Mapping RAM disk /boot/initrd-2.4.18-3.img
Added linux-up
Fatal: No images have been defined.

[root@bigred1 boot]# more /etc/lilo.conf
prompt
timeout=50
default=linux
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
message=/boot/message
linear

image=/boot/vmlinuz-2.4.18-5smp
         label=2.4.18-5smp
         initrd=/boot/initrd-2.4.18-5smp.img
         read-only
         root=/dev/sda2

image=/boot/vmlinuz-2.4.18-3
         label=linux-up
         initrd=/boot/initrd-2.4.18-3.img
         read-only
         root=/dev/sda2

[root@bigred1 boot]# more /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda2
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.18-5smp)
         root (hd0,0)
         kernel /vmlinuz-2.4.18-5smp ro root=/dev/sda2
         initrd /initrd-2.4.18-5smp.img
title Red Hat Linux-up (2.4.18-3)
         root (hd0,0)
         kernel /vmlinuz-2.4.18-3 ro root=/dev/sda2
         initrd /initrd-2.4.18-3.img
[root@bigred1 boot]#

[root@bigred1 root]# ls -lrt /boot
total 9593
-rw-r--r-- 1 root root 640 Jun 24 2001 os2_d.b
-rw-r--r-- 1 root root 23108 Jun 24 2001 message
-rw-r--r-- 1 root root 612 Jun 24 2001 chain.b
-rw-r--r-- 1 root root 5824 Jun 24 2001 boot.b
-rw-r--r-- 1 root root 1030147 Apr 18 2002 vmlinuz-2.4.18-3
-rwxr-xr-x 1 root root 2835238 Apr 18 2002 vmlinux-2.4.18-3
-rw-r--r-- 1 root root 465966 Apr 18 2002 System.map-2.4.18-3
-rw-r--r-- 1 root root 14431 Apr 18 2002 module-info-2.4.18-3
-rw-r--r-- 1 root root 39947 Apr 18 2002 config-2.4.18-3
-rw-r--r-- 1 root root 1118023 Jun 10 2002 vmlinuz-2.4.18-5smp
-rwxr-xr-x 1 root root 3213227 Jun 10 2002 vmlinux-2.4.18-5smp
-rw-r--r-- 1 root root 501111 Jun 10 2002
System.map-2.4.18-5smp
-rw-r--r-- 1 root root 14431 Jun 10 2002
module-info-2.4.18-5smp
-rw-r--r-- 1 root root 40578 Jun 10 2002 config-2.4.18-5smp
drwx------ 2 root root 12288 Nov 11 09:59 lost+found
lrwxrwxrwx 1 root root 16 Nov 11 10:03 vmlinuz ->
vmlinuz-2.4.1
8-3
lrwxrwxrwx 1 root root 20 Nov 11 10:03 module-info ->
module-in
fo-2.4.18-3
-rw-r--r-- 1 root root 202006 Nov 11 10:03 initrd-2.4.18-3.img
-rw------- 1 root root 31232 Nov 11 10:23 map
-rw-r--r-- 1 root root 512 Nov 11 10:23 boot.0800
-rw-r--r-- 1 root root 209875 Nov 11 19:25
initrd-2.4.18-5smp.img
lrwxrwxrwx 1 root root 19 Nov 11 19:59 System.map ->
System.map
-2.4.18-3
drwxr-xr-x 2 root root 1024 Nov 11 20:15 grub
-rw-r--r-- 1 root root 473 Nov 12 00:35 kernel.h
[root@bigred1 root]#



Relevant Pages

  • lilo hangs at "Resolve invalid VolumeIDs" ?!
    ... Having a few hassles with lilo 22.5.8 - I first noticed the problem after building a new kernel. ... Was just about ready to boot it, ran lilo to complete off the upgrade and it just hangs there. ... # Specifies the device that should be mounted as root. ...
    (Debian-User)
  • lilo hangs at "Resolve invalid VolumeIDs" ?!
    ... Having a few hassles with lilo 22.5.8 - I first noticed the problem after building a new kernel. ... Was just about ready to boot it, ran lilo to complete off the upgrade and it just hangs there. ... # Specifies the device that should be mounted as root. ...
    (Debian-User)
  • Re: getting LILO to boot windows
    ... >> people with experience getting LILO or Grub to work may be able to help me. ... >> I need to get my windows installation working to flash my dvd drive. ... > Can you boot your Linux now, even after executing fdisk /mbr et ell? ... # Specifies the device that should be mounted as root. ...
    (comp.os.linux.misc)
  • Re: Lilo: fatal: raid_setup: stat("/dev/hda")
    ... After latest upgrade installation of lilo fails. ... # Kernel image management overrides ... # Specifies the boot device. ...
    (Debian-User)
  • Re: Why cant ext4 file systems be used as a boot partition?
    ... GRUB option, that a logical drive shall be booted in the ... "traditional" (LILO) way? ... then be the Windows bootloader. ... the first boot stage must be invoked by the BIOS. ...
    (comp.os.linux.setup)