Saturday, 24 August 2013

Kernel recompilation

Simple Steps:

1. cd /usr/src
2. wget -c
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:

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


No comments:

Post a Comment