File: [Development] / xfs-website.orig / 102_rpm.html (download) (as text)
Revision 1.1, Fri Nov 16 21:59:26 2001 UTC (15 years, 10 months ago) by xfs
Branch: MAIN
CVS Tags: HEAD
Added Files:
102_caveats.html 102_changelog.html 102_installer.html
102_qa.html 102_release.html 102_rpm.html
New web pages for Release 1.0.2
|
<& xfsTemplate,top=>1,side=>1 &>
<!-- Start Project Content -->
<H2>
<B><FONT face="ARIAL NARROW,HELVETICA">Installing XFS from the RPM packages</FONT></B></H2>
RPMs based on Red Hat's kernel source 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>
Use the following procedure to install XFS from the
RPM packages:
</P>
<p>
<OL>
<li>
On all systems, upgrade these packages for XFS support:
<p>
<UL>
<LI>xfsprogs</LI>
<p>
</UL>
The
<A href="ftp://oss.sgi.com/projects/xfs/download/latest/cmd_rpms/">
userspace RPMs</A>
for both x86 and IA-64 architectures
are available for download.
</li>
<p>
<li>
Download
the appropriate kernel for your system architecture.
<A href="ftp://oss.sgi.com/projects/xfs/download/latest/kernel_rpms/">
Kernel RPMS</A>
for x86 and IA-64 architectures are available.<P>
</li>
<li>
Install the new kernel, which provides XFS capability.
For general kernel upgrade information, see 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.<P>
Install the new RPMs using the following command:
<PRE><TT> rpm -ivh <I>packagename</I>.rpm
</TT></PRE>
</li>
<li>
<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
where <TT><I>kernelname</I></TT> refers to the new XFS kernel you have just
installed:
<PRE><TT> mkinitrd /boot/initrd-<I>kernelname</I>.img <I>kernelname</I>
</TT></PRE>
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>
</li>
<li>
Update the bootloader configuration
files.
<p>
For the LILO bootloader, edit your <TT>/etc/lilo.conf</TT> file
by adding the following
stanza where <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:
<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>
For example, if you have installed an SMP kernel, and your root
partition is on <tt>/dev/sda1</tt>, you would add the following
stanza to your <TT>/etc/lilo.conf</TT> file.<P>
<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>
(Note that you will not require the
<TT>initrd</TT> line if your system does not need an initial ramdisk.)
<p>
Finally, run <TT>/sbin/lilo</TT>. If it completes without
errors, locate your boot floppy, reboot the system, and type
<TT>xfs</TT> at the LILO prompt when it comes up.
<P>
For the GRUB bootloader, add the following configuration to <TT>/etc/grub.conf</TT>:
</P>
<TT>
<PRE>
title Red Hat Linux with XFS
root (hd0,0)
kernel /vmlinuz-2.4.3-SGI_XFS_1.0.1.smp
initrd /initrd-2.4.3-SGI_XFS_1.0.1.smp
</PRE>
</TT>
<P>
Note that your root hard drive and paths to your <tt>initrd</tt>
and kernel image may differ from this example. Use
your existing <tt>grub.conf</tt> file as a guide.
</li>
</ol>
If all this goes well, you can <A href="1.0_admin.html">
make a new XFS filesystem.</A>
<BR>
<BR>
<& xfsTemplate,bottom=>1 &>