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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-07-2004, 12:37 AM
|
#1
|
|
LQ Newbie
Registered: Jan 2004
Distribution: Red Hat 9.0
Posts: 16
Rep:
|
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.
|
|
|
|
01-07-2004, 01:21 AM
|
#2
|
|
Member
Registered: Oct 2003
Location: Mississauga, ON
Distribution: Ubuntu 9.04
Posts: 494
Rep:
|
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.
|
|
|
|
01-07-2004, 01:55 AM
|
#3
|
|
LQ Newbie
Registered: Jan 2004
Distribution: Red Hat 9.0
Posts: 16
Original Poster
Rep:
|
as i said im new. i cant tell what is a developemental kernel or not. but thanks for the direct.
|
|
|
|
01-07-2004, 02:57 AM
|
#4
|
|
Member
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555
Rep:
|
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
|
|
|
|
01-07-2004, 04:24 AM
|
#5
|
|
LQ Newbie
Registered: Jan 2004
Distribution: Red Hat 9.0
Posts: 16
Original Poster
Rep:
|
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.
|
|
|
|
01-07-2004, 04:38 AM
|
#6
|
|
LQ Newbie
Registered: Jan 2004
Distribution: Red Hat 9.0
Posts: 16
Original Poster
Rep:
|
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?
|
|
|
|
01-07-2004, 04:57 AM
|
#7
|
|
Member
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555
Rep:
|
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
|
|
|
|
01-08-2004, 12:36 PM
|
#8
|
|
Member
Registered: Oct 2003
Location: Mississauga, ON
Distribution: Ubuntu 9.04
Posts: 494
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:19 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|