Make your own free website on

Patching a Kernel

  1. Get the patches from (opens a new browser)
  2. Save or move them to the directory where the source of your kernel is located. (I'm using /root/kernelsrc)
      #cp patch*.gz /root/kernelsrc
  3. You can decompress the patch or apply the compressed patch to the kernel source.  If you are patching multiple versions, (e.g. 2.4.10 to 2.4.14) apply all the patches in order from patch-2.4.11 to patch-2.4.14.
    1. Command to apply a compressed patch (the character is a zero in -p0):
         #zcat patch-2.4.14.gz | patch -p0
    2. Command to apply a decompressed patch:
         #patch -p0 < patch-2.4.14
  4. Recompile the kernel.