Here is a neat piece of instructions that matt zagrabelny gave me on
this list a while ago:
[quote]
(i use aptitude to install packages, not apt-get, but feel free to use
apt-get if you like)
# aptitude install fakeroot kernel-package kernel-source-2.6.10
and optionally
# aptitude install libncurses5-dev
edit /etc/mkinitrd/ files, (man mkinitrd.conf if need be)
in mkinitrd.conf (i made the following changes):
ROOT=
DELAY=5
add modules to modules file.
add yourself to group src. (log in again)
cd /usr/src/, untar kernel source, cd to source dir.
cp /boot/config-2.6.10-<whatever> .
$ fakeroot make-kpkg clean
the following on one line:
$ fakeroot make-kpkg --append-to-version=.20050224.0 --initrd
kernel_image
note, the append to version can be just about anything, but dont use
dashed or underscores, i think debian proper packages use those. i use
the date and then a zero based number counting the number of compiles
for that day.
# dpkg -i /usr/src/kernel-image-2.6.10-<append-to-version-stuff>.deb
reboot
[/quote]