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

📄 0019-0021.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="0015-0018.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0022-0024.html">Next</A>

</CENTER></P>



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







<B>

The Disk Druid Interface

</B>



<P>The Disk Druid screen, shown in Figure 2.6, contains a lot of information about your

hard drives.

</P>



<P>At the top of the screen, there's a section listing the Current Disk Partitions found on

your hard drive. The middle of the screen is devoted to the Drive Summaries&#151;the disk

drives the installation program found.  The bottom section lists the buttons and hot keys

the program uses. All of the sections are described more fully in the following text.

</P>



<P>Current Disk Partitions<BR>

This section details the partitions that already exist on your machine. Each listed

partition has several fields that are (left to right):

</P>



<TABLE>



<TR><TD>

Mount Point

</TD><TD>

The name of the directory that you will mount the

directory under in Linux. Not putting anything in this field means that <BR>

the partition will not be mounted.

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

Device

</TD><TD>

This field gives the device name of the partition.

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

Requested

</TD><TD>

This field shows the minimum size that was requested when

the partition was defined.

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

Actual

</TD><TD>

This shows how much space is currently given to that partition.

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

Type

</TD><TD>

This field shows the type of partition. Commonly seen types

are DOS, NTFS, Linux native, or Linux swap. You might also

see that the partition has not been allocated yet. This is usually

due to the fact that there isn't enough disk space for the

minimum amount originally requested.

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





<P>Drive Summaries

</P>



<P>The lines in this section represent the hard drives that are present in the machine.

Each line has these fields:

</P>



<TABLE>



<TR><TD>

Drive

</TD><TD>

The hard drive's device name. IDE hard drives

use the device names hdX, where X is a letter indicating which drive it

is. SCSI hard drives are labeled by how they appear on the

chain. The first drive found is sda, the second sdb, and so on.

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

Geom [C/H/S]

</TD><TD>

The hard drive's geometry as detected

by Disk Druid. The geometry is separated by the number of cylinders, heads,

and sectors that were found. Compare these numbers to what

you wrote down from the BIOS. If they do not match up, it

usually indicates that you need to use fdisk.

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

Total

</TD><TD>

This area reports the total amount of disk space the disk

drive has. Compare this number with what you have already

written

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





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





<TABLE>

<TR><TD>



</TD><TD>

in your inventory.

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

Used

</TD><TD>

An area that indicates in Megabytes how much of the

hard drive is currently allocated.

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

Free

</TD><TD>

This section shows how much of the hard drive is currently

not allocated.

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

#####

</TD><TD>

The final area is a bar graph giving a rough visual guide to

how much disk space is still available on the drive.

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





<P>Disk Druid Commands

</P>



<P>The bottom section contains the buttons that control Disk Druid. They

can be used to Add, Delete, Change, Reset to the Beginning, or Finish the install.

</P>



<P>Figure 2.7.<BR>

This pop-up menu lets<BR>

you specify the size<BR>

and type of your<BR>

partition.</P>

<P><a href="javascript:displayWindow('images/ch02fg07.jpg', 156, 75)"><img src="images/tn_ch02fg07.jpg"></a><BR>

</P>



<P>The F1-Add option is used to add partitions. A pop-up menu, shown in Figure 2.7,

appears when selected.

</P>



<P>The fields in this pop-up are explained in Table 2.4.

</P>



<P>Table 2.4. Explanation of the F1-Add pop-up

menu.

</P>

<TABLE>



<TR><TD>

Menu Item

</TD><TD>

Explanation

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

Mount Point

</TD><TD>

Used to enter the partition's mount point. Remember

that the entire space of the mounted hard drives are seen

as sub-directories of the / partition. Therefore, you need

to specify one Linux partition to be the root partition /.

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

Size (Megs)

</TD><TD>

Used to enter the minimal requested size of the

partition. Unless changed, the minimum size is 1 meg.

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

Growable?

</TD><TD>

A check box to indicate that the size entered is a

minimum or an exact size. If Growable is selected,

the partition size tries to fit all available disk space on

the drive.

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

Type

</TD><TD>

Used to choose the partition type to be used for

the partition. This field is a highlighted scrollable section.

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

Allowable Drives

</TD><TD>

Another check box area that tells disk druid on

which

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





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





<TABLE>



<TR><TD>

</TD><TD>

drives to try to create this partition.

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

Ok

</TD><TD>

Selecting this button tries to create the partition.

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

Cancel

</TD><TD>

Selecting this button aborts the addition of a partition.

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











<P>The F2-Add NFS option is used to add NFS partitions. NFS partitions

are network partitions and outside the scope of this section.

</P>



<P>The F3-Edit option is used to change an already existing partition. The dialog box

that appears enables you to edit various fields depending on whether the partition has

been written to the disk already.

</P>



<P>The F4-Delete option is used to remove the highlighted partition from the drive. A

pop-up appears, asking to confirm this deletion.

</P>



<P>The F5-Reset option is used to bring Disk Druid to the state it was before you made

any changes. All changes that have been made are removed. Any data on the mount points

also has to re-entered.

</P>



<P>The Ok option is used to write changes to the disk drive. A confirmation pop-up

appears, and if confirmed, the hard drives partition tables is written with the new data. The

mount points that have been chosen are passed onto the installation program to define

the filesystem layout.

</P>



<P>The Cancel option bails you out of Disk Druid. Any changes made will be lost, and a

pop-up dialog box is displayed, asking which step in the install should be to be done next.

</P>



<B>

Working with Disk Druid

</B>



<P>Get out the pad of paper that contains your plan for your hard drive so you can be

sure you know which partitions you want to delete, and which you want to keep. Select

the deleteable partitions and press F4 to delete them.

</P>

<P>



<CENTER>

<TABLE BGCOLOR="#FFFF99">

<TR><TD><B>

CAUTION

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

<TR><TD>

<BLOCKQUOTE>

Remember that once you have removed these partitions and chosen the

Ok option the information in these partitions is gone.

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

</TABLE></CENTER>

</P>

<P>Press F1 and you are presented with the Adding Menu. For the purposes of this

walkthrough you will have two partitions: / and swap. The first partition will be /. In the mount

point area type / and tab to the size field. For the purposes of this example, enter 250

megs (change this to fit with your earlier estimates). Select

Linux Native as the partition, double-check all of your entries, and then select Ok. Create the swap partition in the same

way, just be sure to select Linux Swap as the partition type and then choose Ok.<BR>

</P>





<P><CENTER>

<a href="0015-0018.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0022-0024.html">Next</A>

</CENTER></P>











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

<!-- begin footer information -->









</body></html>

⌨️ 快捷键说明

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