Red Hat Bugzilla – Bug 54514
Changes in config file not reflected after loader install / reboot (same 'old' options)
Last modified: 2007-04-18 12:37:34 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20010917
Description of problem:
I tried to integrate the (new) kernel 2.4.11 in my boot options. I changed
/etc/lilo.conf and ran "lilo -v" to update the loader sector. When I
rebooted, the old boot options where still there, no option to try my new
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.I had a RH 6.2 system, then upgraded to RH 7.1
2.Updated lilo.conf to get kernel 2.4.10 and keep RH7.1's 2.4.2, that one
3.Tried to get a new entry for kernel 2.4.11. No way
Actual Results: Same options for boot showed up
Expected Results: New option should have shown up
When executing "lilo -v", here what it shows :
# 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/hda1
Merging with /boot/boot.b
Boot image: /boot/vmlinuz-2.4.11
Added linux *
Boot image: /boot/vmlinuz-2.4.2-2
Mapping RAM disk /boot/initrd-2.4.2-2.img
/boot/boot.0301 exists - no backup copy made.
Writing boot sector.
Nothing special there (I use /dev/hda1 as the boot/root partition for
special cases lilo does not know (yet) how to handle.
Here is my "/etc/lilo.conf" :
# cat lilo.conf
Nothing special here either. It worked when I installed kernel 2.4.10 after
upgrading to RH 7.1. But from now on, no way to get to 2.4.11.
Several tries to put change lines, comment-out some, every time re-install
boot sector and cold / warm reboots...Still the old options.
What's even funnier is that "lilo -q" gives the options which are indicated
in the config file, which are actually not the ones that are available on boot.
Still, "lilo -t -v" does not give a better clue on 'why can I not change
this _any more_ ?"
Created attachment 33803 [details]
You forgot to uninstall lilo from the master boot record of your hard drive when
you switched the boot device from /dev/hda to /dev/hda1. If you have a DOS boot
floppy (or a bootable Windows CD-ROM) or have DOS or Windows installed on
another partition, you can run the DOS fdisk command with the switch /mbr to
install a normal master boot record instead of the lilo master boot record your
hard disk currently has. The other option is to switch the boot= device from
/dev/hda1 back to /dev/hda.