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

📄 install-pre.html

📁 FreeBSD操作系统的详细使用手册
💻 HTML
📖 第 1 页 / 共 2 页
字号:
Details</a></h2><p>If you intend to connect to a network as part of your FreeBSD installation (forexample, if you will be installing from an FTP site or an NFS server), then you need toknow your network configuration. You will be prompted for this information during theinstallation so that FreeBSD can connect to the network to complete the install.</p><div class="SECT3"><h3 class="SECT3"><a id="AEN1192" name="AEN1192">2.2.4.1 Connecting to an EthernetNetwork or Cable/DSL Modem</a></h3><p>If you connect to an Ethernet network, or you have an Internet connection using anEthernet adapter via cable or DSL, then you will need the following information:</p><ol type="1"><li><p>IP address</p></li><li><p>IP address of the default gateway</p></li><li><p>Hostname</p></li><li><p>DNS server IP addresses</p></li><li><p>Subnet Mask</p></li></ol><p>If you do not know this information, then ask your system administrator or serviceprovider. They may say that this information is assigned automatically, using <iclass="FIRSTTERM">DHCP</i>. If so, make a note of this.</p></div><div class="SECT3"><h3 class="SECT3"><a id="AEN1208" name="AEN1208">2.2.4.2 Connecting Using aModem</a></h3><p>If you dial up to an ISP using a regular modem then you can still install FreeBSD overthe Internet, it will just take a very long time.</p><p>You will need to know:</p><ol type="1"><li><p>The phone number to dial for your ISP</p></li><li><p>The COM: port your modem is connected to</p></li><li><p>The username and password for your ISP account</p></li></ol></div></div><div class="SECT2"><h2 class="SECT2"><a id="AEN1219" name="AEN1219">2.2.5 Check for FreeBSD Errata</a></h2><p>Although the FreeBSD project strives to ensure that each release of FreeBSD is asstable as possible, bugs do occasionally creep into the process. On very rare occasionsthose bugs affect the installation process. As these problems are discovered and fixed,they are noted in the <a href="http://www.FreeBSD.org/releases/5.2.1R/errata.html"target="_top">FreeBSD Errata</a>, which is found on the FreeBSD web site. You shouldcheck the errata before installing to make sure that there are no late-breaking problemswhich you should be aware of.</p><p>Information about all the releases, including the errata for each release, can befound on the <a href="../../../../releases/index.html" target="_top">releaseinformation</a> section of the <a href="../../../../index.html" target="_top">FreeBSD website</a>.</p></div><div class="SECT2"><h2 class="SECT2"><a id="AEN1226" name="AEN1226">2.2.6 Obtain the FreeBSD InstallationFiles</a></h2><p>The FreeBSD installation process can install FreeBSD from files located in any of thefollowing places:</p><p><b>Local Media</b></p><ul><li><p>A CDROM or DVD</p></li><li><p>A DOS partition on the same computer</p></li><li><p>A SCSI or QIC tape</p></li><li><p>Floppy disks</p></li></ul><p><b>Network</b></p><ul><li><p>An FTP site, going through a firewall, or using an HTTP proxy, as necessary</p></li><li><p>An NFS server</p></li><li><p>A dedicated parallel or serial connection</p></li></ul><p>If you have purchased FreeBSD on CD or DVD then you already have everything you need,and should proceed to the next section (<ahref="install-pre.html#INSTALL-FLOPPIES">Section 2.2.7</a>).</p><p>If you have not obtained the FreeBSD installation files you should skip ahead to <ahref="install-diff-media.html">Section 2.13</a> which explains how to prepare to installFreeBSD from any of the above. After reading that section, you should come back here, andread on to <a href="install-pre.html#INSTALL-FLOPPIES">Section 2.2.7</a>.</p></div><div class="SECT2"><h2 class="SECT2"><a id="INSTALL-FLOPPIES" name="INSTALL-FLOPPIES">2.2.7 Prepare the BootMedia</a></h2><p>The FreeBSD installation process is started by booting your computer into the FreeBSDinstaller--it is not a program you run within another operating system. Your computernormally boots using the operating system installed on your hard disk, but it can also beconfigured to use a ``bootable'' floppy disk. Most modern computers can also boot from aCDROM in the CDROM drive.</p><div class="TIP"><blockquote class="TIP"><p><b>Tip:</b> If you have FreeBSD on CDROM or DVD (either one you purchased or youprepared yourself), and your computer allows you to boot from the CDROM or DVD (typicallya BIOS option called ``Boot Order'' or similar), then you can skip this section. TheFreeBSD CDROM and DVD images are bootable and can be used to install FreeBSD without anyother special preparation.</p></blockquote></div><p>To create boot floppy images, follow these steps:</p><div class="PROCEDURE"><ol type="1"><li><p><b>Acquire the Boot Floppy Images</b></p><p>The boot disks are available on your installation media in the <ttclass="FILENAME">floppies/</tt> directory, and can also be downloaded from the floppiesdirectory, <var class="LITERAL">ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/<varclass="REPLACEABLE">&lt;arch&gt;</var>/<varclass="REPLACEABLE">&lt;version&gt;</var>-RELEASE/floppies/</var>. Replace <varclass="REPLACEABLE">&lt;arch&gt;</var> and <var class="REPLACEABLE">&lt;version&gt;</var>with the architecture and the version number which you want to install, respectively. Forexample, the boot floppy images for FreeBSD&nbsp;5.2.1-RELEASE for <spanclass="TRADEMARK">i386</span>&#8482; are available from <ahref="ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/5.2.1-RELEASE/floppies/"target="_top">ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/5.2.1-RELEASE/floppies/</a>.</p><p>The floppy images have a <tt class="FILENAME">.flp</tt> extension. The <ttclass="FILENAME">floppies/</tt> directory contains a number of different images, and theones you will need to use depends on the version of FreeBSD you are installing, and insome cases, the hardware you are installing to. In most cases you will just need twofiles, <tt class="FILENAME">kern.flp</tt> and <tt class="FILENAME">mfsroot.flp</tt>.Additional device drivers may be necessary for some systems. These drivers are providedon the <tt class="FILENAME">drivers.flp</tt> image. Check <ttclass="FILENAME">README.TXT</tt> in the same directory for the most up to dateinformation about these floppy images.</p><div class="IMPORTANT"><blockquote class="IMPORTANT"><p><b>Important:</b> Your FTP program must use <span class="emphasis"><iclass="EMPHASIS">binary mode</i></span> to download these disk images. Some web browsershave been known to use <span class="emphasis"><i class="EMPHASIS">text</i></span> (or<span class="emphasis"><i class="EMPHASIS">ASCII</i></span>) mode, which will be apparentif you cannot boot from the disks.</p></blockquote></div></li><li><p><b>Prepare the Floppy Disks</b></p><p>You must prepare one floppy disk per image file you had to download. It is imperativethat these disks are free from defects. The easiest way to test this is to format thedisks for yourself. Do not trust pre-formatted floppies. The format utility in <spanclass="TRADEMARK">Windows</span> will not tell about the presence of bad blocks, itsimply marks them as ``bad'' and ignores them. It is advised that you use brand newfloppies if choosing this installation route.</p><div class="IMPORTANT"><blockquote class="IMPORTANT"><p><b>Important:</b> If you try to install FreeBSD and the installation program crashes,freezes, or otherwise misbehaves, one of the first things to suspect is the floppies. Trywriting the floppy image files to new disks and try again.</p></blockquote></div></li><li><p><b>Write the Image Files to the Floppy Disks</b></p><p>The <tt class="FILENAME">.flp</tt> files are <span class="emphasis"><iclass="EMPHASIS">not</i></span> regular files you copy to the disk. They are images ofthe complete contents of the disk. This means that you <span class="emphasis"><iclass="EMPHASIS">cannot</i></span> simply copy files from one disk to another. Instead,you must use specific tools to write the images directly to the disk.</p><p>If you are creating the floppies on a computer running <spanclass="TRADEMARK">MS-DOS</span>/<span class="TRADEMARK">Windows</span>, then we provide atool to do this called <tt class="COMMAND">fdimage</tt>.</p><p>If you are using the floppies from the CDROM, and your CDROM is the <ttclass="DEVICENAME">E:</tt> drive, then you would run this:</p><pre class="SCREEN"><samp class="PROMPT">E:\&gt;</samp> <kbdclass="USERINPUT">tools\fdimage floppies\kern.flp A:</kbd></pre><p>Repeat this command for each <tt class="FILENAME">.flp</tt> file, replacing the floppydisk each time, being sure to label the disks with the name of the file that you copiedto them. Adjust the command line as necessary, depending on where you have placed the <ttclass="FILENAME">.flp</tt> files. If you do not have the CDROM, then <ttclass="COMMAND">fdimage</tt> can be downloaded from the <ahref="ftp://ftp.FreeBSD.org/pub/FreeBSD/tools/" target="_top"><ttclass="FILENAME">tools</tt> directory</a> on the FreeBSD FTP site.</p><p>If you are writing the floppies on a <span class="TRADEMARK">UNIX</span>&reg; system(such as another FreeBSD system) you can use the <ahref="http://www.FreeBSD.org/cgi/man.cgi?query=dd&sektion=1"><spanclass="CITEREFENTRY"><span class="REFENTRYTITLE">dd</span>(1)</span></a> command to writethe image files directly to disk. On FreeBSD, you would run:</p><pre class="SCREEN"><samp class="PROMPT">#</samp> <kbd class="USERINPUT">dd if=kern.flp of=/dev/fd0</kbd></pre><p>On FreeBSD, <tt class="FILENAME">/dev/fd0</tt> refers to the first floppy disk (the<tt class="DEVICENAME">A:</tt> drive). <tt class="FILENAME">/dev/fd1</tt> would be the<tt class="DEVICENAME">B:</tt> drive, and so on. Other <spanclass="TRADEMARK">UNIX</span> variants might have different names for the floppy diskdevices, and you will need to check the documentation for the system as necessary.</p></li></ol></div><p>You are now ready to start installing FreeBSD.</p></div></div><div class="NAVFOOTER"><hr align="LEFT" width="100%" /><table summary="Footer navigation table" width="100%" border="0" cellpadding="0"cellspacing="0"><tr><td width="33%" align="left" valign="top"><a href="install.html"accesskey="P">Prev</a></td><td width="34%" align="center" valign="top"><a href="index.html"accesskey="H">Home</a></td><td width="33%" align="right" valign="top"><a href="install-start.html"accesskey="N">Next</a></td></tr><tr><td width="33%" align="left" valign="top">Installing FreeBSD</td><td width="34%" align="center" valign="top"><a href="install.html"accesskey="U">Up</a></td><td width="33%" align="right" valign="top">Starting the Installation</td></tr></table></div><p align="center"><small>This, and other documents, can be downloaded from <ahref="ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/">ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/</a>.</small></p><p align="center"><small>For questions about FreeBSD, read the <ahref="http://www.FreeBSD.org/docs.html">documentation</a> before contacting &#60;<ahref="mailto:questions@FreeBSD.org">questions@FreeBSD.org</a>&#62;.<br />For questions about this documentation, e-mail &#60;<ahref="mailto:doc@FreeBSD.org">doc@FreeBSD.org</a>&#62;.</small></p></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -