You are on page 1of 1

The steps to compile a kernel with following options are :

1. Install the kernel.src.rpm on the machine and install it.


2. rpmbuild -bp should untar the kernel and apply all the RHEL patches on it.
3. The kernel source would be found under :
/usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18
4. cd /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18
5. make defconfig
6. make menuconfig
Using the arrow keys move to the debugging menu, In the debugging menu, select t
he
following options using space bar.
come out of that and save the config file.
7. make ; make modules; make modules_install; make install.
8. Check the grub.conf for the new kernel entry. Reboot.

You might also like