A Pocket Guide to Rebuilding the Kernel





  1. Log on as Root (or become SU)
  2. cd /usr/src/linux
  3. make config
        alternately,
        make menuconfig
        make xconfig
    
  4. make dep
  5. make clean
  6. make zImage
        alternately,
        make bzImage
        make zlilo
    
  7. Above step should take only a few minutes with a fast CPU
  8. If you are building a modular kernel
        make modules
        make modules_install
    
  9. Copy new kernel image to /boot set symbolic link to vmlinuz
  10. /sbin/lilo



Notes:
  • You need an up to date version of gcc installed, 2.7.2.3 or later.

  • An altenative to the above procedure is to install an updated kernel rpm from a recent distribution release.



    Check the Kernel HOWTO at the LDP site for more detailed information.










    RETURN TO LINUX INFO PAGE