[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is it possible to simply copy the kernel from one machine to another and use it?



Yu,Glen [Ontario] wrote:
Hello everyone,
I was wondering if it's possible to copy the vmlinuz-x.y.z from one machine to another and have the other machine run properly with it.  Here's the scenario:

I have 2 systems, both running Debian 3.1 (Sarge), and their hardware is a little different from each other.  Suppose my machine is running a 2.4.x kernel and the other a 2.6.x kernel, can I simply copy the /boot/vmlinuz-2.6.x kernel over to my machine's /boot directory, make the appropriate changes to /boot/grub/menu.lst and have it work as if I had installed it through apt or dpkg?

If anyone has actually tried this and got their machines to work, I would like to know what and how you did it.

Thanks,
-Glen

----------------------------------------------------------------------
Glen Yu | 416-739-4861 | glen.yu@ec.gc.ca
----------------------------------------------------------------------



You'll also need to copy the modules for kernel x.y.z (/lib/modules/x.y.z )- you also assume the machines are similar enough to be supported with the same kernel (for a distribution kernel this is probably valid - for a customly-built kernel this may not be the case)

HTH,

Joris



Reply to: