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

📄 041-043.html

📁 linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
💻 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=041-043//-->

<!--UNASSIGNED1//-->

<!--UNASSIGNED2//-->



<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="../ch01/039-040.html">Previous</A></TD>

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

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

</TR>

</TABLE>

</CENTER>

<P><BR></P>

<H2><A NAME="Heading1"></A><FONT COLOR="#000077">Chapter 2<BR>Installing Linux

</FONT></H2>

<P>This chapter covers:

</P>

<DL>

<DD><B>&#149;</B>&nbsp;&nbsp;Preparing your PC for Linux

<DD><B>&#149;</B>&nbsp;&nbsp;Creating new partitions under DOS

<DD><B>&#149;</B>&nbsp;&nbsp;Creating new partitions under Linux

<DD><B>&#149;</B>&nbsp;&nbsp;Creating your bootdisk and rootdisk

<DD><B>&#149;</B>&nbsp;&nbsp;Booting Linux for installation

<DD><B>&#149;</B>&nbsp;&nbsp;Installing from the <B>setup</B> command

<DD><B>&#149;</B>&nbsp;&nbsp;Selecting the software to install

<DD><B>&#149;</B>&nbsp;&nbsp;Booting Linux with <B>Loadlin</B>

<DD><B>&#149;</B>&nbsp;&nbsp;Logging in the virgin Linux system

<DD><B>&#149;</B>&nbsp;&nbsp;Setting up additional users

<DD><B>&#149;</B>&nbsp;&nbsp;Adding hardware drivers with kernel modules

<DD><B>&#149;</B>&nbsp;&nbsp;Shutting down Linux

</DL>

<H3><A NAME="Heading2"></A><FONT COLOR="#000077">Before You Install Linux</FONT></H3>

<P>Now that you have the perfect PC for running Linux, it&#146;s time to prepare for the installation. No, you can&#146;t just install Linux from the accompanying CD-ROMs; you must first configure your hard drive and create boot floppies. Neither step is particularly difficult. Here, we&#146;ll cover how to create boot floppies for booting Linux, followed by a discussion of preparing your hard drive for the Linux installation. The actual installation process is:

</P>

<DL>

<DD><B>&#149;</B>&nbsp;&nbsp;Create boot and root floppies

<DD><B>&#149;</B>&nbsp;&nbsp;Prepare your hard drive for installation

<DD><B>&#149;</B>&nbsp;&nbsp;Boot Linux from boot and root floppies

<DD><B>&#149;</B>&nbsp;&nbsp;Install Linux from the CD-ROM

</DL>

<P>In the following steps, we&#146;re assuming you already have an Intel-based PC up and running with the MS-DOS operating system, with the CD-ROM drive installed correctly, because you&#146;ll need to copy some files from the CD-ROM onto your hard drive. (On a PC, you&#146;ll need to install special drivers to use the CD-ROM drive; these drivers ship with the CD-ROM drive.) This doesn&#146;t need to be the PC on which you plan to install Linux&#151;it just needs to be a PC with a DOS command line and access to the CD-ROM drive.

</P>

<BLOCKQUOTE>

<P><FONT SIZE="-1"><HR><B>NOTE:&nbsp;&nbsp;</B>The procedures in this chapter are closely tied to the installation and configuration routines found on the accompanying CD-ROMs. Other distributions of Linux are not exactly the same. If you&#146;re using a distribution of Linux other than the Slackware distribution on the accompanying CD-ROMs, you can still follow along, keeping in mind that your exact steps may differ.<HR></FONT>

</BLOCKQUOTE>

<H3><A NAME="Heading3"></A><FONT COLOR="#000077">Creating Boot and Root Floppies</FONT></H3>

<P>Your first steps will be to create two floppy disks used to boot Linux: the boot and root diskettes. The <I>boot diskette</I> is the diskette used (as the name implies) to boot the PC, while the <I>root diskette</I> contains a set of Linux commands (actually, a complete mini-Linux system). Creating these disks is probably the best way to install Linux, although it is possible to install Linux without using any floppy disks using <B>LOADLIN.EXE</B>, a DOS program that loads Linux from an MS-DOS prompt. We&#146;ll cover this option a little later, but unless your floppy disk doesn&#146;t work under Linux it is recommended that you install using a bootdisk and a rootdisk.</P>

<P>Your next step is to determine which bootdisk and rootdisk images you&#146;ll be using and writing the images onto formatted floppy disks. Because selecting the disk images to use (especially the bootdisk) can be a relatively large task, it warrants its own section.</P>

<H4 ALIGN="LEFT"><A NAME="Heading4"></A><FONT COLOR="#000077">Choosing Bootdisk and Rootdisk Images</FONT></H4>

<P>Linux needs to know a lot about your PC&#146;s hardware, and that knowledge begins the second you boot the system. That&#146;s why you need to put some thought into selecting your bootdisk and rootdisk images.

</P>

<P>Before we go any further, we should explain what <I>bootdisk</I> and <I>rootdisk images</I> are. Linux needs to boot from floppies initially, and it needs to know what sort of hardware it&#146;s working with. When you boot Linux for the first time, the information is contained on the bootdisk and rootdisk. To create a bootdisk and a rootdisk, you need to select the proper image. You&#146;ll then use the <B>RAWRITE.EXE</B> utility to copy the image byte-for-byte to the diskette.</P>

<P>How do you select the proper image? The first step is to determine the disk size of your drive <B>A:,</B> which you boot the system from. If you&#146;re using a 3.5-inch disk drive as <B>A:,</B> you&#146;ll need to grab an image from the <B>bootdsks.144</B> directory. (This is so labeled because the capacity of a 3.5-inch high-density floppy is 1.44 megabytes.) If you&#146;re using a 5.25-inch disk drive to boot from, you&#146;ll need to grab an image from the <B>bootdsks.12</B> directory. (This is so labeled because the capacity of a 5.25-inch high-density floppy is 1.2 megabytes.)</P><P><BR></P>

<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="../ch01/039-040.html">Previous</A></TD>

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

<TD><A HREF="043-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 + -