<& xfsTemplate,top=>1,side=>1 &>
<!-- Start Project Content -->
<H2>
<B><FONT face="ARIAL NARROW,HELVETICA">Installing XFS from the Red Hat RPM packages</FONT></B></H2>
<A
href="ftp://oss.sgi.com/projects/xfs/download/latest/kernel_rpms/">
Red Hat RPMs</A> have been provided for Intel architectures.
Because these contain a Linux 2.4 kernel, please consult the
<A href="http://cyberbuzz.gatech.edu/kaboom/linux/Changes-2.4/changes24.html">
Linux-2.4 Changes</A> document for minimum system software necessary to
support a 2.4 Linux kernel, and where to obtain those upgrades.
<P>
These RPMs were built on a Red Hat 7.1 system.
<P>
On all Red Hat systems, you should also upgrade these packages for XFS support:
<UL>
<LI>xfsprogs</LI>
</UL>
These packages have also been provided for
<A href="ftp://oss.sgi.com/projects/xfs/download/latest/cmd_rpms/">
download</A>.
After you have upgraded the necessary packages,
<A href="ftp://oss.sgi.com/projects/xfs/download/latest/kernel_rpms/">
download</A>
the appropriate kernel for your system architecture.<P>
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
<A href="http://www.redhat.com/support/docs/howto/kernel-upgrade/kernel-upgrade.html">
Upgrading the Linux Kernel on Red Hat Linux systems</A> document on Red Hat's
support site for general kernel upgrade information.<P>
Install the new RPMs using the command
<PRE><TT> rpm -ivh <I>packagename</I>.rpm
</TT></PRE>
(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.)
<P>
The RPM kernels have SCSI support built as modules,
so if your system's root filesystem is on a SCSI device,
you will need to create an initial ramdisk. To generate
the initial ramdisk image, run the following command:
<PRE><TT> mkinitrd /boot/initrd-<I>kernelname</I>.img <I>kernelname</I>
</TT></PRE>
where <TT><I>kernelname</I></TT> refers to the new XFS kernel you have just
installed - for example, to generate a ramdisk for the XFS 1.0.1 kernel,
run the following command:
<PRE><TT> mkinitrd /boot/initrd-2.4.3-SGI_XFS_1.0.1.img 2.4.3-SGI_XFS_1.0.1
</TT></PRE>
Finally, you will need to update your <TT>/etc/lilo.conf</TT> file to tell
it about your new kernel. To do this, add the stanza:
<TT><PRE> image=/boot/vmlinuz-<I>kernelname</I>
label=xfs
initrd=/boot/initrd-<I>kernelname</I>.img
read-only
root=/dev/<I>rootpartition</I>
</PRE></TT>
where again, <TT><I>kernelname</I></TT> is the name of the new XFS kernel
you have just installed, and <TT><I>rootpartition</I></TT> is the name of
your root partition. Also note that you may not require the
<TT>initrd</TT> 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:
<TT><PRE> image=/boot/vmlinuz-2.4.3-SGI_XFS_1.0.1.smp
label=xfs
initrd=/boot/initrd-2.4.3-SGI_XFS_1.0.1.img
read-only
root=/dev/sda1
</PRE></TT>
to your <TT>/etc/lilo.conf</TT> file.<P>
Finally, run <TT>/sbin/lilo</TT> to finish up. If it completes without
errors, locate your boot floppy (just in case), reboot the system, and type
<TT>xfs</TT> at the LILO prompt when it comes up.<P>
If all this goes well, it's time to <A href="1.0_admin.html">
make a new XFS filesystem!</A>
<BR>
<& xfsTemplate,bottom=>1 &>