Fedora Linux Support Community & Resources Center
  #1  
Old 28th May 2004, 04:39 PM
MrWh1t3 Offline
Registered User
 
Join Date: May 2004
Location: Omaha, NE
Age: 30
Posts: 33
Kernel Compile

I was wondering for some info on how to recompile a kernel..maybe some links or maybe even if someone has a how-to doc or something...yes i have searched google and i have found some but i havent found that one that makes 100% to me so i guess i was looking for more info on it. thanks in advance

Last edited by MrWh1t3; 28th May 2004 at 05:07 PM.
Reply With Quote
  #2  
Old 28th May 2004, 05:01 PM
foolish's Avatar
foolish Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Aalesund, Norway
Age: 26
Posts: 1,888
Please understand that I'm not trying to make fun of you, but if you can't spell kernel right, don't try to compile one. You don't need to compile your own kernel, in most cases, its a waste of time. Tell us why you want to do this, and I'll tell you why you shouldn't.
__________________
Sindre Pedersen Bjørdal || http://www.fedorasolved.org || Hardware Profile
- Please adhere to the FedoraForum Guidelines.
Reply With Quote
  #3  
Old 28th May 2004, 05:03 PM
MrWh1t3 Offline
Registered User
 
Join Date: May 2004
Location: Omaha, NE
Age: 30
Posts: 33
i just basically want to learn how to do it nothing really major about it..one of those things just want to learn more about i guess

Last edited by MrWh1t3; 28th May 2004 at 05:08 PM.
Reply With Quote
  #4  
Old 28th May 2004, 05:09 PM
ghaefb's Avatar
ghaefb Offline
Retired Community Manager
 
Join Date: Apr 2004
Location: Slovenia
Age: 30
Posts: 1,713
There are a lot of good tutorials on how to compile 2.6 kernel.. just use google

But you have to know a lot about your computer hardware...
Usually it's like this:
1.) (get kernel source, under /usr/src)
2.) make gconfigure (menuconfig, xconfig),(you really need to know what you are doing here!)
3.) make (compile source)
4.) make modules
5.) make modules_install
6.) make install (add to grub menu)
__________________
_ghaefb


blog & sysinfo
Reply With Quote
  #5  
Old 28th May 2004, 05:15 PM
ndv Offline
Registered User
 
Join Date: May 2004
Location: Italy
Posts: 82
basic answer

first download the source code for you

www.kernel.org is a good start

then uncompress it in a subfolder of
/usr/src
it a standard location beter stick to the tradition

enter inside the directory and type
make oldconfig
this crates for you a .config file that shall be based on your running kernel then
make xconfig
navigate through the bazilliions of options enabling and disabling the function you want
then if it is a 2.4 kernel type
make dep
if 2.6 go directly to the next steps:
make modules
(and sip a good looong coffe)
make modules_install
make bzImage
(note the capital "I" has to be preserved when iusuing the command)
make install

and....
reboot

(good luck)
standard disclaimer:
better have some reading before...
you can do some bad bad minstakes...
nicola
Reply With Quote
  #6  
Old 28th May 2004, 05:15 PM
kbradl1 Offline
Registered User
 
Join Date: Mar 2004
Posts: 96
Although it is true you most likely don't need to compile your own kernel, learning to do so can really increase your linux knowledge.

A good, yet slightly out-of-date document for building your own kernel can be found at:
https://www.redhat.com/docs/manuals/...dularized.html


The gist of it is:

cd /usr/src/<kerneldir>
make xconfig
make dep
make clean
make bzImage
make modules
make modules_install
make install

in order to understand these commands you need to read the guide.
Reply With Quote
  #7  
Old 28th May 2004, 05:19 PM
ndv Offline
Registered User
 
Join Date: May 2004
Location: Italy
Posts: 82
ghaefb, don't you make bzImage???
I know the order of compilation may vary, but you really surprise me!!
is it a mistake or does it really works also this way??
nicola
Reply With Quote
Reply

Tags
compile, kernal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
xoscope compile problem on F9 - compile with gcc3.3? tmort Using Fedora 0 28th August 2008 04:35 PM
VMware workstation 6 hosted on core 6 kernal compile errors gmarcotte Using Fedora 9 30th May 2007 08:01 AM
do i have a kernal bug? goldstar1 Using Fedora 4 1st August 2006 06:14 PM
Kernal Update sloppyunderfoot Using Fedora 2 19th November 2004 08:58 PM
Attempted to compile custom kernal but ran out of disk space!! krazibon3 Using Fedora 4 5th September 2004 06:18 PM


Current GMT-time: 07:41 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat