Re: Kernel recompile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Felix Mathais wrote:

> Where could I find good instructions how to recompile and install the
> kernel if I need to compile in additional modules? I never done this
> before. Until now I was happy using the stock kernel, but reading the
> ansers from my previos post with the tulip module, I might need to
> recompile the kernel.

People make a great issue of this, but I think it is fairly straightforward.
First get the source, say /usr/src/linux-2.6.7
Then go to this directory and say "make oldconfig xconfig".

Now you have to go through a rather tedious list of choices,
but 90% of them are not relevant, and can just be passed by.

Then save the config - it will be saved as .config ,
and I would keep a copy of this, as it saves a lot of time
if you load an old config (there is an option to do this).

Then say "make bzImage; make modules",
and as root "make modules_install; make install".

Then when you re-boot the new kernel should be added to the choice.
If it doesn't work you can always use the old one.

-- 
Timothy Murphy  
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux