<& xfsTemplate,top=>1,side=>1 &>

XFS Pre-Release 0.9

Installing XFS from the Red Hat RPM packages

Red Hat RPMs have been provided for Intel architectures. Because these contain a Linux 2.4 kernel, please consult the Linux-2.4 Changes document for minimum system software necessary to support a 2.4 Linux kernel, and where to obtain those upgrades. Red Hat 6.2 users in particular should pay close attention here, as Red Hat 6.2 is not as "2.4.0-ready" as Red Hat 7.0.

These RPMs were built on a Red Hat 7.0 system, but they should work on a 6.2 system as well, with the RPM package itself upgraded to 3.0.5 or higher.

On all Red Hat systems, you should also upgrade these packages for XFS support:

These packages have also been provided for download. After you have upgraded the necessary packages, download the appropriate kernel for your system architecture.

The next step is to install the new kernel which provides XFS capability. If you need more information on setting up a new kernel, please read the Upgrading the Linux Kernel on Red Hat Linux systems document on Red Hat's support site for general kernel upgrade information.

Install the new RPMs using the command

       rpm -ivh packagename.rpm
(Note that after the kernel RPM installs, modutils may complain about renaming /etc/modules.conf to etc/conf.modules - you can safely ignore this for now, if you wish)

The Prerelease-0.9 kernels have XFS support, SCSI support, and IDE support all built as modules, so you will almost certainly need to create an initial ramdisk. To generate the initial ramdisk image, run the command:

       mkinitrd /boot/initrd-kernelname.img kernelname
where kernelname refers to the new XFS kernel you have just installed - for instance,
       mkinitrd /boot/initrd-2.4.0-SGI_XFS_PR.img 2.4.0-SGI_XFS_PR
Finally, you will need to update your /etc/lilo.conf file to tell it about your new kernel. To do this, add the stanza:
       image=/boot/vmlinuz-kernelname
                label=xfs-beta
                initrd=/boot/initrd-kernelname.img
                read-only
                root=/dev/rootpartition
        
where again, kernelname is the name of the new XFS kernel you have just installed, and rootpartition is the name of your root partition. Also note that you may not require the initrd line if your system does not need an initial ramdisk. For example, if you have installed an SMP kernel, and your root partition is on /dev/sda1, you would add the stanza:
        image=/boot/vmlinuz-2.4.0-SGI_XFS_PR.smp
                label=xfs-pr
                initrd=/boot/initrd-2.4.0-SGI_XFS_PR.img
                read-only
                root=/dev/sda1

to your /etc/lilo.conf file.

Finally, run /sbin/lilo to finish up. If it completes without errors, locate your boot floppy (just in case), reboot the system, and type xfs-pr at the LILO prompt when it comes up.

If all this goes well, it's time to make a new XFS filesystem!
<& xfsTemplate,bottom=>1 &>