I configured and made a custom kernel from vanilla kernel downloaded from kernel.org. Now I ported it to another machine with simple 'vmlinuz' and 'initrd.img' copying and some grub config done. (Actually I am using Xen so grub config were also not required for me)
Now for the modules, how can I copy that? Can I copy /lib/modules/(myCustomeKernelVersion) to other system plainly?
Regarding Xen, Ubuntu official documentation for xen-create-image shows --modules option pointing to modules directory. Is it the same directory as the one mentioned above?
Note that I am using vanilla kernel and not distribution kernel. This is required, please no question on that.