LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-07-2004, 01:26 AM   #1
Boby
Member
 
Registered: Feb 2004
Posts: 781

Rep: Reputation: Disabled
questions for my first kernel compiling


Hello!

I'm not very new to Linux, but there are many things to learn for me...
This is the first time I want to compile a new kernel. I'm running Fedora Core 2 with it's standard kernel. I want now to upgrade to 2.6.8.1.

So, here are my questions:

1. Is this the latest stable version of the Linux kernel? As I know 2.6.9 is not stable yet.

2. What do I have to know before compiling it? About my hardware? I want to be able to add/change new hardware to my PC without recompiling the kernel.

3. After, a succesfull compile, can I run 2 versions of the kernel to test it? Something like changing in GRUB to start with 2.6.5 or 2.6.8

My PC: Athlon XP 1600+, 128 RAM, VooDoo 3 3000 video, Creative SB, LAN card and a Winmodem [ I know..I know]


Thank you for any help!
Boby

Last edited by Boby; 09-07-2004 at 01:29 AM.
 
Old 09-07-2004, 01:37 AM   #2
symen
Member
 
Registered: Sep 2004
Location: Dublin
Distribution: Debian 3
Posts: 61

Rep: Reputation: 15
2) Basically you'll need to know everything you need your new kernel to do for you.
you have to tell it what hardware to compile in (which can be tricky if you have exotic stuff sitting in your pc), but also all built-in modules (like firewall for instance).

Just have a good browse through the list in "make menuconfig" of "make xconfig" (or whatever you'll be using). If you mess up, see question 3

3)Yes you can, you even have to. Read the howto for this. you need to add your new kernel image to the list in your bootloader. So if you mess up your new kernel, you can just go back to the old one
 
Old 09-09-2004, 10:06 AM   #3
Boby
Member
 
Registered: Feb 2004
Posts: 781

Original Poster
Rep: Reputation: Disabled
Ok, I successfully compiled a new kernel. The old one is still there,how can I delete the old kernel 'cause I don't need it anymore.

Thanks!
Boby
 
Old 09-10-2004, 09:09 PM   #4
Boby
Member
 
Registered: Feb 2004
Posts: 781

Original Poster
Rep: Reputation: Disabled
...and another question:

I installes a lot of programs by rpm and/or compiled them by myself when I was using the old kernel.
do I have to change something or will they work all fine with the new one?

boby
 
Old 09-10-2004, 10:14 PM   #5
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

Rep: Reputation: 52
1. I recommend keeping the old kernel there just for backup. But if you want to kill it, look in /boot (never used FC so this is coming from redhat experience) and remove the kernel you are not using. Also you need to edit it out from lilo (or grub if you are using that).

2. As for the modules, they will work fine with the new kernel.

-twantrd
 
Old 09-11-2004, 01:52 AM   #6
Boby
Member
 
Registered: Feb 2004
Posts: 781

Original Poster
Rep: Reputation: Disabled
OK, thanX twantrd [

Boby
 
Old 09-12-2004, 12:06 PM   #7
h1tman
Member
 
Registered: Jul 2003
Distribution: Slackware 11
Posts: 439

Rep: Reputation: 30
i still use 2.4.22
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
question about kernel compiling? slackwbas Slackware 2 03-02-2005 07:55 AM
kernel compiling question Jeebizz Slackware 6 10-14-2004 06:02 PM
kernel compiling question Aldebaran Linux - Newbie 9 10-16-2003 07:25 PM
another kernel compiling question twinkers Slackware 3 10-04-2003 05:33 AM
Kernel Compiling question... 65_289 Linux - Software 1 03-23-2003 11:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration