Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-20-2003, 05:00 PM   #1
LQ Newbie
Registered: Oct 2003
Location: egypt
Posts: 1

Rep: Reputation: 0
how to compile the redhat kernel

i need help to compile the redhat linux kernel
7.2 or 8.00
Old 10-20-2003, 07:51 PM   #2
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 404Reputation: 404Reputation: 404Reputation: 404Reputation: 404
well, if you have installed your kernel source, then switch to /usr/src/linux
as root:
run make menuconfig at console (or xconfig in x)
navigate the menus and make sure to select what you need and deselect what you don't
then wher you are finished type
make dep clean bzImage modules
then make install modules_install
this should work
then if you are compiling a new version then you need to edit your boot loader (/etc/lilo.conf or /etc/grub.conf) to point to your new kernel
Old 10-20-2003, 08:20 PM   #3
Registered: Jul 2002
Location: Germany
Distribution: Redhat 7.3, Debian 3.1, Knoppix 3.1, Ubuntu 6.10
Posts: 113

Rep: Reputation: 15
A lot of helpful articles for newbies are available here:
Old 10-21-2003, 04:35 PM   #4
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,683

Rep: Reputation: 219Reputation: 219Reputation: 219
I've just moved your thread to Linux - Newbie forum. member Intro is a great place to say 'hello' but questions should be posted to other forums.
Old 10-21-2003, 06:26 PM   #5
Registered: Feb 2003
Location: Cleveland, Ohio (USA)
Distribution: Gentoo, Kubuntu 6.06
Posts: 179

Rep: Reputation: 30
If you are running LILO, "make install" should save you from having to mess with lilo.conf. Just remember to run /sbin/lilo just before you reboot, or you're computer will be un-bootable!!! Boot disks are your friend here...
Old 10-21-2003, 08:26 PM   #6
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
here is a step by step i put together, so this should be a good stepping stone for ya, good luck!


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel 2.6.9-5 compile error on RedHat ES 4 TotalDefiance Red Hat 1 10-18-2005 10:37 AM
HELP: RedHat Kernel 2.6.9 Compile Problem. Please help me. strato Linux - Software 1 11-20-2004 11:27 PM
How to compile 2.6 kernel on RedHat Ninja_212 Red Hat 1 03-08-2004 03:18 AM
How can I compile a new kernel for Redhat 9? Sgaileach1 Linux - Software 6 07-28-2003 09:40 PM
RedHat 7.1 - Kernel Compile aford Linux - Newbie 18 03-13-2002 02:52 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:55 AM.

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