LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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, 07: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, 08:01 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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, 08: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, 08:12 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
it is i386 i.e. intel compliant architecture, as oppose to sparc or something totally different
 
Old 07-25-2003, 03: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 12:21 PM
Kernel too large? Oderus Slackware 10 10-03-2004 12:39 AM
kernel 2.2 vs. 2.4 - large # of files rmang Linux - General 2 02-13-2004 09:20 AM
new kernel causes lilo crash; /sbin/lilo = Warning: device 0x0305 exceeds 1024 cylind dandysf Linux - Software 0 08-26-2003 05:50 PM
Is having a large kernel bad? MRK Linux - Software 4 07-13-2003 08:06 PM


All times are GMT -5. The time now is 02:44 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration