i've been running mandrake 7.0 for some time,
and after fooling around a bit, managed to mess
up lilo.

lilo now stops booting after typing out LIL-
which apparently means that the map file is corrupted
or the geometry is wrong or something like that.
The suggested fix is to rerun LILO, which i do, but
to no avail.  So now, I can only boot from a floppy.

another fix may be to copy a map file from somewhere,
but i don't know where to find one.  (I cannot seem to
copy the map file from the floppy, because when i mount
it, i only see the single bz image called vmlinux2.2.14-15mdk)
(besides, i was running vmlinux2.2.14-15mdksecure)

also, using the "linear" option doesn't seem to work.

using a grub boot disk didn't help either...

any suggestions?

my /etc/lilo.conf file looks like this: 

boot = /dev/hda1 
map=/boot/map
install=/boot/boot.b 
timeout = 500 
linear 
prompt
  vga = normal
  root = /dev/hda5
  read-only 
image = /boot/vmlinuz-2.2.14-15mdksecure
  label = linux 
image = /boot/vmlinuz-2.4.0
  label = test     


my /boot directory contained a bunch of different
maps files eg. System.map, System.map-2.214-15mdksecure

my original set up from mandrake
did not contain an /etc/lilo.conf file and yet lilo
always booted fine (i guess using the defaults).

Here is how i screwed things up (i am not sure what step
actually messed things up, so here are all of them).

1) the system was perfect...so i began to fix it
2) i decided i wanted to upgrade from the 2.2.14 kernel to
the 2.4.0 kernel
3) before doing anything, i checked that my boot floppy
worked (although i don't know how, i suspect that this is
what caused things to get messed up)
4) after compiling the 2.4 kernel, and modules, i copied the bzimage
to the boot directory.
5) i then rebooting the system, but did not tell lilo about
the new kernel, because i wanted to make sure that things
were still okay
6) it is possible that before rebooting, i ran linuxconf,
and looked at the lilo configuration (which was empty),
but i didn't change anything (perhaps linuxconf decided
to do something anyway?_

so, i have managed to run into problems, and i haven't even
run the new kernel yet....

any help would be appreciated, as i have been fiddling with lilo
and pulling my hair out for some time on this.

thanks,
jonathan



Reply via email to