Re: kernel from 1 box to another

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

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux