📄 0009-0010.html
字号:
<HTML>
<HEAD>
<TITLE>Sams Teach Yourself Linux in 24 Hours:Installation and Configuration: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=01 //-->
<!-- PAGES=0001-0010 //-->
<!-- UNASSIGNED1 //-->
<!-- UNASSIGNED2 //-->
<P><CENTER>
<a href="0006-0008.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="../ch02/0011-0014.html">Next</A>
</CENTER></P>
<A NAME="PAGENUM-9"><P>Page 9</P></A>
<H4><A NAME="ch01_ 11">
Creating Space
</A></H4>
<P>You need to have a minimum of 60 megabytes free on your hard drive for a
bare-bones Linux installation. A more reasonable estimate is around 250 megabytes, and a
complete installation takes up around 600 megabytes. This section takes you through the
creation of space on your hard drive by showing you how it would be done on a fictional 1GB
hard drive with 1024 cylinders. The drive has 600MB of space free.
</P>
<TABLE BGCOLOR=#FFFF99><TR><TD>JUST A MINUTE</TD></TR><TR><TD>
<BLOCKQUOTE>
When looking at the data on the hard disk drive listed in the BIOS, you
should have seen some items like Cylinders, Heads, and Sectors. The only
important number here is Cylinders—they are the building blocks of partitions. If
you partition half of the fictional hard drive mentioned in the preceding
paragraph, you would be setting aside 512 cylinders for use.
</BLOCKQUOTE>
</TD></TR></TABLE>
<P>To diagram how you want to layout the OS on the machine, the first step is to write
down what's already on the hard drive(s), what cylinders those partitions cover, and what can
be moved. Figure 1.2 shows the current configuration of the fictional drive as well as
the planned configuration.
</P>
<P>
Figure 1.2.<BR>
Current and planned<BR>
configuration of the<BR>
fictional hard drive.</P>
<P><a href="javascript:displayWindow('images/ch01fg02.jpg', 213, 177)"><img src="images/tn_ch01fg02.jpg"></a><BR>
</P>
<B>
Using fips to Create Space
</B>
<P>This example begins with a drive with one partition covering cylinders 1 to 1024. The
goal is to shrink the first partition down to half its current size and create a new
extended partition in the vacated space.
</P>
<A NAME="PAGENUM-10"><P>Page 10</P></A>
<P>
<CENTER>
<TABLE BGCOLOR="#FFFF99">
<TR><TD><B>
CAUTION
</B></TD></TR>
<TR><TD>
<BLOCKQUOTE>
It's always a good idea to backup your data before you change anything on
your hard drive. Losing all of your data can be costly.
</BLOCKQUOTE></TD></TR>
</TABLE></CENTER>
</P>
<P>fips is located on the CD-ROM that comes with this book. First, read the
documentation on the CD-ROM in the \DOSUTILS directory. It gives detailed instructions and may
cover questions you have. Second, back up the data on the hard drive if at all possible (and
verify the backup to make sure it worked). Third, copy the
fips.exe program from the \DOSUTILS directory to the bootable floppy you created earlier in the hour.
</P>
<P>fips works by reallocating the free space at the end of your drive. So the next step is
to defragment your drive. Windows 95 comes with Disk Defragmenter in its System
Tools. Users of DOS need to find another tool such as the Norton Utilities. In this
example, defragmenting ensures all 600MB of free space on the fictional drive is at the end.
</P>
<P>Once the defragmentation is done, you are ready to resize the partition. Restart
the machine using the bootable floppy, and at the DOS prompt run the
fips command.
</P>
<P>
<CENTER>
<TABLE BGCOLOR="#FFFF99">
<TR><TD><B>
CAUTION
</B></TD></TR>
<TR><TD>
<BLOCKQUOTE>
Be sure you have read the fips documentation located on the CD before
you begin.
</BLOCKQUOTE></TD></TR>
</TABLE></CENTER>
</P>
<P>After you have finished resizing your partition, remove the floppy and reboot
your machine. If all went well, your existing operating system should boot up and be ready
to go.
</P>
<P><CENTER>
<a href="0006-0008.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="../ch02/0011-0014.html">Next</A>
</CENTER></P>
</td>
</tr>
</table>
<!-- begin footer information -->
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -