Kernel recompile
Timothy Murphy
tim at birdsnest.maths.tcd.ie
Thu Aug 12 22:18:29 UTC 2004
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
More information about the fedora-list
mailing list