[26332] in Athena Bugs
boot failure after update on lilo machines
daemon@ATHENA.MIT.EDU (Jonathon Weiss)
Thu Jan 27 20:41:08 2005
Message-Id: <200501280140.j0S1eXwJ005749@distraction.mit.edu>
From: Jonathon Weiss <jweiss@mit.edu>
To: bugs@mit.edu
Date: Thu, 27 Jan 2005 20:40:33 -0500
Errors-To: bugs-bounces@mit.edu
The other day, I was in w20, and noticed a number of linux machines
had failed to boot properly after updating to 9.3.18. The problem
appeared to be that there were a bunch of garbage entries in
lilo.conf, which cause lilo not to run properly during the update
process. The solution I used was to punt all but the first lilo.conf
entry, re-run lilo and reboot.
A sample bogosity enabled lilo.conf (from w20-575-21):
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
linear
default=2.4.21-27.0.1.E
image=/boot/vmlinuz-2.4.21-27.0.1.EL
label=2.4.21-27.0.1.E
initrd=/boot/initrd-2.4.21-27.0.1.EL.img
read-only
root=/dev/hda7
image=/boot/vmlinuz-2.4.21-27.0.1.ELcustom
label=2.4.21-15.0.4.1
initrd=/boot/initrd-2.4.21-27.0.1.ELcustom.img
read-only
root=/dev/hda7
image=/boot/vmlinuz-2.4.21-27.0.1.ELcustom
label=tcp
initrd=/boot/initrd-2.4.21-27.0.1.ELcustom.img
read-only
root=/dev/hda7
image=/boot/vmlinuz-2.4.21-27.0.1.ELcustom
label=tcp15
initrd=/boot/initrd-2.4.21-27.0.1.ELcustom.img
read-only
root=/dev/hda7
image=/boot/vmlinuz-2.4.21-27.0.1.ELcustom
label=tcp14
initrd=/boot/initrd-2.4.21-27.0.1.ELcustom.img
read-only
root=/dev/hda7
image=/boot/vmlinuz-2.4.21-27.0.1.ELcustom
label=tcp13
initrd=/boot/initrd-2.4.21-27.0.1.ELcustom.img
read-only
root=/dev/hda7
image=/boot/vmlinuz-2.4.21-27.0.1.ELcustom
label=tcp12
initrd=/boot/initrd-2.4.21-27.0.1.ELcustom.img
read-only
root=/dev/hda7
image=/boot/vmlinuz-2.4.21-27.0.1.ELcustom
label=tcp11
initrd=/boot/initrd-2.4.21-27.0.1.ELcustom.img
read-only
root=/dev/hda7
image=/boot/vmlinuz-2.4.21-27.0.1.ELcustom
label=tcp10
initrd=/boot/initrd-2.4.21-27.0.1.ELcustom.img
read-only
root=/dev/hda7
image=/boot/vmlinuz-2.4.21-27.0.1.ELcustom
label=tcp9
initrd=/boot/initrd-2.4.21-27.0.1.ELcustom.img
read-only
root=/dev/hda7
image=/boot/vmlinuz-2.4.21-27.0.1.ELcustom
label=tcp8
initrd=/boot/initrd-2.4.21-27.0.1.ELcustom.img
read-only
root=/dev/hda7
image=/boot/vmlinuz-2.4.21-27.0.1.ELcustom
label=tcp7
initrd=/boot/initrd-2.4.21-27.0.1.ELcustom.img
read-only
root=/dev/hda7
image=/boot/vmlinuz-2.4.21-27.0.1.ELcustom
label=tcp6
initrd=/boot/initrd-2.4.21-27.0.1.ELcustom.img
read-only
root=/dev/hda7
image=/boot/vmlinuz-2.4.21-27.0.1.ELcustom
label=tcp5
initrd=/boot/initrd-2.4.21-27.0.1.ELcustom.img
read-only
root=/dev/hda7
image=/boot/vmlinuz-2.4.21-27.0.1.ELcustom
label=tcp4
initrd=/boot/initrd-2.4.21-27.0.1.ELcustom.img
read-only
root=/dev/hda7
image=/boot/vmlinuz-2.4.21-27.0.1.ELcustom
label=tcp3
initrd=/boot/initrd-2.4.21-27.0.1.ELcustom.img
read-only
root=/dev/hda7
image=/boot/vmlinuz-2.4.21-27.0.1.ELcustom
label=tcp2
initrd=/boot/initrd-2.4.21-27.0.1.ELcustom.img
read-only
root=/dev/hda7
image=/boot/vmlinuz-2.4.21-27.0.1.ELcustom
label=tcp1
initrd=/boot/initrd-2.4.21-27.0.1.ELcustom.img
read-only
root=/dev/hda7
The end of w20-575-21's update.log:
+ tkinter ########################################### [ 98%]
+ gimp-print ########################################### [ 99%]
+ ghostscript ###########################################Fatal: open /boot/vmlinuz-2.4.21-20.ELcustom: No such file or directory
/var/tmp/rpm-tmp.30457: line 2: gdk-pixbuf-query-loaders: command not found
error: %postun(librsvg2-2.2.3-2) scriptlet failed, exit status 127
/var/tmp/rpm-tmp.10680: command substitution: line 1: unexpected EOF while looking for matching `"'
/var/tmp/rpm-tmp.10680: command substitution: line 2: syntax error: unexpected end of file
/lib/modules/2.4.21-27.0.1.ELcustom is not a directory.
Error running /sbin/mkinitrd -f /boot/initrd-2.4.21-27.0.1.ELcustom.img 2.4.21-27.0.1.ELcustom/lib/modules/2.4.21-27.0.1.ELcustom is not a directory.
Error running /sbin/mkinitrd -f /boot/initrd-2.4.21-27.0.1.ELcustom.img 2.4.21-27.0.1.ELcustom/lib/modules/2.4.21-27.0.1.ELcustom is not a directory.
Error running /sbin/mkinitrd -f /boot/initrd-2.4.21-27.0.1.ELcustom.img 2.4.21-27.0.1.ELcustom/lib/modules/2.4.21-27.0.1.ELcustom is not a directory.
Error running /sbin/mkinitrd -f /boot/initrd-2.4.21-27.0.1.ELcustom.img 2.4.21-27.0.1.ELcustom/lib/modules/2.4.21-27.0.1.ELcustom is not a directory.
Error running /sbin/mkinitrd -f /boot/initrd-2.4.21-27.0.1.ELcustom.img 2.4.21-27.0.1.ELcustom/lib/modules/2.4.21-27.0.1.ELcustom is not a directory.
Error running /sbin/mkinitrd -f /boot/initrd-2.4.21-27.0.1.ELcustom.img 2.4.21-27.0.1.ELcustom/lib/modules/2.4.21-27.0.1.ELcustom is not a directory.
Error running /sbin/mkinitrd -f /boot/initrd-2.4.21-27.0.1.ELcustom.img 2.4.21-27.0.1.ELcustom/lib/modules/2.4.21-27.0.1.ELcustom is not a directory.
Error running /sbin/mkinitrd -f /boot/initrd-2.4.21-27.0.1.ELcustom.img 2.4.21-27.0.1.ELcustom/lib/modules/2.4.21-27.0.1.ELcustom is not a directory.
Error running /sbin/mkinitrd -f /boot/initrd-2.4.21-27.0.1.ELcustom.img 2.4.21-27.0.1.ELcustom/lib/modules/2.4.21-27.0.1.ELcustom is not a directory.
Error running /sbin/mkinitrd -f /boot/initrd-2.4.21-27.0.1.ELcustom.img 2.4.21-27.0.1.ELcustom/lib/modules/2.4.21-27.0.1.ELcustom is not a directory.
Error running /sbin/mkinitrd -f /boot/initrd-2.4.21-27.0.1.ELcustom.img 2.4.21-27.0.1.ELcustom/lib/modules/2.4.21-27.0.1.ELcustom is not a directory.
Error running /sbin/mkinitrd -f /boot/initrd-2.4.21-27.0.1.ELcustom.img 2.4.21-27.0.1.ELcustom/lib/modules/2.4.21-27.0.1.ELcustom is not a directory.
Error running /sbin/mkinitrd -f /boot/initrd-2.4.21-27.0.1.ELcustom.img 2.4.21-27.0.1.ELcustom/lib/modules/2.4.21-27.0.1.ELcustom is not a directory.
Error running /sbin/mkinitrd -f /boot/initrd-2.4.21-27.0.1.ELcustom.img 2.4.21-27.0.1.ELcustom/lib/modules/2.4.21-27.0.1.ELcustom is not a directory.
Error running /sbin/mkinitrd -f /boot/initrd-2.4.21-27.0.1.ELcustom.img 2.4.21-27.0.1.ELcustom/lib/modules/2.4.21-27.0.1.ELcustom is not a directory.
Error running /sbin/mkinitrd -f /boot/initrd-2.4.21-27.0.1.ELcustom.img 2.4.21-27.0.1.ELcustom/lib/modules/2.4.21-27.0.1.ELcustom is not a directory.
Error running /sbin/mkinitrd -f /boot/initrd-2.4.21-27.0.1.ELcustom.img 2.4.21-27.0.1.ELcustom [100%]
Ending update from 9.3.16 to 9.3.18 at Wed Jan 19 05:55:43 EST 2005.
Jonathon