nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

compile a new kernel in RHEL 5

This is a discussion on compile a new kernel in RHEL 5 within the CentOS / RHEL / Fedora forums, part of the Linux Distribution category; Hi all, I need some help in compiling a new kernel. I am using RHEL 5 with kernel version 2.6.18. ...


Go Back   nixCraft Linux Forum > Linux Distribution > CentOS / RHEL / Fedora

Linux answers from nixCraft.


CentOS / RHEL / Fedora Discussion about Redhat Enterprise Linux or CentOS or Fedora Linux related problems.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-02-2008, 08:36 AM
Member
User
 
Join Date: Oct 2007
OS: Linux RHEL 5
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
vikas027 is on a distinguished road
Unhappy compile a new kernel in RHEL 5

Hi all,

I need some help in compiling a new kernel. I am using RHEL 5 with kernel version 2.6.18.

I have downloaded a kernel from link
HTML Code:
http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.20.6.tar.bz2
Code:
1. cd /usr/src
2. wget -c http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.20.tar.bz2
3. tar xvfj linux-2.6.20.tar.bz2
4. cd linux-2.6.20
5. make clean && make mrproper
6. make menuconfig
7  make clean
8. make bzImage
9. make modules
10. make modules_install
11. mkinitrd /boot/initrd-2.6.20.img 2.6.20 
I am following this article
HTML Code:
http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html#CONFIGURATION-2-6
I have completed these steps (till 10) with no errors, BUT when I am trying the 11 th step, no new kernel img file is found.
It only has the old file i.e initrd-2.6.18.img.

Also, few parameters in the make menuconfig are bit confusing, it would be really great if someone has any ebook regarding the parameters.

Pls help !!

Thanks in Adv.
Vikas
Reply With Quote
  #2 (permalink)  
Old 07-02-2008, 11:56 PM
rockdalinux's Avatar
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 708
Thanks: 15
Thanked 19 Times in 18 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
Default

Follow nixcraft's very own guide How to: Compile Linux kernel 2.6

I think you missed make install
__________________
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote
  #3 (permalink)  
Old 24-03-2008, 09:35 PM
Member
User
 
Join Date: Mar 2008
OS: Debian, Slackware, LFS
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 2
Tux-Idiot is on a distinguished road
Default

load .config old and new. diff it. grep diff. look for goofs.
config-2.6.x.[FONT=verdana,geneva,lucida,'lucida grande',arial,helvetica,sans-serif]x[/FONT] Contains all the configuration selections for the kernel
Reply With Quote
  #4 (permalink)  
Old 24-03-2008, 09:56 PM
Member
User
 
Join Date: Oct 2007
OS: Linux RHEL 5
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
vikas027 is on a distinguished road
Default

thanks guyz... thanks a ton for help.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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


Similar Threads

Thread Thread Starter Forum Replies Last Post
Is Linux kernel is monolithic or modular kernel? chiku Linux software 3 27-08-2009 02:56 AM
Linux kernel deleted from /boot - how do I resinstall the kernel vaibhav.kanchan Getting started tutorials 2 25-03-2008 12:31 AM
Yum install kernel debuginfo packages kernel-debuginfo repo rockdalinux Getting started tutorials 0 15-06-2007 09:59 PM
sa-compile diptanjan Linux software 1 07-06-2007 07:07 PM
Kernel Compile mannrj45 Linux software 1 02-12-2006 08:32 PM


All times are GMT +5.5. The time now is 06:49 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38