Did you know there is a better, easier and cleaner way to compile and install a kernel in Debian?
Try this from your /usr/src/linux-source-2.x.x or /usr/src/kernel-source-2.x.x:
Code:
fakeroot make-kpkg --append_to_version -yourHost --initrd --revision=yourRevisionNumber kernel _image modules_image
For example:
Code:
fakeroot make-kpkg --append_to_version -tux --initrd --revision=1 kernel _image modules_image
Fakeroot is only required if you are working as a normal user (not root).
This will create a debian package in the parent directory. Therefore, to install the package, just call
Code:
dpkg -i ../kernel-image-2.x.x_x-tux.deb
Logically, replace x with the currect numbers.
Sorry if this is not the answer to your question, but it can help you doing the same job with much less effort. ;-)
Ciao
Emidio