Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just compiled a custom kernel, stripping off some stuff I don't need. However, after I add the custom kernel into lilo.conf and run lilo I get an error saying the kernel is too large. Since the custom kernel is smaller, I don't really understand... What's going on here?
Can you post your lilo.conf please, and tell us what kernel image file your referencing? I am guessing you grabbed the wrong file from the src after you built your kernel.
How big is the kernel? Also, Slackware 7.1 is old -- what version of LILO is it (I think some older versions may have had trouble with large kernels, but I'm not totally sure)? Also what version of the kernel are you compiling?
I'm using kernel 2.2.16. The kernel is a bit under 500kb, vs the old kernel which was 700+kb. Now lilo works fine with the default kernel, which is larger, so I assumed that the custom kernel should be fine as well.
I "tricked" lilo into booting the custom kernel by renaming the custom kernel and it booted up fine the first time. However, the second time I tried it, the computer froze, the third time it gave me a kernel panic. So I'm thinking maybe there's something wrong with the kernel image itself or with lilo. But I don't really know how to diagnose it from here.
I dunno if it matters, or if that particular kernel supports it.. but I always do a make bzImage instead of a make zImage and use the bzImage with lilo.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.