Kernel recompilation


Simple Steps:

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.make install
It will install three files into /boot directory as well as modification to your kernel grub configuration file:

    System.map-2.6.25
    config-2.6.25
    vmlinuz-2.6.25

12. mkinitrd /boot/initrd-2.6.20.img 2.6.20
Then new compiled kernel shown in /etc/grub.conf with existing kernel,now you edit it with yourself with using default option



 
 
 

Comments

Popular posts from this blog

Using a Linux server to route packets between two private networks

PHP Fatal error: Class 'JFactory' not found

KVM & Qemu