Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-31-2004, 11:53 PM   #1
Registered: Jun 2004
Distribution: Gentoo
Posts: 102

Rep: Reputation: 16
what is the point of complinign yoru own kernel?

compliling yoru own custom kernel seems to be an important thing around here, but I do not understand why is it so important?
how can you benefit from doing so?
or is it just a way to optimize your system so it runs smoother?
Old 07-31-2004, 11:57 PM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
You can take unnecessary stuff out of the kernel to make it boot faster or add special support if you have hardware that needs it. As an example, I had to recompile my kernel to get ethertap support so that my user mode Linux virtual systems could get their own IPs and connect to the network through my ethernet cartd. As another example, I compiled a kernel on one system that was to be used as a router to have some advanced networking features enabled.

But if your distro's kernel provides you with everything you need, and you don't want to be bothered, then there's no real reason for you to compile your own kernel.
Old 08-01-2004, 12:37 AM   #3
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
take a look at you .config file

it is hidden so un-hide it to read.............most default kernel installs
for intel machines use the 386 designation for your processor........
re-compile that dude with YOUR read chip........P3, P4, Celeron, etc.....
enable/disable stuff you need or don't need............
you can choose different networking modules, support for a zip drive......
telephony support......kernel hacking/ that config file and you will see..........ALSO read what is in the Documentation directory that is in your kernel is 5+ megs of text info about the kernel and what it can and cannot do and how to configure it for what you want to do with your system..........
Old 08-01-2004, 05:22 AM   #4
David the H.
Bash Guru
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,837

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Kernel compiles can be tricky at first. There's a huge number of options available and you really aren't given enough info to know which ones you need and don't need. I had to go through about a dozen recompiles the first time I tried it. Took me about 3 days to get a kernel I could be happy with. Now my system boots much faster and is probably a bit more stable. But I probably still have a lot of useless junk loading it up. Eventually I'll go back and discover what everything actually does and really strip it down to a lean system.

My sound card wasn't supported by the default Debian kernel, so that really motivated me to learn how to it. But even if I hadn't needed it I'm sure I would eventually start doing it anyway, because one of the best reasons to recompile your own kernel is simply "because you can". Is is possible to create a custom Windows system suited specifically to your needs? No need to answer that. With Linux you have the power to make your system your own in a way that just can't be done with proprietary software. I, for one, just love having that ability. More power to the people, Yeah, Baby!


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
Floating Point in kernel 2.4.28 lucs Slackware 1 10-19-2005 08:33 AM
Point to current kernel source directory starunj Linux - Newbie 1 10-24-2004 07:33 PM
Recompiling Kernel - starting point imitchel Linux - Newbie 1 03-01-2004 02:44 PM
Mandrake MNF with point-to-point T1, routers ioannes Linux - Networking 0 07-24-2003 08:59 AM
Is there a detailed point by point comparison on Linux to Windows? Paul Parr Linux - General 4 04-26-2003 02:35 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:31 PM.

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