LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-01-2003, 09:43 AM   #1
soup
Member
 
Registered: Jun 2003
Location: London, Ontario
Distribution: Ubuntu, Slackware, FreeBSD
Posts: 61

Rep: Reputation: 15
Question I think I compiled a kernel but it says it's too big.


I'm trying to compile openMosix into a kernel(also i have never compiled a kernel before). I've read the stuff on the openMosix site, slackware.com and the stuff that DaOne posted at the top of this forum. I have tried twice now and about an hour or so into the compile (on a P166) it says:
warning: this kernel is too big to fit on a floppy disk (or someting close to that)
and then it ends. I don't know if that's what is supposed to happen so I tried to boot that kernel and when I selected it in lilo it tries to load and then it says that it is too big. Can anybody help me? I'd appreciate any ideas.

thanks

soup
 
Old 07-01-2003, 09:48 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
well not really anythign to say other than you need to be more selective about your kernel, only use modules that you need, and consider making them as modules instead of compiling them into the kernel directly
 
Old 07-01-2003, 10:32 AM   #3
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Actually if you're not planning to boot off a floppy, your kernel is just fine. Heck, even my kernel is more than 1.4MB. It's still compiled, and should reside in your arch/i386/boot directory from where u compiled it... eg: /usr/src/linux/arch/i386/boot
 
Old 07-01-2003, 10:47 AM   #4
soup
Member
 
Registered: Jun 2003
Location: London, Ontario
Distribution: Ubuntu, Slackware, FreeBSD
Posts: 61

Original Poster
Rep: Reputation: 15
I'm not booting off a floppy. And I don't want to. But I guess for some reason it thinks I do want to. Is there something that I didn't do that tells it I don't want to boot off a floppy?
 
Old 07-01-2003, 10:48 AM   #5
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Nah, it's just a notification. Don't lose sleep over it
 
Old 07-01-2003, 10:49 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
a larger kernel is, natually, slower and more cumbersome, and kinda defies the whole point of compiling your own kernel in the first place.
 
Old 07-01-2003, 10:51 AM   #7
soup
Member
 
Registered: Jun 2003
Location: London, Ontario
Distribution: Ubuntu, Slackware, FreeBSD
Posts: 61

Original Poster
Rep: Reputation: 15
Then how do I get it to boot? as I said when I select it in lilo it just says it's too big and then won't boot.
 
Old 07-01-2003, 10:54 AM   #8
soup
Member
 
Registered: Jun 2003
Location: London, Ontario
Distribution: Ubuntu, Slackware, FreeBSD
Posts: 61

Original Poster
Rep: Reputation: 15
exactly what it says is:
boot:
Loading Linux_OMEBDA too big

i called it Linux_OM in lilo
 
Old 07-01-2003, 10:55 AM   #9
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
Assumed you have copied the bzImage to your /boot partition?
Assumed you have copied the System.map there as well?

Maybe you haven't ran /sbin/lilo after editing your lilo.conf file?
 
Old 07-01-2003, 11:36 AM   #10
soup
Member
 
Registered: Jun 2003
Location: London, Ontario
Distribution: Ubuntu, Slackware, FreeBSD
Posts: 61

Original Poster
Rep: Reputation: 15
I must not have run /sbin/lilo because i just ran it and now it seems to be working. thanks a lot Azmeen

soup
 
Old 07-02-2003, 07:40 AM   #11
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 46
No prob man... congrats!
 
  


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
program compiled under kernel <=2.4 don't work under kernel 2.6 mihaimdl Linux - Software 3 11-08-2005 07:09 PM
new kernel compiled successfully, but the kernel-source package is the same old? luqman Red Hat 2 03-03-2005 09:41 AM
How to transfer the compiled kernel to old kernel server ?? td0l2 Linux - Newbie 2 07-21-2004 02:22 AM
accidently compiled qt without mt support- big deal? schatoor Linux - Software 1 01-24-2004 11:42 AM
kernel panic on reboot of newly compiled kernel lyceum Linux - Newbie 4 09-09-2003 10:40 AM


All times are GMT -5. The time now is 07:36 PM.

Main Menu
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