Jump to: navigation, search
Preparing for the Custom Kernel Build
pmbuild -bp --target=`uname -m` kernel-2.6.spec
Once this task completes the sources will be located in ~/rpmbuild/BUILD/.
== Customizing the Kernel for NFS Root Support ==
Now that we have the kernel sources installed we are ready to being the process of customizing the kernel to support the an NFS based root filesystem. The first step is to copy the configuration file from the running operating system to the appropriate directory of the kernel build tree:
cd ~/rpmbuild/BUILD/kernel-2.6.18/linux-2.6.18.i686
cp /boot/config-`uname -r` .config
make oldconfig
We are now ready to begin the customization process. For the purposes of this tutorial we will be using the ''make menuconfig'' mechanism which requires that the ''ncurses-devel'' package. If this is not installed, install it now as follows:
su -
yum install ncurses-devel
Be sure to exit from the su session before proceeding beyond this point.
== Configuring the Kernel with make menuconfig ==
Whilst still in the ~/rpmbuild/BUILD/kernel-2.6.18/linux-2.6.18.i686 directory, start the kernel configuration tool:
make menuconfig
The following screen should appear:
[[Image:make_menuconfig_main.jpg|The main menuconfig screen]]
In order to configure root NFS support it is first necessary to enable

Navigation menu