Whole document tree 3. Kernel Configuration and Installation3.1. Configuring your kernel for XFS support
After having downloaded the cvs source tree the actual kernel source will be in /usr/src/linux-2.4-xfs(-beta)/linux, so you should switch to that directory before running the make config command of your choice. The main things that must be included in your kernel to provide XFS support are "Page Buffer support" and (duh) "SGI XFS filesystem support." Both options are available in the "File systems" section of the kernel configuration. You will need to have "Prompt for development and/or incomplete code/drivers" selected under "Code maturity level options" for those options to be available to you. Optionally, you may also want to select "Enable XFS Debug mode" and "Enable XFS Vnode Tracing" under "SGI XFS filesystem support." These options may slow your XFS implementation some, but may be useful in tracing the cause of a crash if a crash occurs. 3.2. Building the kernel and modulesAs with any kernel build, the following commands must be run to actually build the new kernel:
3.3. Installing the new kernel and modulesAgain this is standard for any kernel installation:
3.4. Add a new entry to your lilo configuration and re-install lilo
Add a new image section to your lilo.conf file similar to the following:
The "root=" line should match the "root=" line from the existing image sections in your lilo.conf file. Don't forget to run lilo when you're through editing lilo.conf to make the changes effective. 3.5. Build and install the XFS utilitiesThere are a number of tools that come with the XFS filesystem that allow you to build and manage your XFS filesystems that must be built as well. These tools are in the /usr/src/linux-2.4-xfs(-beta)/cmd/xfsprogs directory.
Change to that directory:
Build and install the xfs utilities:
3.6. Boot the new kernel
|