PDA

View Full Version : [ubuntu] [SOLVED] Linux Kernel



beanstalker
July 28th, 2008, 10:13 AM
I have recently read several posts about kernel compilation. Could somebody please explain exactly what this process actually does and what the advantages to doing it are? Or direct me to some reading material on the subject. A clearer description of exactly what the kernel is would also be very much appreciated. I have a rough idea but something a little more accurate would be nice.

Cheers,
Jack :)

Nepherte
July 28th, 2008, 10:18 AM
http://en.wikipedia.org/wiki/Kernel_(computer_science)

In general, you wouldn't need to compile your own kernel (unless you're very curious). The one that comes with Ubuntu should be sufficient. Most of the time you want to compile your own kernel if you need a very specific component or hardware support.

PmDematagoda
July 28th, 2008, 10:18 AM
The kernel is pretty much the core of the entire OS, it handles input/output, processes, system calls, the lot.

Compiling a kernel is when you obtain the kernel source from somewhere and then compile it pretty much like a normal application(but the steps are slightly different). The advantages of compiling a kernel are:-
1) There maybe performance increases, especially if you configure the kernel to fit your PC/architecture.

2) You can patch the kernel source with other things such as GRsecurity, etc. which can extend the abilities of the kernel.

sdennie
July 28th, 2008, 10:24 AM
One of the advantages is that you can tweak the kernel for specific needs. In reality, I don't recommend compiling your own kernel unless you have some specific need that you are certain a different kernel will fix. It's far more convenient to use the default Ubuntu kernel and get bug fixes and security updates from there.

For information and links about the kernel, the wikipedia page looks quite good: http://en.wikipedia.org/wiki/Linux_kernel