LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-25-2003, 06:47 AM   #1
cicisbeo
Member
 
Registered: Jul 2003
Distribution: slackware9.0
Posts: 34

Rep: Reputation: 15
Kernel too large for lilo..


dist: slackware9.0
$pwd
/usr/src/linux-2.4.20
$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,
Cicisbeo
cicisbeo@gis.net
7/25/2003
 
Old 07-25-2003, 07:01 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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?
 
Old 07-25-2003, 07:02 AM   #3
cicisbeo
Member
 
Registered: Jul 2003
Distribution: slackware9.0
Posts: 34

Original Poster
Rep: Reputation: 15
yes, but that was confusing too because it appeared in the
arch/i386/boot
dir
there doesn't seem to be an arch/athlon nor arch/i586 ..i686
~cicisbeo
 
Old 07-25-2003, 07:12 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
it is i386 i.e. intel compliant architecture, as oppose to sparc or something totally different
 
Old 07-25-2003, 02:57 PM   #5
cicisbeo
Member
 
Registered: Jul 2003
Distribution: slackware9.0
Posts: 34

Original Poster
Rep: Reputation: 15
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?
~cicisbeo
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgraded kernel, lilo.conf, didn't run /sbin/lilo dtashima Linux - Newbie 4 10-18-2004 11:21 AM
Kernel too large? Oderus Slackware 10 10-02-2004 11:39 PM
kernel 2.2 vs. 2.4 - large # of files rmang Linux - General 2 02-13-2004 08:20 AM
new kernel causes lilo crash; /sbin/lilo = Warning: device 0x0305 exceeds 1024 cylind dandysf Linux - Software 0 08-26-2003 04:50 PM
Is having a large kernel bad? MRK Linux - Software 4 07-13-2003 07:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration