On 5/24/05, shirish agarwal <[EMAIL PROTECTED]> wrote:
> As far as I know there're 2 ways to re-compile the kernel :- (Doing all as 
> root)
> A]
> 1. Install the sources & go to /usr/src/linux & read the README.
> 2. make menuconfig : menu comes, after choosing processor types &
> other parameters exit.
>                                 Make sure to save the configuration file.
> 3. make all :- This makes something knows as bz or BZ Image? Anybody
> can give more clarity  about this? It also makes modules which are
> needed later.
> 4. make modules-install : Installs the module install files
> 5. make install :- Installs the module
> 

Hi,
It depends on which version of the kernel are u re-compiling? 2.4 or 2.6.

Since 2.6 u need not be root to compile the kernel (says my knowledge,
experts may differ).
i have looked up various sites to compile kernel, but the README file
in the source is the best. It gives u complete info on how to compile.

while compiling make sure u have the (prefer all ext2/3, fat, ntfs,
etc) file system built into the kernel and not as module. Else it will
never boot.

Also try and skim over the book Internals of a linux kernel. It gives
u a fair idea of what should u include and what needs to get compiled
as modules.

DO NOT add any un-wanted hardware support. Compile only the necessary things.

And most of the fun lies in compiling first, then successfully failing
and re-compiling till u get it correct. It helps u in lea ring the
internals of the kernel.

Regards
Aditya

--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List:      (plug-mail@plug.org.in)
List Information:  http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.

Reply via email to