📄 055-057.html
字号:
<HTML>
<HEAD>
<TITLE>Linux Configuration and Installation:Installing Linux</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=1558285660//-->
<!--TITLE=Linux Configuration and Installation//-->
<!--AUTHOR=Patrick Volkerding//-->
<!--AUTHOR=Kevin Reichard//-->
<!--AUTHOR=Eric Foster//-->
<!--PUBLISHER=IDG Books Worldwide, Inc.//-->
<!--IMPRINT=M & T Books//-->
<!--CHAPTER=2//-->
<!--PAGES=055-057//-->
<!--UNASSIGNED1//-->
<!--UNASSIGNED2//-->
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="052-055.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="057-061.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
<P><BR></P>
<P>We’re not going to spend a lot of time on <B>FIPS</B> here, because the documentation on the accompanying CD-ROM more than adequately explains how <B>FIPS</B> works, its limitations, and the exact procedures for dividing a hard drive. The only caveat we offer is that you should know a little about how PCs deal with hard drive partitions before using <B>FIPS</B>; if you’re a PC neophyte, we suggest you follow the steps detailed in the next section.</P>
<BLOCKQUOTE>
<P><FONT SIZE="-1"><HR><B>NOTE: </B><B>FIPS</B> will not work with OS/2. The details are contained in the <B>FIPS.DOC</B> file. You should run <B>FIPS</B> from DOS rather than from a multitasking environment like Windows or DESQview. FIPS will also not work with FAT32, a new filesystem Microsoft has included in some newer Windows95 systems. If you’re unlucky enough to have this, you’ll either have to erase your DOS partition to make room for Linux, or add a new hard drive.<HR></FONT>
</BLOCKQUOTE>
<H4 ALIGN="LEFT"><A NAME="Heading7"></A><FONT COLOR="#000077">Using DOS Utilities to Divide Your Hard Drive</FONT></H4>
<P>The second method to prepare your hard drive for Linux involves various DOS utilities, which you’ll use to create new partitions and configure a floppy diskette you can use to boot your PC with DOS.
</P>
<P>The first step involves creating a DOS boot diskette. (You’ve already created a Linux boot diskette; the two are different.) This is a rather simple procedure, involving the following command line:</P>
<!-- CODE SNIP //-->
<PRE>
C:> format /s A:
</PRE>
<!-- END CODE SNIP //-->
<P>where <B>A:</B> is your boot drive. This command formats a floppy disk and adds the system files (<B>COMMAND.COM</B> and hidden files <B>IO.SYS</B> and <B>MSDOS.SYS</B>) needed to boot DOS from the floppy. If you install a DOS partition, booting from this diskette will give you access to that partition (which will appear as drive <B>C:</B>). It will <I>not</I>, however, give you access to the CD-ROM until you install the CD-ROM drivers on the DOS boot diskette.</P>
<BLOCKQUOTE>
<P><FONT SIZE="-1"><HR><B>NOTE: </B>When you installed OS/2, it should have directed you to create an emergency boot floppy. You may need this diskette if something goes wrong in the installation.<HR></FONT>
</BLOCKQUOTE>
<P>After doing this, you’ll need to copy some additional utilities to the floppy. You’ll need to be fairly selective about what files you copy to the floppy, because the sum of all DOS <B>.EXE</B> and <B>.COM</B> files (essentially, the utility files) in a typical DOS installation won’t fit on a floppy disk. You’ll need to copy the <B>FDISK.EXE</B> and <B>FORMAT.COM</B> files to the floppy drive with the following command lines:</P>
<!-- CODE SNIP //-->
<PRE>
C:> copy \DOS\FDISK.EXE A:
1 file(s) copied
C:> copy \DOS\FORMAT.COM A:
1 file(s) copied
</PRE>
<!-- END CODE SNIP //-->
<BLOCKQUOTE>
<P><FONT SIZE="-1"><HR><B>NOTE: </B>You may also want to copy onto a floppy the files that restore your system backup, if you used operating system utilities to create the backup. Check your documentation for the specific files; they differ between operating systems.<HR></FONT>
</BLOCKQUOTE>
<P><FONT SIZE="+1"><B>What are FDISK and FORMAT?</B></FONT></P>
<P>We’ve told you to copy <B>FDISK.EXE</B> and <B>FORMAT.COM</B> onto the floppy for future use, we should take some time to explain what they do.</P>
<P><B>FDISK.EXE</B> is the program that creates MS-DOS partitions. Every operating system has a program that does something similar (you’ll use the Linux <B>fdisk</B> command later in this process). You’ll need to use the partitioning software specific to the operating system; for example, you can’t use <B>FDISK</B> to create Linux or OS/2 partitions. <B>FDISK.EXE</B> works very simply: You delete an existing partition or partitions, and you create new partitions in their place.</P>
<P>Creating a partition merely leaves a portion of your hard disk devoted to the particular operating system. After you’ve used <B>FDISK.EXE</B> to create a new DOS partition, you’ll use the <B>FORMAT.COM</B> program to format that partition for use under MS-DOS. If you don’t format the MS-DOS partition, the operating system won’t be able to recognize it.</P><P><BR></P>
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="052-055.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="057-061.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
</td>
</tr>
</table>
<!-- begin footer information -->
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -