?? rhl03.htm
字號(hào):
<HTML>
<HEAD>
<TITLE>Red Hat Linux Unleashed rhl03.htm </TITLE>
<LINK REL="ToC" HREF="index-1.htm" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/index.htm">
<LINK REL="Index" HREF="htindex.htm" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/htindex.htm">
<LINK REL="Next" HREF="rhl04.htm" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/rhl04.htm">
<LINK REL="Previous" HREF="rhl02.htm" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/rhl02.htm"></HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#800080">
<A NAME="I0"></A>
<H2>Red Hat Linux Unleashed rhl03.htm</H2>
<P ALIGN=LEFT>
<A HREF="rhl02.htm" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/rhl02.htm" TARGET="_self"><IMG SRC="purprev.gif" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/purprev.gif" WIDTH = 32 HEIGHT = 32 BORDER = 0 ALT="Previous Page"></A>
<A HREF="index-1.htm" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/index.htm" TARGET="_self"><IMG SRC="purtoc.gif" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/purtoc.gif" WIDTH = 32 HEIGHT = 32 BORDER = 0 ALT="TOC"></A>
<A HREF="rhl04.htm" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/rhl04.htm" TARGET="_self"><IMG SRC="purnext.gif" tppabs="http://202.113.16.101/%7eeb%7e/Red%20Hat%20Linux%20Unleashed/purnext.gif" WIDTH = 32 HEIGHT = 32 BORDER = 0 ALT="Next Page"></A>
<HR ALIGN=CENTER>
<P>
<UL>
<UL>
<UL>
<LI>
<A HREF="#E68E18" >Installing Red Hat Linux</A>
<UL>
<LI>
<A HREF="#E69E7" >Floppyless Installation</A>
<LI>
<A HREF="#E69E8" >Floppy-Based Installation</A></UL>
<LI>
<A HREF="#E68E19" >The Red Hat Installation Routine A Quick Guide</A>
<UL>
<LI>
<A HREF="#E69E9" >Choosing Text or Graphics Installation</A>
<LI>
<A HREF="#E69E10" >Setting Up Your Hard Drive</A>
<LI>
<A HREF="#E69E11" >Formatting the Partitions</A>
<LI>
<A HREF="#E69E12" >Setting Up Ethernet</A>
<LI>
<A HREF="#E69E13" >Setting Up the Mouse</A>
<LI>
<A HREF="#E69E14" >Configuring X</A>
<LI>
<A HREF="#E69E15" >Selecting Packages to Install</A>
<LI>
<A HREF="#E69E16" >Using LILO</A></UL>
<LI>
<A HREF="#E68E20" >Boot and Root Disks</A>
<UL>
<LI>
<A HREF="#E69E17" >Selecting a Boot Kernel and Root Image</A>
<LI>
<A HREF="#E69E18" >Creating the Boot and Root Floppies</A></UL>
<LI>
<A HREF="#E68E21" >Partitioning the Hard Disk</A>
<UL>
<LI>
<A HREF="#E69E19" >Linux Swap-Space Partition</A>
<LI>
<A HREF="#E69E20" >Setting Up Partitions</A></UL>
<LI>
<A HREF="#E68E22" >Install the Linux Partitions</A>
<UL>
<LI>
<A HREF="#E69E21" >Linux's fdisk</A>
<LI>
<A HREF="#E69E22" >Setting Up Linux Partitions</A>
<LI>
<A HREF="#E69E23" >Enabling the Swap Space For Installation</A>
<LI>
<A HREF="#E69E24" >Creating the Linux File-System Partition</A></UL>
<LI>
<A HREF="#E68E23" >Troubleshooting</A>
<UL>
<LI>
<A HREF="#E69E25" >Software Installation</A>
<LI>
<A HREF="#E69E26" >Hard Disk and Disk Controller</A>
<LI>
<A HREF="#E69E27" >Device Conflicts</A></UL>
<LI>
<A HREF="#E68E24" >SCSI Problems</A>
<UL>
<LI>
<A HREF="#E69E28" >Booting Linux</A></UL>
<LI>
<A HREF="#E68E25" >Summary</A></UL></UL></UL>
<HR ALIGN=CENTER>
<A NAME="E66E3"></A>
<H1 ALIGN=CENTER>
<CENTER>
<FONT SIZE=6 COLOR="#FF0000"><B>3</B></FONT></CENTER></H1>
<BR>
<A NAME="E67E3"></A>
<H2 ALIGN=CENTER>
<CENTER>
<FONT SIZE=6 COLOR="#FF0000"><B>Installing and Updating Linux</B></FONT></CENTER></H2>
<BR>
<P>The process of installing Red Hat Linux is straightforward, although there are lots of little problems scattered throughout the process that can cause hassles. Red Hat Linux is much easier to install than many other versions of Linux, so you will find
the installation goes quite easily. Common errors that you might make are handled nicely by the Red Hat installation program, and the system is versatile enough to handle most configuration requirements.
<BR>
<P>The essential steps for installing Red Hat Linux are as follows:
<BR>
<OL>
<LI>Create boot and root disks.
<BR>
<BR>
<LI>Boot Linux from floppies.
<BR>
<BR>
<LI>Partition the hard disk.
<BR>
<BR>
<LI>Create a swap file.
<BR>
<BR>
<LI>Create a Linux file system.
<BR>
<BR>
<LI>Install the Linux software.
<BR>
<BR>
<LI>Configure the kernel.
<BR>
<BR>
<LI>Set the boot process.
<BR>
<BR>
<LI>Reboot into Linux from your hard disk.
<BR>
<BR>
</OL>
<P>The process is similar whether you are installing from a CD-ROM or from a diskette (which may have come from an FTP site, for example). Because the CD-ROM is the most common form of installation (and the one included with this book), it is used as the
example in this chapter.
<BR>
<P>If you are installing from a floppy and have downloaded the distribution files from an FTP site or copied them from a CD-ROM, you will need a DOS-formatted floppy for each disk in the distribution disk set. You can use standard DOS copy commands to copy
the disk set files to the floppy, one floppy for each file in the distribution set. The files are all numbered so you know which floppy is in which set, and what their order should be.
<BR>
<BR>
<A NAME="E68E18"></A>
<H3 ALIGN=CENTER>
<CENTER>
<FONT SIZE=5 COLOR="#FF0000"><B>Installing Red Hat Linux</B></FONT></CENTER></H3>
<BR>
<P>Unlike some versions of Linux, Red Hat gives you a number of methods of installing its operating system that offer versatility and ease of use. For most people, installation will be a very simple task with most of the process automated by the Red Hat
installation routines. Users with some special hardware or disk-layout problems will have to perform a more typical manual installation of Linux. This chapter covers all the steps you need to install Linux manually, as well as the brief instructions you
need to allow an automated installation.
<BR>
<P>If you want to try an automated installation of Red Hat Linux, there are two ways to go. One is called floppyless, as it uses a routine on the CD-ROM to install itself. This step simply saves you the trouble of making floppy diskettes; the rest of the
installation process is exactly the same.
<BR>
<P>The alternative to floppyless installation is to create boot and root floppies and use those to start up the system and access the CD-ROM. The following sections discuss both floppyless and floppy-based methods in more detail.
<BR>
<BR>
<A NAME="E69E7"></A>
<H4 ALIGN=CENTER>
<CENTER>
<FONT SIZE=4 COLOR="#FF0000"><B>Floppyless Installation</B></FONT></CENTER></H4>
<BR>
<P>If your hard disk already has an operating system like DOS, or one that produces a DOS window, you can try installing directly from the CD-ROM. Boot into your existing operating system, change to the CD-ROM drive, and issue the command
<BR>
<BR>
<PRE>
<FONT COLOR="#000080">REDHAT</FONT></PRE>
<P>at the DOS prompt. You will be asked a series of questions by the program that help it determine the best images for the boot kernel. You can also provide any special startup installation commands during this stage.
<BR>
<BLOCKQUOTE>
<BLOCKQUOTE>
<HR ALIGN=CENTER>
<BR>
<NOTE>Do not run the floppyless installation process from inside a Windows or OS/2 session. Boot your system into DOS or DOS emulation and run it from there.</NOTE>
<BR>
<HR ALIGN=CENTER>
</BLOCKQUOTE></BLOCKQUOTE>
<P>The floppyless installation routine guides you through the kernel determination process by displaying all possible choices on menus and prompting you for your answers. The process is intuitive and can be used by anyone who knows the type of hardware
installed on their system. If you are not exactly sure of hardware, you can still try the floppyless installation; the worst that can happen is you must try again with different settings.
<BR>
<P>If the installation process detects some hardware-configuration issues, it may offer you advice on setting parameters or making changes. These bits of advice are, for the most part, just that: advice. You don't have to heed the advice if you don't want.
In some cases, the advice makes a lot of sense (such as resolving IRQ conflicts), in which case you should take care of the issue.
<BR>
<BR>
<A NAME="E69E8"></A>
<H4 ALIGN=CENTER>
<CENTER>
<FONT SIZE=4 COLOR="#FF0000"><B>Floppy-Based Installation</B></FONT></CENTER></H4>
<BR>
<P>A floppy-based installation requires you to produce three floppies: one for the boot (kernel) image, and two for the root or swap images. The following section, entitled "Boot and Root Floppies," looks at the production of these floppies in
detail. After these disks have been produced, your system is booted with the boot floppy in drive A:. After the kernel has been read and some diagnostics have been performed, you are prompted for the first of the root or swap floppies, then the second
floppy, and then the installation procedure is started.
<BR>
<BLOCKQUOTE>
<BLOCKQUOTE>
<HR ALIGN=CENTER>
<BR>
<NOTE>A quick word of advice when using floppies: Red Hat Linux is particularly sensitive to fast floppy changes. If you hit the Return key too quickly and the floppy is not in the drive, you will probably get errors and have to start the boot process all
over again. This occurs when booting and Red Hat asks for the first and second swap or root floppies. Make sure the diskette is in the drive, wait a few seconds, then hit Return to prevent any problems. The disk-change process is not as forgiving as DOS or
Windows!</NOTE>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -