Kernel - kraut-computing/siegfried GitHub Wiki

Updating the Kernel

To update the Linux Kernel to a newer version the following procedure should work:

  1. Emerge the new kernel version.
  2. Select the new kernel version using eselect kernel set. The /usr/src/linux symlink should now point to the newly emerged kernel source.
  3. Invoke menuconfig by typing genkernel all.
  4. In menuconfig load the old kernel config. !!IMPORTANT!! save the kernel config to the new location afterwards. By default menuconfig will save the config to the location that has been loaded before.
  5. Wait for the kernel compilation to finish.
  6. Repeat step 1 and 2 for all nodes.
  7. Copy /usr/src/linux/* and /boot/* to all nodes using scp.