Troubleshooting
Problem
How do I customize my kernel installation?
Resolving The Problem
How do I customize my kernel installation?
Custom kernel installation
This document outlines how to change the kernel on the nodes. Changing to a kernel other than the one provided should be avoided if possible. The following section outlines how to install a kernel from kernel.org
Warning: The procedure below will change the kernel version to one not supported by RedHat or CentOS, and may make getting support from them difficult. Carefully consider the ramifications of changing the kernel before doing so.
- Go to http://www.kernel.org/pub/linux/kernel/v2.6 to download a kernel you want.
- Extract the
tar.gzortar.bz2file to a location of your choice. - Copy the existing Red Hat config file from
/bootdirectory to the location you extracted the kernel sources to. - Go to the directory containing the kernel source.
#make defconfig#make rpm- This will produce an RPM from the kernel.
Note: If you want to build a SMP kernel you need to build this on a SMP machine likewise for a UP kernel.
- As root backup the kernel RPM from
/home/install/ftp.rocksclusters.org/pub/rocks/rocks-4.1.1/rocks-dist/rolls/os/4.1.1/x86_64/RedHat/RPMS. - Copy the new kernel RPM to the location above.
#cd /export/home/install- Run
rocks-dist dist - Install one node and verify it has the new kernel.
- Boot the reinstalled node. If needed edit the
/boot/grub/rocks.confand/boot/grub/grub-orig.confto boot the newly installed kernel, and reboot again. - Once the reinstalled node is functioning properly reinstall the other nodes.
Was this topic helpful?
Document Information
Modified date:
09 September 2018
UID
isg3T1014218