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

Re: kernel from 1 box to another



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


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