LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 11-06-2001, 01:06 PM   #1
bataii
LQ Newbie
 
Registered: Nov 2001
Posts: 3

Rep: Reputation: 0
Question Kernel Build problem


I'm trying to build a new kernel for my system. I've downloaded the sources for both 2.4.10 and 2.4.12.

I do the following:
make config
make dep
make
make boot

At this point I always get an error in zImage stating the statistics of the sizes, then it says;
System is 566 kB
System is too big. Try using bzImage or modules.
{zImage} error.

It doesn't matter how big the kernel is or which kernel I'm using. Can anyone help?

thanks,
bataii
 
Old 11-06-2001, 01:15 PM   #2
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,694

Rep: Reputation: 45
use bzImage instead of zImage. it compresses the kernel into a smaller file.
 
Old 11-06-2001, 01:33 PM   #3
bataii
LQ Newbie
 
Registered: Nov 2001
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks

Thanks for the help. I have another question then:

Once I get the bzImage, do I just copy that to /boot and rename it vmlinuz for Lilo? or is there something else I have to do?

bataii
 
Old 11-06-2001, 01:42 PM   #4
isajera
Senior Member
 
Registered: Jun 2001
Location: San Antonio, TX
Distribution: distro? what's a distro?
Posts: 1,635

Rep: Reputation: 45
it's easiest to copy it to /boot and rename it, but be sure to save the old kernel as vmlinuz.old or something like that.
 
Old 11-06-2001, 01:49 PM   #5
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,694

Rep: Reputation: 45
here's the steps i use:
make xconfig
make dep
make clean
make bzImage
make modules
make modules_install
make bzlilo

bzlilo will backup the current kernel,install the new, and run lilo(saves a lot of typing)
 
Old 11-06-2001, 02:21 PM   #6
bataii
LQ Newbie
 
Registered: Nov 2001
Posts: 3

Original Poster
Rep: Reputation: 0
Again, thanks.

Thanks, I'll try both just to make sure everything is fine.

bataii
 
  


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
kernel-source-2.6.5-7.src.rpm requires kernel-dummy to build!? fizzdandantilus Suse/Novell 5 12-02-2004 12:48 PM
New FAQ topic: Should I edit my kernel configuration?/Should I build a custom kernel? chort *BSD 10 09-10-2004 11:15 PM
kernel build problem ludwig W Linux - General 2 01-10-2004 06:02 PM
kernel 2.6.0 build menu problem ugenn Linux - Software 6 12-30-2003 11:14 AM
Kernel build problem Thomas.P Programming 2 11-19-2001 04:08 AM


All times are GMT -5. The time now is 02:41 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