LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   howto complie linux 2.6.x kernel? (https://www.linuxquestions.org/questions/linux-newbie-8/howto-complie-linux-2-6-x-kernel-265295/)

goCool 12-11-2004 02:13 PM

howto complie linux 2.6.x kernel?
 
i'm a newbie to linux, i'm running fc3 on my laptop and i want to know how to complie linux 2.6.x kernel?

Caeda 12-11-2004 02:18 PM

First, if your a newbie then don't mess with the kernel until you actually understand what your doing.

Second, by the time you do understand what your doing, you'll have noticed the 5,000,000 sets of instructions for compiling a kernel that are all over the internet.

GCR 12-11-2004 06:37 PM

FIrst off, unless you have some hardware that needs to be supported via kernel upgrade/compiling, I would strongly suggest you skip it until you are more familiarized with the process. One mistake and you kiss your system godd-night.

(Though theres still the possibility of using a rescue disk, but why risk your system.

Dodgeram01 12-12-2004 12:59 AM

As far as actually compiling the kernel goes, assuming you already have a valid .config file in place, I typically mount my boot partition, and then run
Code:

make && make modules modules_install install
. Then I edit my grub.conf if needed to make sure I can select the new kernel to boot from, and then I'm good to go. But as the others have recommended, if you don't know what you are doing yet and you aren't trying to recompile in order to get hardware support, I would wait.

goCool 12-12-2004 10:11 AM

thanks you all for the reply, yes, its probably not a good idea to mess with the kernel right now.

JimBass 12-12-2004 01:03 PM

Beyond what everyone else has writte, FC3 comes with 2.6.9. That is the newest kernel at present time.

Peace,
JimBass


All times are GMT -5. The time now is 09:29 PM.