View Single Post

  #1 (permalink)  
Old 02-04-2008, 09:36 AM
vikas027 vikas027 is offline
Member
User
 
Join Date: Oct 2007
My distro: Linux RHEL 5
Posts: 33
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