On Mon, Jul 07, 2003 at 01:03:36PM +1200, Nick Rout wrote:
> am I getting this right - you need to rerun lilo even though you call
> the new kernel exactly the same name?

Correct.

> that makes no sense to me, grub just boots the file you point it at, if
> you change to a new kernel you backup your old kernel and copy the new
> one where it used to be. (if you are a real man you forget the first
> part)

LILO records the _location_ of the on-disk kernel image into the LILO
bootloader at the start of the disk.  LILO does not understand
filesystems (this is a strength and a weakness), and therefore does not
know about the naming of the kernel image.

Because of this, whenever you change the kernel image you need to run
lilo(8) to update the bootloader with the new location of the kernel.
If you fail to do this, you'll end up booting the old kernel (if you're
lucky), or you'll be stuck with a "LI" (or similar, depending on the
point of failure) prompt.

Remember that LILO is a lot older than GRUB, and can boot machines that
GRUB can't due to it's design.  They both have their merits, but GRUB
certainly seems easier for the average user.  LILO works with more
systems, and doesn't need to understand a new filesystem to boot off of
it.

Cheers,
-mjg
-- 
Matthew Gregan                     |/
                                  /|                [EMAIL PROTECTED]

Reply via email to