-   Linux - Software (
-   -   Kernel too large for lilo.. (

cicisbeo 07-25-2003 06:47 AM

Kernel too large for lilo..
dist: slackware9.0
$cp /boot/config /usr/src/linux-2.4.20/.config
$make clean
$make xconfig
(here I change processor family to athlon to
accomidate th athlon 1.4 GHz Thunderbird)
$make dep
$make bzImage

after copying the new image to /boot , doing the
necessary file switching with mv and editing /etc/lilo.conf
I run lilo which exits with an error that the image is too
large to be used.
I have searched the web in general and the LDP homepage
yet no kernel tutorials seem to get between the basic five-step
process and the kernel internals.
However, I would like to understand the configuration process
in more depth as I would also like to know
why modifying one variable results in a kernel too large
to fit in the available space of the MBR.
any help would be greatly appreciated.
Thank you,

acid_kewpie 07-25-2003 07:01 AM

well by default i don't think that it is the *same* config as the default kernel, that's probably just the default source. so you'd need to customize it properly.

and you did actully copy the correct (compressed) image from the boot directory?

cicisbeo 07-25-2003 07:02 AM

yes, but that was confusing too because it appeared in the
there doesn't seem to be an arch/athlon nor arch/i586 ..i686

acid_kewpie 07-25-2003 07:12 AM

it is i386 i.e. intel compliant architecture, as oppose to sparc or something totally different

cicisbeo 07-25-2003 02:57 PM

Thanks for your help Chris.
I wonder if you might know this; I meant to ask you in my last post:
You'd said the actual kernel config file was not /boot/config as I erroneously
assumed. Does it exist as a file then? Does some utility which I am
ignorant to exist with which to query the loaded kernel and cat it's config?

All times are GMT -5. The time now is 07:25 AM.