⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 0015-0018.html

📁 linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
💻 HTML
字号:






<HTML>

<HEAD>

<TITLE>Sams Teach Yourself Linux in 24 Hours:Installing Linux:EarthWeb Inc.-</TITLE>

<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>

 -->




<!-- ISBN=0672311623 //-->

<!-- TITLE=Sams Teach Yourself Linux in 24 Hours//-->

<!-- AUTHOR=Bill Ball//-->

<!-- PUBLISHER=Macmillan Computer Publishing//-->

<!-- IMPRINT=Sams//-->

<!-- CHAPTER=02 //-->

<!-- PAGES=0011-0030 //-->

<!-- UNASSIGNED1 //-->

<!-- UNASSIGNED2 //-->







<P><CENTER>

<a href="0011-0014.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0019-0021.html">Next</A>

</CENTER></P>



<A NAME="PAGENUM-15"><P>Page 15</P></A>





<P>

Figure 2.2.<BR>

Selecting the keyboard.</P>

<P><a href="javascript:displayWindow('images/ch02fg02.jpg', 91, 98)"><img src="images/tn_ch02fg02.jpg"></a><BR>

</P>



<P>States PC keyboard is the default choice. You can select a different choice by using

the arrow up and arrow down keys. To the right of the screen you should notice a scroll

bar with a # mark. This mark indicates that there are more types of keyboards than can

be shown on the screen at present.

</P>



<P>After selecting the keyboard for your machine, tab over to the Ok button and press Enter.

</P>



<H4><A NAME="ch02_ 8">

PCMCIA Support

</A></H4>



<P>Next, the program searches for a PCMCIA chipset in your computer. If a

known PCMCIA chipset is found then you are asked to insert the supplemental floppy. When

you have done this, you can select Ok and the program loads additional drivers from the

floppy. If no known PCMCIA chipset is found, the program quietly goes on to the next step

of the install.

</P>





<H4><A NAME="ch02_ 9">

Installation Method

</A></H4>



<P>The next screen, shown in Figure 2.3, asks you which kind of install that you want

to attempt. There are four methods that can be used. This section only be details

installation from </P>



<P>

Figure 2.3.<BR>

Selecting where the<BR>

installation files are<BR>

located.</P>

<P><a href="javascript:displayWindow('images/ch02fg03.jpg', 78, 75)"><img src="images/tn_ch02fg03.jpg"></a><BR>

</P>





<P>CD-ROM and a hard drive.</P>









<A NAME="PAGENUM-16"><P>Page 16</P></A>









<P>The four options are explained in Table 2.3.

</P>



<P>Table 2.3. Explanation of the different installation methods.

</P>

<TABLE>



<TR><TD>

Method

</TD><TD>

Explanation

</TD></TR><TR><TD>

Local CD-ROM

</TD><TD>

The default method of installing Linux to your hard

drive. This method does not use the supplemental floppy.

</TD></TR><TR><TD>

Hard Drive

</TD><TD>

If you are unable to install from the CD-ROM, then

you need to copy the \RedHat\ directory tree over to a

FAT16 (DOS) partition on your hard drive. This method

then loads the supplemental floppy and continues with

the install.

</TD></TR><TR><TD>

NFS

</TD><TD>

This method enables you to install from an NFS server

(a type of network file system).

</TD></TR><TR><TD>

FTP

</TD><TD>

This method enables you to install from an FTP server.

</TD></TR></TABLE>



<P>This book will focus on the CD-ROM install.

</P>



<H4><A NAME="ch02_ 10">

Installing from CD-ROM

</A></H4>



<P>If you selected to install from a CD, the program asks you to insert the CD into the

player. It then tries to auto-probe for an IDE CD on the system. If it doesn't find an IDE

CD, it presents a screen asking what kind of CD-ROM you have. The choices on the

screen are as follows:

</P>



<TABLE>



<TR><TD>

SCSI

</TD><TD>

If your CD is on a SCSI adapter, it tries to find the

SCSI adapter, and if it is unable to, it asks you for what kind of

SCSI device it should try to load. You will be asked if you want

to autoprobe for the device or if you want to give options to

the device. In most cases, you shouldn't need to specify

any options.

</TD></TR><TR><TD>

Other CD-ROM

</TD><TD>

If your CD isn't an IDE or a SCSI CD, it probably falls

under this category. You are presented with a long list of

drivers. Choose which driver matches your CD-ROM and if you

need to, any special options.

</TD></TR></TABLE>





<TABLE BGCOLOR=#FFFF99><TR><TD>JUST A MINUTE</TD></TR><TR><TD>

<BLOCKQUOTE>

If you have an IDE CD and it wasn't detected, you'll need to restart the

install and at the very first screen give the kernel a special option to point out

where the drive is:

<BR>

<!-- CODE SNIP //-->

<PRE>

boot: linux hdX=cdrom

Where hdX =<BR>

</PRE>

<!-- END CODE SNIP //-->

</BLOCKQUOTE>

</TD></TR></TABLE>





<A NAME="PAGENUM-17"><P>Page 17</P></A>





<TABLE BGCOLOR=#FFFF99><TR><TD></TD></TR><TR><TD>

<BLOCKQUOTE>

<!-- CODE //-->

<PRE>

Channel         Jumper          hdx

===================================

ide0            master          hda

ide0            slave           hdb

ide1            master          hdc

ide1            slave           hdd



ide0 = primary channel

ide1 = secondary channel

</PRE>

<!-- END CODE //-->

</BLOCKQUOTE>

</TD></TR></TABLE>





<P>Once the CD has been detected, the program attempts to mount the Red Hat CD and

go on to the next stage of the install.

</P>



<H3><A NAME="ch02_ 11">

The Second Stage

</A></H3>



<P>You are now ready to begin the second stage of the installation process. In this stage

you create the necessary partitions and select which parts of the Linux distribution you

want to install.

</P>



<H4><A NAME="ch02_ 12">

Selecting to Install Fresh or Upgrade

</A></H4>



<P>The next menu window, shown in Figure 2.4, asks whether you are

installing or upgrading an existing system. This tutorial assumes that you are installing Linux for the first time.<BR>

</P>







<P>Figure 2.4.<BR>

Choosing to install<BR>

fresh or upgrade an<BR>

existing system.</P>

<P><a href="javascript:displayWindow('images/ch02fg04.jpg', 93, 56)"><img src="images/tn_ch02fg04.jpg"></a><BR>

</P>





<TABLE BGCOLOR=#FFFF99><TR><TD>CUATION</TD></TR><TR><TD>

<BLOCKQUOTE>

If you already have Linux on your system, an install using those partitions

will overwrite all the data currently on there.

</BLOCKQUOTE>

</TD></TR></TABLE>



<H4><A NAME="ch02_ 13">

SCSI Support

</A></H4>



<P>After choosing an installation option, the program tries to auto-probe for any

SCSI adapters. If it is unable to locate any, it asks you if you have any SCSI adapters in

your machine. If you do, select Yes and a dialog box asks which adapter you have. Choose

the adapter you have in your machine, and another screen asking whether you wish

to autoprobe or give options is displayed. Most SCSI drivers do not need options. If you

don't have a SCSI adapter, choose No and press Enter.

</P>





<A NAME="PAGENUM-18"><P>Page 18</P></A>







<H4><A NAME="ch02_ 14">

Partitioning the Hard Drive

</A></H4>



<P>Before you begin partitioning the drive, it is important to understand how Linux

references different partitions. In the DOS/Windows world, different partitions are given

different drive letters. For example, if you had a drive with two partitions they would probably

show up as drives C: and D:. Linux does away with drive letters, and partitions show up as

what can best be described as different directories. So, to follow the example above, if you

have two partitions under Linux, they might show up as

/ and /data in the user interface.

</P>



<P>The next screen that appears begins the Disk Setup portion of the install,

shown in Figure</P>



<P>Figure 2.5.<BR>

Selecting the disk-<BR>

partitioning program <BR>

you want to use.</P>

<P><a href="javascript:displayWindow('images/ch02fg05.jpg', 130, 75)"><img src="images/tn_ch02fg05.jpg"></a><BR>

</P>



<P>2.5. You are given the choice of choosing between two partitioning tools that are

shipped with Red Hat Linux. The first choice is the Disk Druid

program, and the second is the 

</P>



<P>Disk Druid is a GUI-based disk management program. It is able to create and

delete partitions, while also defining the mount points for those partitions.

fdisk is a more esoteric partitioning tool. While it is more flexible than Disk Druid in certain situations

(dealing with disk drives having odd geometries, for example), it also is less user-friendly.

</P>



<P>You need to dedicate at least 2 partitions to Red Hat Linux. One needs to be the root

mount point / and the other needs to be the Linux swap space. The recommended Linux

swap space is usually equal to twice the amount of RAM you have. If you have 32MB or

more of RAM you can set the swap space equal to the amount of RAM and feel safe.

</P>





<P>Figure 2.6.<BR>

The Disk Druid<BR>

screen.</P>

<P><a href="javascript:displayWindow('images/ch02fg06.jpg', 174, 113)"><img src="images/tn_ch02fg06.jpg"></a><BR>

</P>





<P><CENTER>

<a href="0011-0014.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0019-0021.html">Next</A>

</CENTER></P>











</td>
</tr>
</table>

<!-- begin footer information -->









</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -