7. Checklist

  1. Install dependencies

    1. kernel-package, dpkg-dev, debianutils, libc6-dev, gcc, make, kernel-source-x.x.xx, binutils, task-tcltk-dev or libncurses5-dev, bin86 (pc's only)

  2. Setup source tree.

    1. If not already, add user to source. Use addgroup user group. Logout, Login.

    2. Use groups to confirm.

    3. Double check symlink.

  3. Configure kernel.

    1. Load old config file if available.

    2. make xconfig, menuconfig, oldconfig, config.

    3. Save config file somewhere else for later retrieval.

  4. Make kernel image.

    1. If this is a recompile check old revision # and make-kpkg clean.

    2. Do I have a boot floppy?

    3. make-kpkg --revision=custom.X.X kernel_image

  5. Install image.

    1. If this is a recompile mv /lib/modules/X.X.XX /lib/modules/X.X.XX-old if necessary.

    2. Hold package. echo "kernel-image-2.2.19 hold" | dpkg --set-selections

    3. Remove symlink.

    4. Backup kernel image, make another boot floppy.