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

📄 043-044.html

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

<HEAD>

<TITLE>Special Edition Using Linux, Fourth Edition:Linux Installation Overview</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=0789717468//-->

<!--TITLE=Special Edition Using Linux, Fourth Edition//-->

<!--AUTHOR=Jack Tackett//-->

<!--AUTHOR=Jr.//-->

<!--AUTHOR=Steve Burnett//-->

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

<!--IMPRINT=Que//-->

<!--CHAPTER=2//-->

<!--PAGES=043-044//-->

<!--UNASSIGNED1//-->

<!--UNASSIGNED2//-->



<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="041-043.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="044-047.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>

<P><BR></P>

<H4 ALIGN="LEFT"><A NAME="Heading17"></A><FONT COLOR="#000077">Using <I>FDISK</I>

</FONT></H4>

<P>Partitions are created, destroyed, and managed by a program usually called <TT>FDISK</TT>. Each operating system has its own version of <TT>FDISK</TT>, so be sure to use the correct one. If you&#146;re now using DOS or are planning to use DOS, you must first repartition the DOS drive by using DOS&#146;s <TT>FDISK</TT>. You later use the Linux version of <TT>fdisk</TT> to create the Linux partitions. If you&#146;re using OS/2, you also need to use the OS/2 version of <TT>FDISK</TT> to prepare the OS/2 partitions.</P>

<P><FONT SIZE="+1"><B>Partition Requirements</B></FONT></P>

<P>First, you should plan what partitions you need. DOS requires a primary partition; Linux and OS/2 can reside in other partitions. If you&#146;re using the OS/2 boot manager, which also works well with Linux, you must prepare for its use. You must also be aware that if you&#146;re shrinking a current DOS partition to make room for Linux, not all of your files can be restored to the new, smaller DOS partition.

</P>

<BLOCKQUOTE>

<P><FONT SIZE="-1"><HR><B>NOTE:&nbsp;&nbsp;</B>You can access DOS partitions from Linux, thus moving, saving, and editing DOS files under Linux. But you can&#146;t execute DOS programs under Linux.<P>Two experimental components of Linux allow you to emulate DOS under Linux and also install Linux under DOS. Both systems are still in the implementation stage and are, thus, more suited for Linux hackers. Also, one of the methods, UMSDOS, is incompatible with Red Hat, so you can&#146;t use that method at all. You can find plenty of information on these topics in the Linux world.

</P>

<P>&#149; <B>See</B> &#147;Running DOS Programs Under Linux,&#148; <B>p. 127</B><HR></FONT>

</BLOCKQUOTE>

</P>

<P>Next, you should jot down the number of partitions you need and how much disk space to provide each with.</P>

<P><FONT SIZE="+1"><B>DOS Requirements</B></FONT></P>

<P>If you want to boot DOS, it must go in a primary partition. A bootable version of DOS doesn&#146;t require much space&#151;just enough for the system files, COMMAND.COM, CONFIG.SYS, and any driver files needed to start your system. For example, I provide a 5MB DOS partition on my first drive to boot DOS.

</P>

<P>When DOS is loaded and running, you can access any of the other extended and logical drives on the system. Unfortunately, whereas Linux can access DOS files in a DOS partition, DOS can&#146;t access Linux files in a Linux partition.</P>

<P><FONT SIZE="+1"><B>OS/2 Requirements</B></FONT></P>

<P>OS/2 versions 2.0 and later don&#146;t need a primary partition. The OS/2 system can install and boot from an extended partition. Thus, you can install DOS on a primary partition and create an extended partition area for OS/2 and Linux. The space required for OS/2 is version- and feature-dependent; you should consult your OS/2 documentation for space requirements. You should also subtract 1MB from available space if you intend to use the OS/2 boot manager.

</P>

<P><FONT SIZE="+1"><B>Linux Requirements</B></FONT></P>

<P>As explained earlier, Linux stores files on file systems, and these file systems can reside on different partitions, basically as safety precautions. Linux requires one partition for each file system. The next consideration is for a swap partition. Linux, like most operating systems that use disk space for memory (called a <I>virtual memory configuration</I>), needs a swap file or a swap partition to simulate physical memory using disk space. Linux typically uses a swap partition.</P>

<P>The size of the swap partition depends on the amount of physical RAM your system contains. A rule of thumb is to make your swap partition twice the size of your amount of RAM. Thus, if you have 8MB of RAM in your system, you should create a swap partition 16MB in size. If you have 4MB of RAM or less, you must activate a swap partition.</P>

<P>Linux swap partitions can be no more than 128MB in size, so if you need more space, you have to create multiple swap partitions. Thus, if you have a Linux system that needs two partitions for Linux (one for the system files and one for user files), plus a swap partition, you need to define two Linux partitions and one 32MB swap partition.</P><P><BR></P>

<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="041-043.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="044-047.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 + -