LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
 
LinkBack Search this Thread
Old 01-07-2004, 12:37 AM   #1
win13
LQ Newbie
 
Registered: Jan 2004
Distribution: Red Hat 9.0
Posts: 16

Rep: Reputation: 0
Post Need huge help on recompiling kernel


ok, yet another question/problem. i feel like a total idiot, too damn pampered with the ease of windows, should have started linux sooner. im still a newbie on this so please no shortcuts on anything. im looking in on recompiling the updated 2.3.20-8.9 for Red Hat 9. after i install it, and try to install video card drivers it can't do it cause i need to recompile the kernel. also when i try to play a screensavers it gives me an error with some program haveing to do with deamon... i can't remember. i've tried googling but failed at attemting to recompile. i've reinstalled Linux cause i hate the feeling something is screwed up with it.
plz i need a good step-by-step on recompiling the kernel after i update it. and also after i recompile, how do i get rid of the other kernel in the GRUB boot loader.
 
Old 01-07-2004, 01:21 AM   #2
vincebs
Member
 
Registered: Oct 2003
Location: Mississauga, ON
Distribution: Ubuntu 9.04
Posts: 494

Rep: Reputation: 30
Why are you using a developmental kernel? Compile a 2.4 or 2.6 kernel instead, those are the stable releases.

There is a kernel compiling guide in the Linux Distributions/RedHat forum.
 
Old 01-07-2004, 01:55 AM   #3
win13
LQ Newbie
 
Registered: Jan 2004
Distribution: Red Hat 9.0
Posts: 16

Original Poster
Rep: Reputation: 0
as i said im new. i cant tell what is a developemental kernel or not. but thanks for the direct.
 
Old 01-07-2004, 02:57 AM   #4
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Kernel 2.X.Y

if X is even, then it's a stable release
if X is odd, then it's a development kernel

I think that you should keep the other kernel in the boot loader menu. You could make your home compiled kernel the default choice, but keep the other kernel just in case...

Regards
Martin
 
Old 01-07-2004, 04:24 AM   #5
win13
LQ Newbie
 
Registered: Jan 2004
Distribution: Red Hat 9.0
Posts: 16

Original Poster
Rep: Reputation: 0
whoops now that i just reread my post i just realized i had put 2.3 instead of 2.4. but thanx for the input on whats stable and what's develop.
 
Old 01-07-2004, 04:38 AM   #6
win13
LQ Newbie
 
Registered: Jan 2004
Distribution: Red Hat 9.0
Posts: 16

Original Poster
Rep: Reputation: 0
Question

i have another question about compiling kernels. i'm always seeing "edit lilo.config," i'm using GRUB does that mean i have to use LILO now, or is there a way to edit GRUB as well?
 
Old 01-07-2004, 04:57 AM   #7
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Quote:
Originally posted by win13
[B i'm always seeing "edit lilo.config," i'm using GRUB does that mean i have to use LILO now, or is there a way to edit GRUB as well? [/B]
You can use either GRUB or LILO to boot the system. If you have GRUB now, then there is no need to switch.

The RedHat manuals have a section about configuring your boot loader (Ch 30):
https://www.redhat.com/docs/manuals/.../custom-guide/
You could also read the Appendix about building your own kernel.

Good luck!
Martin
 
Old 01-08-2004, 12:36 PM   #8
vincebs
Member
 
Registered: Oct 2003
Location: Mississauga, ON
Distribution: Ubuntu 9.04
Posts: 494

Rep: Reputation: 30
Quote:
Originally posted by win13
i have another question about compiling kernels. i'm always seeing "edit lilo.config," i'm using GRUB does that mean i have to use LILO now, or is there a way to edit GRUB as well?
I find GRUB easier to configure than Lilo. You're using RedHat 9, right? Then just edit the /boot/grub.conf file and then you're done. No need to run a "grub" command to write to the MBR like you have to do with LILO.

And one word of advice:
After you've added your new kernel to GRUB, don't delete the old one. Cuz it took me a dozen times to get a 2.6 kernel running. If I deleted my old 2.4 kernel, I would not have been able to boot my computer.
 
Old 01-08-2004, 01:58 PM   #9
RHmicko
LQ Newbie
 
Registered: Oct 2003
Location: Ireland
Distribution: Redhat 9.0, ES3.0, Fedora Core 2, Mandrake 10
Posts: 22

Rep: Reputation: 15
I always find this link the best on this site

http://www.linuxquestions.org/questi...&postid=379355

Good luck.
Micko
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Huge kernel problems NonSumPisces Linux - General 0 06-16-2004 12:25 PM
Recompiling 9.1 2.4.22 kernel Garp Slackware 2 04-20-2004 02:15 PM
can i compile just one kernel module whithout recompiling the whole kernel? edman007 Linux - Software 3 02-17-2004 03:05 PM
Recompiling Kernel dai Linux - General 3 08-05-2002 04:24 AM
recompiling kernel slacknewbie Linux - General 3 05-08-2002 10:24 AM


All times are GMT -5. The time now is 05:30 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration