Results 1 to 4 of 4

Thread: compile a new kernel in RHEL 5

  1. #1
    Member
    Join Date
    Oct 2007
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    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

  2. #2
    Is that all you got? rockdalinux's Avatar
    Join Date
    May 2005
    Location
    Planet Vegeta
    Posts
    987
    Thanks
    27
    Thanked 71 Times in 62 Posts
    Rep Power
    20

    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.

  3. #3
    Member
    Join Date
    Mar 2008
    Posts
    81
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    7

    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

  4. #4
    Member
    Join Date
    Oct 2007
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Default

    thanks guyz... thanks a ton for help.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Is Linux kernel is monolithic or modular kernel?
    By chiku in forum Linux software
    Replies: 3
    Last Post: 27th August 2009, 02:56 AM
  2. Linux kernel deleted from /boot - how do I resinstall the kernel
    By vaibhav.kanchan in forum Getting started tutorials
    Replies: 2
    Last Post: 25th March 2008, 12:31 AM
  3. Yum install kernel debuginfo packages kernel-debuginfo repo
    By rockdalinux in forum Getting started tutorials
    Replies: 0
    Last Post: 15th June 2007, 09:59 PM
  4. sa-compile
    By diptanjan in forum Linux software
    Replies: 1
    Last Post: 7th June 2007, 07:07 PM
  5. Kernel Compile
    By mannrj45 in forum Linux software
    Replies: 1
    Last Post: 2nd December 2006, 08:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •