CentOS 5 - Build a Custom Xen Kernel with NFS Root Filesystem (CONFIG ROOT NFS) Support
1,268 bytes added
16:39, 25 April 2008
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:
cp /boot/config-`uname -r` .config
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:
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:
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
← Older edit
Newer edit →
Retrieved from "
VMware Server 2.0
Quick How To Guides
iOS 9 app