This utility can make it easy to copy packages from one computer to another, or to recreate packages that are installed on your system, but no longer available elsewhere.
Note: dpkg-repack will place the created package in the current directory.
Install dpkg-repack in debian
#apt-get install dpkg-repack
Install dpkg-repack in Ubuntu
sudo apt-get install dpkg-repack
This will complete the installation.
dpkg-repack [--root=dir] [--arch=architecture] [--generate] packagename [packagename ...]
This will create the kernel-image-2.6.16.deb package
If you want to know more information about dpkg-repack check man page