📄 0006-0008.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="0001-0005.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0009-0010.html">Next</A>
</CENTER></P>
<A NAME="PAGENUM-6"><P>Page 6</P></A>
<P>
Now that you've completed the inventory of your system, it's time to put the list to
good use. The first thing you should do is compare the hardware in your inventory with a
list of hardware that Linux supports. Table 1.1 contains a short list of supported items. A
more comprehensive list is available on the Web at the
following site:
</P>
<!-- CODE //-->
<PRE>
<a href="http://www.redhat.com/support/docs/rhl/intel/rh50-hardware-intel.html">
http://www.redhat.com/support/docs/rhl/intel/rh50-hardware-intel.html</A>
</PRE>
<!-- END CODE //-->
<P>Table 1.1. A short list of Linux-compatible hardware.
</P>
<TABLE>
<TR><TD>
Device
</TD><TD>
Compatibility
</TD></TR><TR><TD>
CD-ROM Drive
</TD><TD>
IDE ATAPI-compliant drives, and SCSI CD-ROMs
on supported controllers.
</TD></TR><TR><TD>
Hard Drive
</TD><TD>
Virtually all IDE, EIDE, and SCSI hard drives
are supported. Some newer Ultra DMA drives may not
work because they aren't backwards compatible with the
EIDE standard.
</TD></TR><TR><TD>
SCSI Controller
</TD><TD>
Most of the common controllers from manufacturers
such as BusLogic and Adaptec are supported.
</TD></TR><TR><TD>
Video Card
</TD><TD>
Many cards from ATI, Cirrus, and Matrox are
supported, as are most cards built around the S3 chipset.
</TD></TR></TABLE>
<P>If some of your hardware isn't supported, then you have the following alternatives:
</P>
<UL>
<LI> Change out the hardware with items that are supported.
<LI> Check back later to see if support for the hardware is available.
</UL>
<P>It's a good idea to avoid any hardware that's labeled as Plug and Play ready. While
Linux is starting to support plug-and-play hardware, it's currently not always a simple task to
set up. It also would be prudent to avoid any hardware that's listed as a Win-item (like
a Winmodem or a Winprinter). These items currently only work with a Microsoft
Windows operating system.
</P>
<H4><A NAME="ch01_ 7">
Network Information
</A></H4>
<P>If your computer is connected to a LAN that's running TCP/IP, you will probably
want to contact your network administrator to get the following information.
</P>
<TABLE>
<TR><TD>
Hostname of Machine:
</TD><TD>
______________________
</TD></TR><TR><TD>
Domain Name:
</TD><TD>
______________________
</TD></TR><TR><TD>
IP Address:
</TD><TD>
______________________
</TD></TR><TR><TD>
Netmask:
</TD><TD>
______________________
</TD></TR><TR><TD>
Default Gateway:
</TD><TD>
______________________
</TD></TR></TABLE>
<A NAME="PAGENUM-7"><P>Page 7</P></A>
<TABLE>
<TR><TD>
Primary Nameserver:
</TD><TD>
______________________
</TD></TR><TR><TD>
2nd Nameserver:
</TD><TD>
______________________
</TD></TR><TR><TD>
NFS Server (optional):
</TD><TD>
______________________
</TD></TR><TR><TD>
FTP Server (optional):
</TD><TD>
______________________
</TD></TR></TABLE>
<H3><A NAME="ch01_ 8">
Creating the Installation Floppies
</A></H3>
<P>The next step is to create the boot and supplemental floppies. You need the two
blank, formatted floppies discussed earlier in the hour. Label the blank floppies "Boot
Diskette" and "Supplemental Diskette." These diskettes are created by using the
rawrite program located on the CD. The rawrite
program works by writing a disk image to a blank floppy.
</P>
<P>The following example assumes that your CD is drive E: on your system. Please
substitute your drive letter if it's different. At the DOS prompt, change into the
\DOSUTILS directory on the CD and run the rawrite program. You will be prompted by the following:
</P>
<!-- CODE SNIP //-->
<PRE>
Enter disk image source file name: E:\images\boot.img
Enter target diskette drive: A:
Please insert a formatted diskette into drive A: and press --ENTER-- :
</PRE>
<!-- END CODE SNIP //-->
<P>After the image is written, remove that floppy and insert the floppy you
labeled "Supplemental Diskette," then rerun the
rawrite program.
</P>
<!-- CODE SNIP //-->
<PRE>
Enter disk image source file name: E:\images\supp.img
Enter target diskette drive: A:
Please insert a formatted diskette into drive A: and press --ENTER-- :
</PRE>
<!-- END CODE SNIP //-->
<P>Your installation diskettes are now ready; the next step is to prepare your hard drive.
</P>
<H3><A NAME="ch01_ 9">
Preparing Your Hard Drive
</A></H3>
<P>Since you are installing Linux to a hard drive in your system, you need to make sure
you have necessary room to perform the installation. If you already have a second hard
drive or a partition set aside for Linux, you're pretty much ready to begin the installation. If
you don't, you have to make space available on your existing hard drive by using a program
that comes with the CD called fips. Before you do that, however, you need to have a
basic understanding of partitions and file systems.
</P>
<H4><A NAME="ch01_ 10">
Partitions and File Systems
</A></H4>
<P>As discussed earlier, Linux should be installed into its own partition. All hard drives
need to be partitioned before they can be used. When you partition a drive, you're
designating a specific area of your hard drive for use. Partitions allow you to divide your hard
drive so that not all information is stored in one area. Different operating systems
write information to partitions in different ways, and these different ways are known as
file systems.
</P>
<A NAME="PAGENUM-8"><P>Page 8</P></A>
<B>
Partitions
</B>
<P>There are two types of partitions: primary and extended. Extended partitions can
be subdivided into more parts through the use of logical drives; primary partitions
cannot. A hard drive can contain both types of partitions at the same time, with some
limitations. A drive can contain up to four primary partitions. To divide a hard drive up even
further, one of these partitions may be designated as an extended partition. Each extended
partition can be divided up using logical drives.
</P>
<P>Figure 1.1 shows you an example of a drive that has been broken down into four
distinct areas using one primary partition and one extended partition that has been further
divided into three logical drives.
</P>
<P>Figure 1.1.<BR>
Example of hard drive<BR>
partition types.</P>
<P><a href="javascript:displayWindow('images/ch01fg01.jpg', 136, 146)"><img src="images/tn_ch01fg01.jpg"></a><BR>
</P>
<B>
File Systems
</B>
<P>Whereas the partition tells the operating system "Write information in this area," a
file system tells the operating system "Write the files in this format!" DOS versions
5.0_7.0 use a file system called FAT16 that allows for 512 megabyte partitions (and larger
ones through some fancy footwork that are beyond the discussion of this book). Windows
95 OSR2 can use a FAT32 file system, which allows for much larger partitions.
Linux primarily uses two file systems called EXT2 and SWAP.
</P>
<P>
<CENTER>
<TABLE BGCOLOR="#FFFF99">
<TR><TD><B>
CAUTION
</B></TD></TR>
<TR><TD>
<BLOCKQUOTE>
If you're using Windows NT, OS/2, or have Windows 95 OSR2 with a
FAT32 partition, you may have problems using the
fips commands. You need to look to a commercial partition program (such as Partition Magic) to create the
necessary space.
</BLOCKQUOTE></TD></TR>
</TABLE></CENTER>
</P>
<P><CENTER>
<a href="0001-0005.html">Previous</A> | <a href="../ewtoc.html">Table of Contents</A> | <a href="0009-0010.html">Next</A>
</CENTER></P>
</td>
</tr>
</table>
<!-- begin footer information -->
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -