First time compiling a new kernel
asmith at 14inverleith.freeserve.co.uk
asmith at 14inverleith.freeserve.co.uk
Mon Jul 8 18:20:23 EST 2002
Hi
Have a look at "http://www.tldp.org/HOWTO/Kernel-HOWTO-2.html". This I think
has hints on all aspects. I've found experimenting using a spare hard drive
onto which a clean distribution has been installed is a good way of
learning the process, along with keeping a log book with all commands so
that you can replicate the task at a later date.The spare hard drive means
you don't lose anything important if you mess it up. Installing a
distribution from DVD means that once started little interaction is required,
therefore you can go and have a beer,a snooze, the gym,etc.whilst it loads.
--
Andrew
On Mon, 8 Jul 2002, Andreas Bauer wrote:
<> Tonight, or possibly tomorrow, I will be upgrading my kernel from 2.4.7-10
<> to 2.4.18 on my RH7.2 machine.
<
<It depends on what you try to do. Are you merely interested in updating the
<kernel via rpm, or do you actually want to compile it yourself? Of course,
<the process is different. Personally, I find a self-compiled kernel easier
<to maintain and to replace as with new kernel rpms you might also run into
<some (more or less) severe dependency problems.
<
<So, I can recommend to grab the kernel sources, do make xconfig (and spend
<some time there), make dep, make, make bzImage, make modules, make install,
<make modules_install and finally run lilo or grub. Be sure you have selected
<the correct architecture, otherwise your kernel won't boot! Maybe a
<boot-disk wouldn't hurt either.
<
<Hope I did not forget anything. :-)
<
<(And should you need more detailed information, then please let me/us know
<what sort of update mechanism you prefer.)
<
<Andi.
<
More information about the linux
mailing list