steps:-
[1] download kernel from kernel.org
now u have linux-2.6.X.tar.gz or linux-2.6.X.tar.bz2 in home folder
[3]$tar tar zxvf linux-2.6.x.tar.gz
[4]$cd linux-2.6.x
[5]$make defconfig
it will take less than 5 minutes
note**- if u use defconfig, it will take very less around 30 minutes to complete the whole process.
but i issued $make oldconfig, and the whole compilation and making modules took around 2.30 hrs.
u can use and experiment with:
$make xconfig
[6]$make bzImage
this will take around 20 minutes
[7]$make modules
if u used defconfig, then it may take 1 or 2 minutes.
But i used oldconfig, and it tool 1.20 hrs to make modules
COMPILATION AND MODULES COMPILING IS COMPLETE NOW
[8]$make modules_install
This step may deny permission
so make entry in root mode mode
$su -
password
$cd /home/username
$cd linux-2.6.x
$make modules_install
same thing happened as i discussed in step 7
[9]$ mkinitrd /boot/initrd-2.6.x.img 2.6.x
[10] $ cp arch/i386/boot/bzImage /boot/bzImage-KERNEL_VERSION
$ cp System.map /boot/System.map-KERNEL_VERSION
$ ln -s /boot/System.map-KERNEL_VERSION /boot/System.map
follow this link
[11]$cp cp .config /boot/config-2.6.x
[12]cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.29
[13]now edit grub.conf
$gedit /boot/grub/menu.lst
edit it as written in link
my grub.conf is below after editing, though its not booting
———————————–
my grub.conf
——————————-
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,8)
# kernel /vmlinuz-version ro root=/dev/mapper/VolGroup-lv_root
# initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=20
splashimage=(hd0,8)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.30.9-96.fc11.i686.PAE)
root (hd0,8)
kernel /vmlinuz-2.6.30.9-96.fc11.i686.PAE ro root=/dev/mapper/VolGroup-lv_root rhgb quiet
initrd /initrd-2.6.30.9-96.fc11.i686.PAE.img
title Fedora (2.6.30.9-90.fc11.i686.PAE)
root (hd0,8)
kernel /vmlinuz-2.6.30.9-90.fc11.i686.PAE ro root=/dev/mapper/VolGroup-lv_root rhgb quiet
initrd /initrd-2.6.30.9-90.fc11.i686.PAE.img
title Fedora (2.6.30.8-64.fc11.i686.PAE)
root (hd0,8)
kernel /vmlinuz-2.6.30.8-64.fc11.i686.PAE ro root=/dev/mapper/VolGroup-lv_root rhgb quiet
initrd /initrd-2.6.30.8-64.fc11.i686.PAE.img
title Test Kernel (2.6.29)
root (hd0,8)
kernel /vmlinuz-2.6.29 ro root=/dev/mapper/VolGroup-lv_root rhgb quiet
initrd /boot/initrd-2.6.29.img
title Xp
rootnoverify (hd0,0)
chainloader +1
===================================
Though this kernel is not booting, i will try to fix it soon
Thanks
njoooy linuxxxxxxxxx



[...] Compile Linux kernel fedora 11 January 2010 5 [...]