kernel from 1 box to another
Steven Pasternak
stevenp500 at bellsouth.net
Thu May 25 21:24:47 UTC 2006
Tom Brown wrote:
> OK this is potentially a dumb question but....
>
> If i build and install a kernel on box a can i just tar up the
> vmlinuz-xxx initrd-xxx and the built modules from box a untar them on
> box b and update the grub config? If not is the only way to build a
> kernel on one machine and dictribute it to other boxes to package it
> up as an rpm?
>
> thanks
>
It will work, but you have to build a new initrd file. Just (as root) do
'/sbin/mkinitrd /boot/initrd-(kernel version).img (kernel version)'.
That is because the initrd holds the modules needed to start up, and is
different for each system.
-Steven
More information about the users
mailing list