Compiling kernel of different machine
I am pretty much familiar with the Debian Kernel compilation procedure(usig make-kpkg).
I have 2 machines. One is very fast(Intel based) and other is very slow(AMD based). On my fast machine the kernel compiles in just 35 minutes and on my slow machine it takes hours to compile the kernel.
I have heard that I can compile the kernel on my fast machine and then transfer it on the slow machine, but I don't know what stuff I will have to transfer to my old machine once I build my kernel on the fast machine.
After I give the command on my fast machine:
#fakeroot make-kpkg --revision=.1.0 kernel_image
I have a .deb package called kernel_image-18.104.22.168_custom.1.0_i386.deb under my /usr/src directory.
Do I have to just copy this package on my old machine and then give the command
dpkg -i kernel_image-22.214.171.124_custom.1.0_i386.deb
and make necessary changes in the grub.conf file? Or do I have to copy some /lib/modules/<kernel-version> directory?
Kindly let me know if I am missing anything.
Thank you once again.