compile new kernel

1. download the fresh kernel and put it in /usr/src
2. extract it using
#tar xvfz #if the kernel end with tar.gz file
3. cd to the directory
4. enter the menu of kernel….
#make menuconfig
change what necessary, usually the processor to make it faster
5. compiling
6. compiling the modules (if any when u were changing in module menu)
#make modules
7. finishing for the module
#make modules_install
8. finishing for the linux
#make install

for lilo user
9. copy the bzImage to /boot/vmlinuz(version)
#cp /usr/src/linux-2.6.18/arch/i386/boot/bzImage /boot/vmlinuz-2.6.18
10. copy system map
cp /usr/src/linux-2.6.18/ /boot/
11. edit lilo.conf in /etc/lilo.conf
#nano /etc/lilo.conf
#add this line according to your linux version that u created in vmlinuz
root=/dev/hda7 #the partition of the linux

12. activate lilo again
#init 6
or reboot

for grub user
9. reboot

that’s it.
thanks to

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.