I have lately been trying to upgrade my kernel to 2.6.xx, but it seems that the kernel I end up with after "make bzImage" is ~6Mb and lilo returns "image X too big", and so I tried with my old 2.4 source, but again, after compiling, the same error. Then I decided to use my original image, but I fell asleep and when I woke up, I just turned my laptop off without running lilo, and now, when I try to boot, it hangs.
My questions are:
1-) Are
"/boot/[image]"
"/etc/lilo.conf"
"/usr/lib/modules/2.x.xx/"
the ONLY files that change when compiling a new kernel or does running "lilo" change anything? and if so, is there any way I can run "lilo" from, for example, a live linux (knoppix, DSL, etc.) so that it affects the mounted hda instead of the running live system? I think i tried:
$ lilo -C /mnt/hda1/etc/lilo.conf -R /mnt/hda1
but i dont think it worked.
and 2-) How do I get that nice 1.[1-4]Mb kernel size that will work, or how do I get the bulky 6Mb kernel to be valid for lilo.
P.S: I know that unwanted modules take up extra space, but I swear I need them (or will need them) all.
..And to think that I only wanted APM to poweroff correctly.
--I am Slackware 10.2
--systelm - pardon the regular expressions (learning bash 'n' C)