LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need huge help on recompiling kernel (https://www.linuxquestions.org/questions/linux-newbie-8/need-huge-help-on-recompiling-kernel-132287/)

win13 01-07-2004 12:37 AM

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.

vincebs 01-07-2004 01:21 AM

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.

win13 01-07-2004 01:55 AM

as i said im new. i cant tell what is a developemental kernel or not. but thanks for the direct.

MartinN 01-07-2004 02:57 AM

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... :rolleyes:

Regards
Martin

win13 01-07-2004 04:24 AM

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.

win13 01-07-2004 04:38 AM

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?

MartinN 01-07-2004 04:57 AM

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

vincebs 01-08-2004 12:36 PM

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.

RHmicko 01-08-2004 01:58 PM

I always find this link the best on this site

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

Good luck.
Micko


All times are GMT -5. The time now is 04:56 AM.