diff options
Diffstat (limited to 'zh_CN.GB2312/books/handbook/install/chapter.xml')
-rw-r--r-- | zh_CN.GB2312/books/handbook/install/chapter.xml | 522 |
1 files changed, 242 insertions, 280 deletions
diff --git a/zh_CN.GB2312/books/handbook/install/chapter.xml b/zh_CN.GB2312/books/handbook/install/chapter.xml index 4bded8c925..2cb01fc65b 100644 --- a/zh_CN.GB2312/books/handbook/install/chapter.xml +++ b/zh_CN.GB2312/books/handbook/install/chapter.xml @@ -6,30 +6,21 @@ Original Revision: 1.415 $FreeBSD$ --> - -<chapter id="install"> - <chapterinfo> +<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:id="install"> + <info><title>安装 FreeBSD</title> <authorgroup> - <author> - <firstname>Jim</firstname> - <surname>Mock</surname> - <contrib>结构、组织重整, 部分重写 </contrib> - </author> + <author><personname><firstname>Jim</firstname><surname>Mock</surname></personname><contrib>结构、组织重整, 部分重写 </contrib></author> </authorgroup> <authorgroup> - <author> - <firstname>Randy</firstname> - <surname>Pratt</surname> - <contrib>sysinstall 操作流程、屏幕抓图以及一般性文件</contrib> - </author> + <author><personname><firstname>Randy</firstname><surname>Pratt</surname></personname><contrib>sysinstall 操作流程、屏幕抓图以及一般性文件</contrib></author> </authorgroup> - <!-- January 2000 --> - </chapterinfo> + + </info> - <title>安装 FreeBSD</title> + - <sect1 id="install-synopsis"> + <sect1 xml:id="install-synopsis"> <title>概述</title> <indexterm><primary>installation</primary></indexterm> @@ -79,10 +70,10 @@ </sect1> - <sect1 id="install-hardware"> + <sect1 xml:id="install-hardware"> <title>硬件需求</title> - <sect2 id="install-hardware-minimal"> + <sect2 xml:id="install-hardware-minimal"> <title>最小配置</title> <para>安装 &os; 所需的最小硬件配置, 随 @@ -91,8 +82,7 @@ <para>在接下来的几节中, 给出了这些信息的一些总结。随您安装 &os; 的方式不同, 可能需要使用软驱或为 &os; 支持的 CDROM 驱动器, - 有时候也可能需要的是一块网卡。 这将在 <xref - linkend="install-boot-media"/> 中进行介绍。</para> + 有时候也可能需要的是一块网卡。 这将在 <xref linkend="install-boot-media"/> 中进行介绍。</para> <sect3> <title>&os;/&arch.i386; 和 &os;/&arch.pc98;</title> @@ -134,15 +124,14 @@ <sect3> <title>&os;/&arch.sparc64;</title> - <para>要安装 &os;/&arch.sparc64;, 必须使用它支持的平台 (参见 <xref - linkend="install-hardware-supported"/>)。</para> + <para>要安装 &os;/&arch.sparc64;, 必须使用它支持的平台 (参见 <xref linkend="install-hardware-supported"/>)。</para> <para>&os;/&arch.sparc64; 需要独占一块磁盘。 目前还没有办法与其它操作系统共享一块磁盘。</para> </sect3> </sect2> - <sect2 id="install-hardware-supported"> + <sect2 xml:id="install-hardware-supported"> <title>支持的硬件</title> <para>支持的硬件列表, 会作为 &os; 发行版本的 &os; 兼容硬件说明提供。 @@ -150,16 +139,15 @@ 它的名字是 <filename>HARDWARE.TXT</filename>, 此外, 在 <application>sysinstall</application> 的 documentation 菜单也可以找到。它针对特定的硬件架构列出了 &os; 已知支持的硬件。 - 不同发行版本和架构上的硬件支持列表,可以在 &os; 网站的 <ulink - url="http://www.FreeBSD.org/releases/index.html">发行版信息</ulink> + 不同发行版本和架构上的硬件支持列表,可以在 &os; 网站的 <link xlink:href="http://www.FreeBSD.org/releases/index.html">发行版信息</link> 页面上找到。</para> </sect2> </sect1> - <sect1 id="install-pre"> + <sect1 xml:id="install-pre"> <title>安装前的准备工作</title> - <sect2 id="install-inventory"> + <sect2 xml:id="install-inventory"> <title>列出您电脑的硬件清单</title> <para>在安装 FreeBSD 之前,您应该试着将您电脑中的硬件清单列出来。 @@ -236,7 +224,7 @@ <entry>0x1f0</entry> - <entry></entry> + <entry/> </row> <row> @@ -280,7 +268,7 @@ 一旦您确定要写入,那么以后就没有反悔的机会。</para> </sect2> - <sect2 id="install-where"> + <sect2 xml:id="install-where"> <title>决定要将 FreeBSD 安装到哪里</title> <para>如果您想让 FreeBSD 使用整个硬盘,那么请直接跳到下一节。</para> @@ -289,7 +277,7 @@ 那么您必须对您数据存在硬盘的分布方式有深入的了解, 以及其所造成的影响。</para> - <sect3 id="install-where-i386"> + <sect3 xml:id="install-where-i386"> <title>&os;/&arch.i386; 体系结构的硬盘分配方式</title> <para>一个 PC 硬盘可以被细分为许多块。 @@ -312,7 +300,7 @@ <para>一般而言,每种操作系统都会有自己独特的方式来区别分区。 例如 DOS 及其之后的 &windows;, 会分配给每个主分区及逻辑分区一个 <firstterm>驱动器字符</firstterm>, - 从 <devicename>C:</devicename> 开始。</para> + 从 <filename>C:</filename> 开始。</para> <para>FreeBSD 必须安装在主分区。FreeBSD 可以在这个分区上面存放系统数据或是您建立的任何文件。 @@ -343,7 +331,7 @@ <application>GParted</application> 都能改变 <acronym>NTFS</acronym> 分区的尺寸。 <application>GParted</application> 在许多 Live CD Linux 发行版, 如 - <ulink url="http://www.sysresccd.org/">SystemRescueCD</ulink> + <link xlink:href="http://www.sysresccd.org/">SystemRescueCD</link> 中均有提供。</para> <para>目前已经有报告显示改变 µsoft; Vista @@ -360,14 +348,14 @@ <title>使用已存在的分区</title> <para>假设您只有一个 4GB 的硬盘,而且已经装了 &windows; - 然后您将这个硬盘分成两个分区 <devicename>C:</devicename> 跟 - <devicename>D:</devicename>,每个分区大小为 2 GB。在 - <devicename>C:</devicename> 分区上存放有 1 GB 的数据、 - <devicename>D:</devicename>分区上存放 0.5 GB 的数据。</para> + 然后您将这个硬盘分成两个分区 <filename>C:</filename> 跟 + <filename>D:</filename>,每个分区大小为 2 GB。在 + <filename>C:</filename> 分区上存放有 1 GB 的数据、 + <filename>D:</filename>分区上存放 0.5 GB 的数据。</para> <para>这意味着您的盘上有两个分区,一个驱动器符号是一个分区 - (如 c:、d:)。 您可以把所有存放在 <devicename>D:</devicename> - 分区上的数据复制到 <devicename>C:</devicename> 分区, + (如 c:、d:)。 您可以把所有存放在 <filename>D:</filename> + 分区上的数据复制到 <filename>C:</filename> 分区, 这样就空出了一个分区(d:)给 FreeBSD 使用。</para> </example> @@ -376,7 +364,7 @@ <para>假设您只有一个 4 GB 的硬盘,而且已经装了 &windows;。 您在安装 &windows; 的时候把 4 GB 都给了 - <devicename>C:</devicename> 分区,并且已经使用了 1.5 GB + <filename>C:</filename> 分区,并且已经使用了 1.5 GB 的空间。您想将剩余空间中的 2 GB 给 FreeBSD 使用。</para> <para>为了安装 FreeBSD,您必须从下面两种方式中选择一种:</para> @@ -468,13 +456,11 @@ 但偶尔也会有一些错误进入发行版。极少数情况下, 这些问题甚至可能会影响安装。 当发现和修正问题之后,它们会列在 FreeBSD 网站中的 - <ulink url="http://www.FreeBSD.org/releases/&rel.current;R/errata.html">FreeBSD 发行勘误</ulink> 中。 + <link xlink:href="http://www.FreeBSD.org/releases/&rel.current;R/errata.html">FreeBSD 发行勘误</link> 中。 在您安装之前,应该首先看一看这份勘误表,以了解可能存在的问题。</para> <para>关于所有释出版本的信息,包括勘误表,可以在 - <ulink - url="&url.base;/index.html">FreeBSD 网站</ulink> 的 <ulink - url="&url.base;/releases/index.html">发行版信息</ulink> + <link xlink:href="&url.base;/index.html">FreeBSD 网站</link> 的 <link xlink:href="&url.base;/releases/index.html">发行版信息</link> 一节中找到。</para> </sect2> @@ -532,7 +518,7 @@ <xref linkend="install-boot-media"/> 继续了。</para> </sect2> - <sect2 id="install-boot-media"> + <sect2 xml:id="install-boot-media"> <title>准备引导介质</title> <para>FreeBSD 的安装过程开始于将您的电脑开机进入 FreeBSD @@ -559,16 +545,14 @@ <para>记忆棒映像文件可以从 <replaceable>arch</replaceable> 对应的 <literal>ISO-IMAGES</literal> 目录, 例如 - <literal>ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/<replaceable>arch</replaceable>/ISO-IMAGES/<replaceable>version</replaceable>/&os;-&rel.current;-RELEASE-<replaceable>arch</replaceable>-memstick.img</literal> + <literal>ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/arch/ISO-IMAGES/version/&os;-&rel.current;-RELEASE-arch-memstick.img</literal> 获得。 其中, <replaceable>arch</replaceable> 和 <replaceable>version</replaceable> 需要替换为您使用的平台和版本。 例如, &os;/&arch.i386; &rel.current;-RELEASE - 的记忆棒映像位于 <ulink - url="ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/&arch.i386;/ISO-IMAGES/&rel.current;/&os;-&rel.current;-RELEASE-&arch.i386;-memstick.img"></ulink>。</para> + 的记忆棒映像位于 <uri xlink:href="ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/&arch.i386;/ISO-IMAGES/&rel.current;/&os;-&rel.current;-RELEASE-&arch.i386;-memstick.img">ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/&arch.i386;/ISO-IMAGES/&rel.current;/&os;-&rel.current;-RELEASE-&arch.i386;-memstick.img</uri>。</para> <para>记忆棒的映像文件扩展名是 <filename>.img</filename>。 - 在 <filename - class="directory">ISO-IMAGES/</filename> 目录中提供了多种不同的映像, + 在 <filename>ISO-IMAGES/</filename> 目录中提供了多种不同的映像, 您需要根据使用的 &os; 版本, 有时也包括硬件来选择合适的映像。</para> <important> @@ -583,7 +567,7 @@ <warning> <para>下面的例子中, 目标记忆棒对应的设备名是 - <filename class="devicefile">/dev/da0</filename>。 + <filename>/dev/da0</filename>。 请小心地确认这是希望覆盖的设备, 否则可能会损坏您的现有数据。</para> </warning> @@ -603,7 +587,7 @@ 这意味着简单地从一个地方复制到另一个地方是 <emphasis>不能</emphasis> 赋予其引导系统的能力的。 您必须使用 &man.dd.1; 将映像文件直接写入磁盘:</para> - <screen>&prompt.root; <userinput>dd if=&os;-&rel.current;-RELEASE-&arch.i386;-memstick.img of=/dev/<replaceable>da0</replaceable> bs=64k</userinput></screen> + <screen>&prompt.root; <userinput>dd if=&os;-&rel.current;-RELEASE-&arch.i386;-memstick.img of=/dev/da0 bs=64k</userinput></screen> </step> </procedure> @@ -621,13 +605,13 @@ <para>开机软盘映像文件可以在您的安装介质的 <filename>floppies/</filename> 目录下找到, - 另外您也可以从下述网站的 floppies 目录下载: <literal>ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/<replaceable>架构名</replaceable>/<replaceable>版本</replaceable>-RELEASE/floppies/</literal>。 + 另外您也可以从下述网站的 floppies 目录下载: <literal>ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/架构名/版本-RELEASE/floppies/</literal>。 将 <replaceable><架构名></replaceable> 和 <replaceable><版本></replaceable> 替换为您使用的计算机体系结构和希望安装的版本号。 例如,用于安装 &i386; 上的 &os;/&arch.i386; &rel2.current;-RELEASE 的文件的地址, - 应该是 <ulink url="ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/&rel2.current;-RELEASE/floppies/"></ulink>。</para> + 应该是 <uri xlink:href="ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/&rel2.current;-RELEASE/floppies/">ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/&rel2.current;-RELEASE/floppies/</uri>。</para> <para>软盘映像文件的扩展名是 <filename>.flp</filename>。 在 <filename>floppies/</filename> 目录中包括了许多不同的映像文件, @@ -682,7 +666,7 @@ 程序来将映像文件写到软盘中。</para> <para>如果您使用的是光盘,假设光盘的驱动器符号为 - <devicename>E:</devicename>,那么请执行下面的命令:</para> + <filename>E:</filename>,那么请执行下面的命令:</para> <screen><prompt>E:\></prompt> <userinput>tools\fdimage floppies\boot.flp A:</userinput></screen> @@ -692,8 +676,8 @@ 如果您的映像文件存放在不同的地方,请自行修改上面的指令指向您存放 <filename>.flp</filename> 文件的地方。要是您没有 FreeBSD 光盘, 您可以到 FreeBSD 的 FTP 站点 - <ulink url="ftp://ftp.FreeBSD.org/pub/FreeBSD/tools/"> - <filename class="directory">tools</filename>目录</ulink> + <link xlink:href="ftp://ftp.FreeBSD.org/pub/FreeBSD/tools/"> + <filename>tools</filename>目录</link> 中下载。</para> <para>如果您在 &unix; 系统上制作软盘(例如其它 FreeBSD 机器), @@ -703,8 +687,8 @@ <screen>&prompt.root; <userinput>dd if=boot.flp of=/dev/fd0</userinput></screen> <para>在 FreeBSD 中,<filename>/dev/fd0</filename> - 指的是第一个软驱(即 <devicename>A:</devicename> 驱动器); - <filename>/dev/fd1</filename> 是 <devicename>B:</devicename> + 指的是第一个软驱(即 <filename>A:</filename> 驱动器); + <filename>/dev/fd1</filename> 是 <filename>B:</filename> 驱动器,依此类推。其它的 &unix; 系统可能会用不同的的名称, 这时您就要查阅该系统的说明文件。</para> </step> @@ -714,7 +698,7 @@ </sect2> </sect1> - <sect1 id="install-start"> + <sect1 xml:id="install-start"> <title>开始安装</title> <important> @@ -733,10 +717,10 @@ We can take no responsibility for lost disk contents!</literallayout> 这时您可以直接将电源关掉而不会造成任何伤害。</para> </important> - <sect2 id="install-starting"> + <sect2 xml:id="install-starting"> <title>开机启动</title> - <sect3 id="install-starting-i386"> + <sect3 xml:id="install-starting-i386"> <title>引导 &i386; 系统</title> <procedure> @@ -858,7 +842,7 @@ Insert disk labelled "Kernel floppy 1" and press any key...</screen> <para>不论是从光盘、 USB 记忆棒或软盘引导, 接下来都会进入 &os; 引导加载器菜单:</para> - <figure id="boot-loader-menu"> + <figure xml:id="boot-loader-menu"> <title>&os; Boot Loader Menu</title> <mediaobject> @@ -902,8 +886,8 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen> <command>~#</command>) 以便进入 PROM 提示符。 它应该是类似下面这样:</para> - <screen><prompt>ok </prompt><co id="prompt-single"/> -<prompt>ok {0} </prompt><co id="prompt-smp"/></screen> + <screen><prompt>ok </prompt><co xml:id="prompt-single"/> +<prompt>ok {0} </prompt><co xml:id="prompt-smp"/></screen> <calloutlist> <callout arearefs="prompt-single"> @@ -924,7 +908,7 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen> </sect2> - <sect2 id="view-probe"> + <sect2 xml:id="view-probe"> <title>查看设备探测的结果</title> <para>前面屏幕显示的最后几百行字会存在缓冲区中以便您查阅。</para> @@ -938,7 +922,7 @@ Ethernet address 0:3:ba:b:92:d4, Host ID: 830b92d4.</screen> <xref linkend="install-dev-probe"/>的画面。 真正的结果依照您的电脑装置而有所不同。</para> - <figure id="install-dev-probe"> + <figure xml:id="install-dev-probe"> <title>典型的设备探测结果</title> <screen>avail memory = 253050880 (247120K bytes) @@ -1016,7 +1000,7 @@ Mounting root from ufs:/dev/md0c 系统将自动设置地区。 您也可以很容易地退出 <application>sysinstall</application> 程序并从头来过。</para> - <figure id="config-country"> + <figure xml:id="config-country"> <title>选择国家及地区菜单</title> <mediaobject> @@ -1031,7 +1015,7 @@ Mounting root from ufs:/dev/md0c 则会显示下面的菜单。 使用光标键选择正确的键盘映射, 然后按 <keycap>Enter</keycap> 来确认。</para> - <figure id="config-keymap"> + <figure xml:id="config-keymap"> <title>选择键盘菜单</title> <mediaobject> @@ -1041,7 +1025,7 @@ Mounting root from ufs:/dev/md0c </mediaobject> </figure> - <figure id="sysinstall-exit"> + <figure xml:id="sysinstall-exit"> <title>选择离开 Sysinstall</title> <mediaobject> @@ -1068,7 +1052,7 @@ Mounting root from ufs:/dev/md0c </sect2> </sect1> - <sect1 id="using-sysinstall"> + <sect1 xml:id="using-sysinstall"> <title>介绍 Sysinstall</title> <para><application>sysinstall</application> 是 FreeBSD @@ -1087,7 +1071,7 @@ Mounting root from ufs:/dev/md0c <para>安装画面的使用说明会显示出来,阅读完毕请按 <keycap>Enter</keycap> 键回到主画面。</para> - <figure id="sysinstall-main3"> + <figure xml:id="sysinstall-main3"> <title>选取 Sysinstall 主菜单的 Usage 项目</title> <mediaobject> @@ -1097,13 +1081,13 @@ Mounting root from ufs:/dev/md0c </mediaobject> </figure> - <sect2 id="select-doc"> + <sect2 xml:id="select-doc"> <title>选择 Documentation(说明文件) 菜单</title> <para>用方向键从主菜单选择 <guimenuitem>Doc</guimenuitem> 条目然后按 <keycap>Enter</keycap>键。</para> - <figure id="main-doc"> + <figure xml:id="main-doc"> <title>选择说明文件菜单</title> <mediaobject> @@ -1115,7 +1099,7 @@ Mounting root from ufs:/dev/md0c <para>这将会进入说明文件菜单。</para> - <figure id="docmenu1"> + <figure xml:id="docmenu1"> <title>Sysinstall 说明文件菜单</title> <mediaobject> @@ -1135,7 +1119,7 @@ Mounting root from ufs:/dev/md0c 然后按下 <keycap>Enter</keycap> 键。</para> </sect2> - <sect2 id="keymap"> + <sect2 xml:id="keymap"> <title>选择键盘对应(Keymap)菜单</title> <para>如果要改变键盘按键的对应方式, @@ -1143,7 +1127,7 @@ Mounting root from ufs:/dev/md0c 然后按 <keycap>Enter</keycap> 键。一般情况下不改变此项, 除非您使用了非标准键盘或非美国键盘。</para> - <figure id="sysinstall-keymap"> + <figure xml:id="sysinstall-keymap"> <title>Sysinstall 主菜单</title> <mediaobject> @@ -1162,7 +1146,7 @@ Mounting root from ufs:/dev/md0c 按 <keycap>Tab</keycap> 键将使用默认的键盘对应, 并返回到主菜单</para> - <figure id="sysinstall-keymap-menu"> + <figure xml:id="sysinstall-keymap-menu"> <title>Sysinstall 键盘对应菜单</title> <mediaobject> @@ -1174,13 +1158,13 @@ Mounting root from ufs:/dev/md0c </sect2> - <sect2 id="viewsetoptions"> + <sect2 xml:id="viewsetoptions"> <title>安装选项设置画面</title> <para>选择 <guimenuitem>Options</guimenuitem> 然后按 <keycap>Enter</keycap> 键。</para> - <figure id="sysinstall-options"> + <figure xml:id="sysinstall-options"> <title>Sysinstall 主菜单</title> <mediaobject> @@ -1190,7 +1174,7 @@ Mounting root from ufs:/dev/md0c </mediaobject> </figure> - <figure id="options"> + <figure xml:id="options"> <title>Sysinstall 选项设置</title> <mediaobject> @@ -1213,7 +1197,7 @@ Mounting root from ufs:/dev/md0c <para>按 <keycap>Q</keycap> 键可以回到主画面。</para> </sect2> - <sect2 id="start-install"> + <sect2 xml:id="start-install"> <title>开始进行标准安装</title> <para><guimenuitem>Standard(标准)</guimenuitem> 安装适用于那些 &unix; @@ -1221,7 +1205,7 @@ Mounting root from ufs:/dev/md0c <guimenuitem>Standard</guimenuitem> 然后按 <keycap>Enter</keycap> 键可开始进入标准安装。</para> - <figure id="sysinstall-standard"> + <figure xml:id="sysinstall-standard"> <title>开始进行标准安装</title> <mediaobject> @@ -1233,7 +1217,7 @@ Mounting root from ufs:/dev/md0c </sect2> </sect1> - <sect1 id="install-steps"> + <sect1 xml:id="install-steps"> <title>分配磁盘空间</title> <para>您的第一个工作就是要分配 FreeBSD 用的硬盘空间以便 @@ -1241,7 +1225,7 @@ Mounting root from ufs:/dev/md0c 为了完成这个工作,您必须先对 FreeBSD 如何找到磁盘信息做一个了解。</para> - <sect2 id="install-drive-bios-numbering"> + <sect2 xml:id="install-drive-bios-numbering"> <title>BIOS 磁盘编号</title> <para>当您在系统上安装配置 FreeBSD 之前, @@ -1255,7 +1239,7 @@ Mounting root from ufs:/dev/md0c <quote>primary master</quote> 硬盘开机。 许多人发现最简单而便宜备份系统的方式就是再去买一块一模一样的硬盘, 然后定期将数据从第一块硬盘复制到第二个硬盘,使用 - <application><trademark class="registered">Ghost</trademark></application> + <application>Ghost</application> 或 <application>XCOPY</application>。所以,当第一个硬盘死了, 或者是被病毒破坏,或者有坏轨道, 他们可以调整 BIOS 中的开机顺序而直接用第二块硬盘开机。 @@ -1327,7 +1311,7 @@ Mounting root from ufs:/dev/md0c </sidebar> </sect2> - <sect2 id="main-fdisk"> + <sect2 xml:id="main-fdisk"> <title>使用 FDisk 创建分区</title> <note> @@ -1357,9 +1341,9 @@ Mounting root from ufs:/dev/md0c 然后您就会看到一个列表列出所有在探测设备的时候找到的硬盘。 <xref linkend="sysinstall-fdisk-drive1"/> 范例显示的是有找到两个 IDE 硬盘的情形,这两个硬盘分别为 - <devicename>ad0</devicename> 和 <devicename>ad2</devicename>。</para> + <filename>ad0</filename> 和 <filename>ad2</filename>。</para> - <figure id="sysinstall-fdisk-drive1"> + <figure xml:id="sysinstall-fdisk-drive1"> <title>选择要分区的硬盘</title> <mediaobject> @@ -1369,31 +1353,31 @@ Mounting root from ufs:/dev/md0c </mediaobject> </figure> - <para>您可能正在奇怪,为什么 <devicename>ad1</devicename> 没有列出来? + <para>您可能正在奇怪,为什么 <filename>ad1</filename> 没有列出来? 为什么遗失了呢?</para> <para>试想,如果您有两个 IDE 硬盘,一个是在第一个 Primary master, 一个是 Secondary master,这样会发生什么事呢? 如果 FreeBSD - 依照找到的顺序来为他们命名,如 <devicename>ad0</devicename> 和 - <devicename>ad1</devicename> 那么就不会有什么问题。</para> + 依照找到的顺序来为他们命名,如 <filename>ad0</filename> 和 + <filename>ad1</filename> 那么就不会有什么问题。</para> <para>但是,现在问题来了。如果您现在想在 primary slave 加装第三个硬盘, - 那么这个硬盘的名称就会是 <devicename>ad1</devicename>,之前的 - <devicename>ad1</devicename> 就会变成 <devicename>ad2</devicename>。 + 那么这个硬盘的名称就会是 <filename>ad1</filename>,之前的 + <filename>ad1</filename> 就会变成 <filename>ad2</filename>。 这会造成什么问题呢?因为设备的名称 - (如 <devicename>ad1s1a</devicename>)是用来寻找文件系统的, + (如 <filename>ad1s1a</filename>)是用来寻找文件系统的, 因此您可能会发现,突然,您有些文件系统从此无法正确地显示出来, 必须修改 FreeBSD 配置文件(译注:/etc/fstab)才可以正确显示。</para> <para>为了解决这些问题,在配置内核的时候可以叫 FreeBSD 直接用 IDE 设备所在的位置来命名,而不是依据找到的顺序。使用这种方式的话, 在 secondary master 的 IDE 设备就 <emphasis>永远是</emphasis> - <devicename>ad2</devicename>,即使您的系统中没有 - <devicename>ad0</devicename> 或 <devicename>ad1</devicename> + <filename>ad2</filename>,即使您的系统中没有 + <filename>ad0</filename> 或 <filename>ad1</filename> 也不受影响。</para> <para>此为 FreeBSD 内核的默认值,这也是为什么上面的画面只显示 - <devicename>ad0</devicename> 和 <devicename>ad2</devicename> 的原因。 + <filename>ad0</filename> 和 <filename>ad2</filename> 的原因。 画面上这台机器的两颗硬盘是装在 primary 及 secondary 的 master 上面; 并没有任何一个硬盘安装在 slave 插槽上。</para> @@ -1410,13 +1394,13 @@ Mounting root from ufs:/dev/md0c 每个分区的开始及结束位置、所占容量、FreeBSD 名称、 它们的描述以及类别(sub-type)。此范例显示有两个未使用的小分区, 还有一个大的 <acronym>FAT</acronym> 分区, - (很可能是 &ms-dos; 或 &windows; 的 <devicename>C:</devicename> ), + (很可能是 &ms-dos; 或 &windows; 的 <filename>C:</filename> ), 以及一个扩展分区(在 &ms-dos; 或 &windows; 里面还可以包含逻辑分区)。</para> <para>第三个部分显示 <application>FDisk</application> 中可用的命令。</para> - <figure id="sysinstall-fdisk1"> + <figure xml:id="sysinstall-fdisk1"> <title>典型的尚未编辑前的 Fdisk 分区表</title> <mediaobject> @@ -1454,7 +1438,7 @@ Mounting root from ufs:/dev/md0c 那么您可以按下 <keycap>C</keycap> 键来建立一个新的分区。同样的, 会有对话框询问您要建立的分区的大小。</para> - <figure id="sysinstall-fdisk2"> + <figure xml:id="sysinstall-fdisk2"> <title>Fdisk 分区使用整个硬盘</title> <mediaobject> @@ -1469,7 +1453,7 @@ Mounting root from ufs:/dev/md0c 但是还不会真正写入您的硬盘。</para> </sect2> - <sect2 id="bootmgr"> + <sect2 xml:id="bootmgr"> <title>安装多重引导</title> <para>在这步骤您可以选择要不要安装一个多重引导管理器。 @@ -1495,7 +1479,7 @@ Mounting root from ufs:/dev/md0c <para>选择好配置后请按 <keycap>Enter</keycap>。</para> - <figure id="sysinstall-bootmgr"> + <figure xml:id="sysinstall-bootmgr"> <title>Sysinstall 多重引导管理程序</title> <mediaobject> @@ -1522,7 +1506,7 @@ Mounting root from ufs:/dev/md0c 那么两个硬盘都必须安装 FreeBSD 的多重引导管理程序。</para> </important> - <figure id="sysinstall-fdisk-drive2"> + <figure xml:id="sysinstall-fdisk-drive2"> <title>离开选择硬盘画面</title> <mediaobject> @@ -1539,7 +1523,7 @@ Mounting root from ufs:/dev/md0c 然后按 <keycap>Enter</keycap> 键继续安装过程。</para> </sect2> - <sect2 id="bsdlabeleditor"> + <sect2 xml:id="bsdlabeleditor"> <title>使用 <application>bsdlabel</application> 创建分区</title> @@ -1707,7 +1691,7 @@ Mounting root from ufs:/dev/md0c <application>sysinstall</application> 会, 所以照着它做会使您的安装比较清爽、干净。 您可以将这些文件系统挂在任何地方,本范例建议将它们挂在 - <filename>/disk<replaceable>n</replaceable></filename> + <filename>/diskn</filename> 目录,<replaceable>n</replaceable> 依据每个硬盘而有所不同, 但是,您喜欢的话也可将它们挂在别的地方。</entry> </row> @@ -1748,7 +1732,7 @@ Mounting root from ufs:/dev/md0c <para>下方的第三区显示在 <application>Disklabel</application> 中可用的按键。</para> - <figure id="sysinstall-label"> + <figure xml:id="sysinstall-label"> <title>Sysinstall Disklabel 编辑器</title> <mediaobject> @@ -1773,7 +1757,7 @@ Mounting root from ufs:/dev/md0c 可能会用完根目录空间)。</para> </note> - <figure id="sysinstall-label2"> + <figure xml:id="sysinstall-label2"> <title>Sysinstall Disklabel 编辑器-使用自动配置</title> <mediaobject> @@ -1798,7 +1782,7 @@ Mounting root from ufs:/dev/md0c <literal>G</literal> 结尾表示GB, 或者 <literal>C</literal> 表示柱面数的方式来表达尺寸。</para> - <figure id="sysinstall-label-add"> + <figure xml:id="sysinstall-label-add"> <title>根目录使用空间</title> <mediaobject> @@ -1815,7 +1799,7 @@ Mounting root from ufs:/dev/md0c <xref linkend="sysinstall-label-add2"/> 所示。 然后, 按下 &gui.ok;。</para> - <figure id="sysinstall-label-add2"> + <figure xml:id="sysinstall-label-add2"> <title>编辑要分区大小</title> <mediaobject> @@ -1830,7 +1814,7 @@ Mounting root from ufs:/dev/md0c 所以确认选择 <guimenuitem>FS</guimenuitem>后按<keycap>Enter</keycap> 键。</para> - <figure id="sysinstall-label-type"> + <figure xml:id="sysinstall-label-type"> <title>选择根分区类型</title> <mediaobject> @@ -1846,7 +1830,7 @@ Mounting root from ufs:/dev/md0c <filename>/</filename>, 所以请输入 <userinput>/</userinput>,然后按 <keycap>Enter</keycap>键。</para> - <figure id="sysinstall-label-mount"> + <figure xml:id="sysinstall-label-mount"> <title>选择根挂接点</title> <mediaobject> @@ -1866,7 +1850,7 @@ Mounting root from ufs:/dev/md0c <xref linkend="sysinstall-label4"/>, 实际数字按您的选择而有所不同。 按下 <keycap>Q</keycap> 键完成分区的建立。</para> - <figure id="sysinstall-label4"> + <figure xml:id="sysinstall-label4"> <title>Sysinstall Disklabel 编辑器</title> <mediaobject> @@ -1878,10 +1862,10 @@ Mounting root from ufs:/dev/md0c </sect2> </sect1> - <sect1 id="install-choosing"> + <sect1 xml:id="install-choosing"> <title>选择要安装的软件包</title> - <sect2 id="distset"> + <sect2 xml:id="distset"> <title>选择要安装的软件包</title> <para>安装哪些软件包在很大程度上取决于系统将被用来做什么, @@ -1910,7 +1894,7 @@ Mounting root from ufs:/dev/md0c 则选择最合适的选项。 不要担心选择的是否是最合适的, 因为其他软件包可以在安装完毕后再加入进来。</para> - <figure id="distribution-set1"> + <figure xml:id="distribution-set1"> <title>选择软件包</title> <mediaobject> @@ -1921,7 +1905,7 @@ Mounting root from ufs:/dev/md0c </figure> </sect2> - <sect2 id="portscol"> + <sect2 xml:id="portscol"> <title>安装ports软件包</title> <para>当选择完您想要安装的部分后,接着会询问您要不要安装FreeBSD Ports @@ -1959,7 +1943,7 @@ Mounting root from ufs:/dev/md0c 则将跳过它。 选好后按 <keycap>Enter</keycap> 继续。 此后, 选择安装的软件包的屏幕将再次出现。</para> - <figure id="distribution-set2"> + <figure xml:id="distribution-set2"> <title>确认您要安装的软件包</title> <mediaobject> @@ -1976,7 +1960,7 @@ Mounting root from ufs:/dev/md0c </sect2> </sect1> - <sect1 id="install-media"> + <sect1 xml:id="install-media"> <title>选择您要使用的安装介质</title> <para>如果要从 CDROM 或 DVD安装,使用方向键将光标移到 @@ -1989,7 +1973,7 @@ Mounting root from ufs:/dev/md0c <para>按 <keycap>F1</keycap> 可以显示安装介质的在线说明。按一下 <keycap>Enter</keycap> 可返回选择安装介质画面。</para> - <figure id="choose-media"> + <figure xml:id="choose-media"> <title>选择安装介质</title> <mediaobject> @@ -2061,8 +2045,8 @@ Mounting root from ufs:/dev/md0c 通常在使用者登入名称中加入您要登入的服务器的用户名, 加在 <quote>@</quote> 符号后面。然后代理服务器就会 <quote>假装</quote> 成一个真的服务器。例如,假设您要从 - <hostid role="fqdn">ftp.FreeBSD.org</hostid> 安装,通过 FTP - 代理服务器 <hostid role="fqdn">foo.example.com</hostid>, + <systemitem class="fqdomainname">ftp.FreeBSD.org</systemitem> 安装,通过 FTP + 代理服务器 <systemitem class="fqdomainname">foo.example.com</systemitem>, 使用1234端口。</para> <para>在这种情况下,您可以到 options 菜单,将 FTP username 设为 @@ -2071,15 +2055,15 @@ Mounting root from ufs:/dev/md0c 以及URL为 <literal>ftp://foo.example.com:1234/pub/FreeBSD</literal>。</para> - <para>因为<hostid role="fqdn">ftp.FreeBSD.org</hostid>的 + <para>因为<systemitem class="fqdomainname">ftp.FreeBSD.org</systemitem>的 <filename>/pub/FreeBSD</filename> 目录会被抓取到 - <hostid role="fqdn">foo.example.com</hostid>之下,您就可以从 + <systemitem class="fqdomainname">foo.example.com</systemitem>之下,您就可以从 <emphasis>这台</emphasis> 机器 (会从 - <hostid role="fqdn">ftp.FreeBSD.org</hostid> 抓取文件) 安装。</para> + <systemitem class="fqdomainname">ftp.FreeBSD.org</systemitem> 抓取文件) 安装。</para> </note> </sect1> - <sect1 id="install-final-warning"> + <sect1 xml:id="install-final-warning"> <title>安装确认</title> <para>到此为止,可以开始进行安装了, @@ -2135,7 +2119,7 @@ installation menus to retry whichever operations have failed. 后会离开安装程序回到主安装界面。从主安装界面可以退出安装程序。</para> </sect1> - <sect1 id="install-post"> + <sect1 xml:id="install-post"> <title>安装后的配置</title> <para>安装成功后, 就可以进行进一步的配置了。 @@ -2143,7 +2127,7 @@ installation menus to retry whichever operations have failed. <command>sysinstall</command> 并选择 <guimenuitem>Configure</guimenuitem>。</para> - <sect2 id="inst-network-dev"> + <sect2 xml:id="inst-network-dev"> <title>配置网卡</title> <para>如果您之前配置用 PPP 通过 FTP 安装,那么这个画面将不会出现; @@ -2162,7 +2146,7 @@ installation menus to retry whichever operations have failed. &gui.yes; 然后按 <keycap>Enter</keycap>。 否则请选择 &gui.no; 继续。</para> - <figure id="ed-config1"> + <figure xml:id="ed-config1"> <title>选择网卡设备</title> <mediaobject> @@ -2201,7 +2185,7 @@ installation menus to retry whichever operations have failed. <para>下面的网络配置显示了怎样把以太网设备配置成区域网络网关的角色。</para> - <figure id="ed-config2"> + <figure xml:id="ed-config2"> <title>配置 ed0接口</title> <mediaobject> @@ -2219,7 +2203,7 @@ installation menus to retry whichever operations have failed. <term>Host(机器名称)</term> <listitem> - <para>完整的机器名称,例如本例中的 <hostid role="fqdn">k6-2.example.com</hostid> 。 + <para>完整的机器名称,例如本例中的 <systemitem class="fqdomainname">k6-2.example.com</systemitem> 。 </para> </listitem> </varlistentry> @@ -2228,7 +2212,7 @@ installation menus to retry whichever operations have failed. <term>Domain(域名)</term> <listitem> - <para>您机器所在的域名称,如本例的 <hostid role="domainname">example.com</hostid> + <para>您机器所在的域名称,如本例的 <systemitem class="fqdomainname">example.com</systemitem> </para> </listitem> </varlistentry> @@ -2252,7 +2236,7 @@ installation menus to retry whichever operations have failed. <para>本地网络中的域名服务器的IP地址。 本例中假设机器所在的网络中没有域名服务器, 所以填入的是ISP提供的域名服务器地址 - (<hostid role="ipaddr">208.163.10.2</hostid>。)</para> + (<systemitem class="ipaddress">208.163.10.2</systemitem>。)</para> </listitem> </varlistentry> @@ -2261,7 +2245,7 @@ installation menus to retry whichever operations have failed. <listitem> <para>本机所使用的IP地址。本例为 - <hostid role="ipaddr">192.168.0.1</hostid>。</para> + <systemitem class="ipaddress">192.168.0.1</systemitem>。</para> </listitem> </varlistentry> @@ -2270,10 +2254,10 @@ installation menus to retry whichever operations have failed. <listitem> <para>在这个局域网中所使用的地址块是 - <hostid role="ipaddr">192.168.0.0</hostid> - - <hostid role="ipaddr">192.168.0.255</hostid>, + <systemitem class="ipaddress">192.168.0.0</systemitem> - + <systemitem class="ipaddress">192.168.0.255</systemitem>, 对应的子网掩码是 - <hostid role="netmask">255.255.255.0</hostid>。</para> + <systemitem class="netmask">255.255.255.0</systemitem>。</para> </listitem> </varlistentry> @@ -2302,7 +2286,7 @@ installation menus to retry whichever operations have failed. 机器下次启动的时候即可使用。</para> </sect2> - <sect2 id="gateway"> + <sect2 xml:id="gateway"> <title>配置网关</title> <screen> User Confirmation Requested @@ -2316,7 +2300,7 @@ installation menus to retry whichever operations have failed. 并按 <keycap>Enter</keycap> 继续。</para> </sect2> - <sect2 id="inetd-services"> + <sect2 xml:id="inetd-services"> <title>配置网络服务</title> <screen> User Confirmation Requested @@ -2364,7 +2348,7 @@ use the current settings. <para>选择 &gui.yes; 将允许您添加网络服务 (或将相应网络服务每行开头的 <literal>#</literal> 除掉即可。)</para> - <figure id="inetd-edit"> + <figure xml:id="inetd-edit"> <title>编辑 <filename>inetd.conf</filename>配置文件</title> <mediaobject> @@ -2379,7 +2363,7 @@ use the current settings. </sect2> - <sect2 id="ssh-login"> + <sect2 xml:id="ssh-login"> <title>启用 SSH 登录</title> <indexterm> @@ -2394,11 +2378,10 @@ use the current settings. <para>选择 &gui.yes; 便会启用 &man.sshd.8;, 也就是 <application>OpenSSH</application> 服务程序。 它能够让您以安全的方式从远程访问机器。 如欲了解关于 - <application>OpenSSH</application> 的进一步详情, 请参见 <xref - linkend="openssh"/>。</para> + <application>OpenSSH</application> 的进一步详情, 请参见 <xref linkend="openssh"/>。</para> </sect2> - <sect2 id="ftpanon"> + <sect2 xml:id="ftpanon"> <title>匿名 FTP</title> <indexterm> @@ -2411,7 +2394,7 @@ use the current settings. Yes [ No ]</screen> - <sect3 id="deny-anon"> + <sect3 xml:id="deny-anon"> <title>不允许匿名 FTP访问</title> <para>选择默认的 &gui.no; 并按下 @@ -2419,7 +2402,7 @@ use the current settings. FTP。</para> </sect3> - <sect3 id="ftpallow"> + <sect3 xml:id="ftpallow"> <title>允许匿名 FTP访问</title> <para>如果您选择允许匿名 FTP 存取, @@ -2452,11 +2435,10 @@ use the current settings. <para>这些信息会告诉您 FTP 服务还需要在 <filename>/etc/inetd.conf</filename> 中启用。 - 假如您希望允许匿名 FTP 连接, 请参见 <xref - linkend="inetd-services"/>。 选择 &gui.yes; 并按 + 假如您希望允许匿名 FTP 连接, 请参见 <xref linkend="inetd-services"/>。 选择 &gui.yes; 并按 <keycap>Enter</keycap> 继续; 系统将给出下列信息:</para> - <figure id="anon-ftp2"> + <figure xml:id="anon-ftp2"> <title>默认的匿名 FTP 配置</title> <mediaobject> @@ -2531,7 +2513,7 @@ use the current settings. <keycap>Enter</keycap>键, 系统会自动打开文本编辑器让您编辑FTP的欢迎信息。</para> - <figure id="anon-ftp4"> + <figure xml:id="anon-ftp4"> <title>编辑FTP欢迎信息</title> <mediaobject> @@ -2552,14 +2534,14 @@ use the current settings. </sect3> </sect2> - <sect2 id="nfsconf"> + <sect2 xml:id="nfsconf"> <title>配置网络文件系统</title> <para>网络文件系统 (NFS) 可以让您可以在网络上共享您的文件。 一台机器可以配置成NFS服务器、客户端或两者并存。请参考 <xref linkend="network-nfs"/> 以获得更多的信息。</para> - <sect3 id="nsf-server-options"> + <sect3 xml:id="nsf-server-options"> <title>NFS 服务器</title> <screen> User Confirmation Requested @@ -2583,7 +2565,7 @@ Press [Enter] now to invoke an editor on /etc/exports <para>按 <keycap>Enter</keycap> 键继续。系统会启动文本编辑器让您编辑 <filename>exports</filename> 文件。</para> - <figure id="nfs-server-edit"> + <figure xml:id="nfs-server-edit"> <title>编辑 <filename>exports</filename>文件</title> <mediaobject> @@ -2601,7 +2583,7 @@ Press [Enter] now to invoke an editor on /etc/exports <keycap>Enter</keycap> 离开并继续。</para> </sect3> - <sect3 id="nfs-client-options"> + <sect3 xml:id="nfs-client-options"> <title>NFS 客户端</title> <para> NFS 客户端允许您的机器访问NFS服务器。</para> @@ -2616,7 +2598,7 @@ Press [Enter] now to invoke an editor on /etc/exports </sect3> </sect2> - <sect2 id="console"> + <sect2 xml:id="console"> <title>配置系统终端</title> <para>系统提供了几个选项可以让您配置终端的表现方式。</para> @@ -2629,7 +2611,7 @@ Press [Enter] now to invoke an editor on /etc/exports <para>要查阅及配置这些选项,请选择 &gui.yes; 并按<keycap>Enter</keycap>。</para> - <figure id="saver-options"> + <figure xml:id="saver-options"> <title>系统终端配置选项</title> <mediaobject> @@ -2643,7 +2625,7 @@ Press [Enter] now to invoke an editor on /etc/exports <guimenuitem>Saver</guimenuitem> 然后按 <keycap>Enter</keycap>。</para> - <figure id="saver-select"> + <figure xml:id="saver-select"> <title>屏幕保护程序选项</title> <mediaobject> @@ -2661,7 +2643,7 @@ Press [Enter] now to invoke an editor on /etc/exports <guimenuitem>Timeout</guimenuitem> 并按 <keycap>Enter</keycap>键。系统会弹出一个对话框如下:</para> - <figure id="saver-timeout"> + <figure xml:id="saver-timeout"> <title>屏幕保护时间设置</title> <mediaobject> @@ -2674,7 +2656,7 @@ Press [Enter] now to invoke an editor on /etc/exports <para>您可以直接改变这个值,然后选 &gui.ok;并按 <keycap>Enter</keycap> 键回到系统终端配置画面。</para> - <figure id="saver-exit"> + <figure xml:id="saver-exit"> <title>退出系统终端配置</title> <mediaobject> @@ -2688,7 +2670,7 @@ Press [Enter] now to invoke an editor on /etc/exports <keycap>Enter</keycap> 键会回到安装后的配置画面。</para> </sect2> - <sect2 id="timezone"> + <sect2 xml:id="timezone"> <title>配置时区</title> <para>配置您机器的时区可以让系统自动校正任何区域时间的变更, @@ -2714,7 +2696,7 @@ Press [Enter] now to invoke an editor on /etc/exports <para>这里按照您机器时间的配置,选择 &gui.yes; 或 &gui.no; 然后按 <keycap>Enter</keycap>。</para> - <figure id="set-timezone-region"> + <figure xml:id="set-timezone-region"> <title>选择您所处的地理区域</title> <mediaobject> @@ -2726,7 +2708,7 @@ Press [Enter] now to invoke an editor on /etc/exports <para>请选择适当的区域然后按 <keycap>Enter</keycap>。</para> - <figure id="set-timezone-country"> + <figure xml:id="set-timezone-country"> <title>选择您所在的国家</title> <mediaobject> @@ -2738,7 +2720,7 @@ Press [Enter] now to invoke an editor on /etc/exports <para>选择您所在的国家然后按 <keycap>Enter</keycap>。</para> - <figure id="set-timezone-locality"> + <figure xml:id="set-timezone-locality"> <title>选择您所在的时区</title> <mediaobject> @@ -2759,7 +2741,7 @@ Press [Enter] now to invoke an editor on /etc/exports 返回系统安装后的配置画面。</para> </sect2> - <sect2 id="linuxcomp"> + <sect2 xml:id="linuxcomp"> <title>Linux 兼容性</title> <note> @@ -2782,7 +2764,7 @@ Press [Enter] now to invoke an editor on /etc/exports 不过,稍后您还可以再安装这个项目。</para> </sect2> - <sect2 id="mouse"> + <sect2 xml:id="mouse"> <title>配置鼠标</title> <para>此选项可以让您在终端上使用三键鼠标剪贴文字。 @@ -2800,7 +2782,7 @@ Press [Enter] now to invoke an editor on /etc/exports &gui.no; 并按 <keycap>Enter</keycap>。</para> - <figure id="mouse-protocol"> + <figure xml:id="mouse-protocol"> <title>选择鼠标类型</title> <mediaobject> @@ -2813,7 +2795,7 @@ Press [Enter] now to invoke an editor on /etc/exports <para>使用方向键选择 <guimenuitem>Type</guimenuitem> 然后按 <keycap>Enter</keycap>。</para> - <figure id="set-mouse-protocol"> + <figure xml:id="set-mouse-protocol"> <title>设置鼠标协议</title> <mediaobject> @@ -2828,7 +2810,7 @@ Press [Enter] now to invoke an editor on /etc/exports 您可以用方向键选择合适的项目,确定选择了 &gui.ok; 后按 <keycap>Enter</keycap> 键离开此画面。</para> - <figure id="config-mouse-port"> + <figure xml:id="config-mouse-port"> <title>配置鼠标端口</title> <mediaobject> @@ -2841,7 +2823,7 @@ Press [Enter] now to invoke an editor on /etc/exports <para>选择 <guimenuitem>Port</guimenuitem> 然后按 <keycap>Enter</keycap>。</para> - <figure id="set-mouse-port"> + <figure xml:id="set-mouse-port"> <title>配置鼠标端口</title> <mediaobject> @@ -2855,7 +2837,7 @@ Press [Enter] now to invoke an editor on /etc/exports <guimenuitem>PS/2</guimenuitem> 选项。请选择适当的项目然后按 <keycap>Enter</keycap>。</para> - <figure id="test-daemon"> + <figure xml:id="test-daemon"> <title>启动鼠标服务进程</title> <mediaobject> @@ -2869,7 +2851,7 @@ Press [Enter] now to invoke an editor on /etc/exports <keycap>Enter</keycap> 来启动和测试鼠标。</para> - <figure id="test-mouse-daemon"> + <figure xml:id="test-mouse-daemon"> <title>测试鼠标功能</title> <mediaobject> @@ -2888,7 +2870,7 @@ Press [Enter] now to invoke an editor on /etc/exports <keycap>Enter</keycap> 退回到系统安装完成后的配置画面。</para> </sect2> - <sect2 id="packages"> + <sect2 xml:id="packages"> <title>安装预编译的软件包 (package)</title> <para>Package 是事先编译好的二进制文件, 因此, @@ -2909,7 +2891,7 @@ Press [Enter] now to invoke an editor on /etc/exports <para>选择 &gui.yes; 并按 <keycap>Enter</keycap> 将进入 package 选择界面:</para> - <figure id="package-category"> + <figure xml:id="package-category"> <title>选择 Package 类别</title> <mediaobject> @@ -2928,7 +2910,7 @@ Press [Enter] now to invoke an editor on /etc/exports <para>系统会显示可供选择的 package:</para> - <figure id="package-select"> + <figure xml:id="package-select"> <title>选择 Package</title> <mediaobject> @@ -2954,7 +2936,7 @@ Press [Enter] now to invoke an editor on /etc/exports 和 &gui.cancel; 之间进行切换。 这种方法也可以用来选择 &gui.ok;, 随后按下 <keycap>Enter</keycap> 也可以回到 package 选择菜单。</para> - <figure id="package-install"> + <figure xml:id="package-install"> <title>安装预编译软件包</title> <mediaobject> @@ -2969,7 +2951,7 @@ Press [Enter] now to invoke an editor on /etc/exports 并按 <keycap>Enter</keycap>。 接下来需要确认将要安装的预编译包:</para> - <figure id="package-install-confirm"> + <figure xml:id="package-install-confirm"> <title>确认将要安装的预编译包</title> <mediaobject> @@ -2988,13 +2970,13 @@ Press [Enter] now to invoke an editor on /etc/exports 则可以选择 <guibutton>Install</guibutton> 来跳过。</para> </sect2> - <sect2 id="addusers"> + <sect2 xml:id="addusers"> <title>添加用户和组</title> <para>在安装系统的过程中, 您应添加至少一个用户, 以避免直接以 - <username>root</username> 用户的身份登录。 + <systemitem class="username">root</systemitem> 用户的身份登录。 用以保存其用户数据的根分区通常很小, - 因此用 <username>root</username> 身份运行程序可能将其迅速填满。 + 因此用 <systemitem class="username">root</systemitem> 身份运行程序可能将其迅速填满。 下面的提示信息介绍了这样做可能带来的更大隐患:</para> <screen> User Confirmation Requested @@ -3008,7 +2990,7 @@ Press [Enter] now to invoke an editor on /etc/exports <para>选择 &gui.yes; 并按 <keycap>Enter</keycap> 即可开始创建用户的过程。</para> - <figure id="add-user2"> + <figure xml:id="add-user2"> <title>选择用户</title> <mediaobject> @@ -3021,7 +3003,7 @@ Press [Enter] now to invoke an editor on /etc/exports <para>用箭头键来选择 <guimenuitem>User</guimenuitem> 然后按 <keycap>Enter</keycap>。</para> - <figure id="add-user3"> + <figure xml:id="add-user3"> <title>添加用户信息</title> <mediaobject> @@ -3106,14 +3088,14 @@ Press [Enter] now to invoke an editor on /etc/exports 最通用的shell是使用 BSD-world 的 C shell, 可以通过指定<filename>/bin/tcsh</filename>来修改。</para> - <para>用户也可以被添加到 <groupname>wheel</groupname> - 组中成了一个超级用户,从而拥有 <username>root</username> + <para>用户也可以被添加到 <systemitem class="groupname">wheel</systemitem> + 组中成了一个超级用户,从而拥有 <systemitem class="username">root</systemitem> 权限。</para> <para>当您感觉满意时,键入 &gui.ok; 键, 用户和组管理菜单将会重新出现。</para> - <figure id="add-user4"> + <figure xml:id="add-user4"> <title>退出用户和组管理</title> <mediaobject> @@ -3131,8 +3113,8 @@ Press [Enter] now to invoke an editor on /etc/exports 然后键入<keycap>Enter</keycap> 继续下面的安装。</para> </sect2> - <sect2 id="rootpass"> - <title>设置 <username>root</username> 密码</title> + <sect2 xml:id="rootpass"> + <title>设置 <systemitem class="username">root</systemitem> 密码</title> <screen> Message Now you must set the system manager's password. @@ -3142,7 +3124,7 @@ Press [Enter] now to invoke an editor on /etc/exports [ Press enter or space ]</screen> - <para>键入 <keycap>Enter</keycap> 来设置 <username>root</username> + <para>键入 <keycap>Enter</keycap> 来设置 <systemitem class="username">root</systemitem> 密码。</para> <para>密码必须正确地输入两次。 毋庸讳言, @@ -3155,7 +3137,7 @@ Retype new password :</screen> <para>密码成功键入后,安装将继续。</para> </sect2> - <sect2 id="exit-inst"> + <sect2 xml:id="exit-inst"> <title>退出安装</title> <para>如果您需要设置 @@ -3173,7 +3155,7 @@ Retype new password :</screen> <para>选择 &gui.no; 然后键入 <keycap>Enter</keycap> 返回到主安装菜单。</para> - <figure id="final-main"> + <figure xml:id="final-main"> <title>退出安装</title> <mediaobject> @@ -3208,17 +3190,13 @@ Retype new password :</screen> 进一步的细节, 请参见 <xref linkend="freebsdboot"/>。</para> </sect2> - <sect2 id="network-services"> - <sect2info> + <sect2 xml:id="network-services"> + <info><title>配置其他网络服务</title> <authorgroup> - <author> - <firstname>Tom</firstname> - <surname>Rhodes</surname> - <contrib>原作 </contrib> - </author> + <author><personname><firstname>Tom</firstname><surname>Rhodes</surname></personname><contrib>原作 </contrib></author> </authorgroup> - </sect2info> - <title>配置其他网络服务</title> + </info> + <para>如果之前缺少这一领域的经验, 那么配置网络服务对于新手而言, 很可能会是一件很有挑战的事情。 网络, 包括 Internet, @@ -3240,7 +3218,7 @@ Retype new password :</screen> <para>选择 <guimenu>Networking</guimenu> 选项将下显示一个类似下面的菜单:</para> - <figure id="network-configuration"> + <figure xml:id="network-configuration"> <title>网络配置之上层配置</title> <mediaobject> @@ -3271,9 +3249,9 @@ Retype new password :</screen> 指定默认的 <filename>日志</filename> 文件; 但是,当使用 <literal>syslogd</literal> 时, 所有在日志中记录的活动, 都会发送到系统日志服务去。 - <filename class="directory">/host</filename> + <filename>/host</filename> 用来挂接远程主机上输出的文件系统,而 - <filename class="directory">/net</filename> 目录则用来挂接从特定 + <filename>/net</filename> 目录则用来挂接从特定 <acronym>IP</acronym> 地址输出的文件系统。 <filename>/etc/amd.map</filename> 文件定义了用于 <acronym>AMD</acronym> 的默认输出选项。</para> @@ -3302,7 +3280,7 @@ Retype new password :</screen> <acronym>MTA</acronym> 或邮件传输代理。 选择这个选项将出现下面的菜单:</para> - <figure id="mta-selection"> + <figure xml:id="mta-selection"> <title>选择默认的 MTA</title> <mediaobject> @@ -3350,7 +3328,7 @@ Retype new password :</screen> 它能够处理时间同步。 当选择它后, 会出现一个像下面所似的菜单:</para> - <figure id="Ntpdate-config"> + <figure xml:id="Ntpdate-config"> <title>Ntpdate 配置</title> <mediaobject> @@ -3366,13 +3344,13 @@ Retype new password :</screen> <para>下一个选项是 <acronym>PCNFSD</acronym>。 这个选项将安装第三方软件包 - <filename role="package">net/pcnfsd</filename>。 + <package>net/pcnfsd</package>。 它可以用来为无法自行提供 <acronym>NFS</acronym> 认证服务的操作系统, 如微软的 &ms-dos; 提供服务。</para> <para>滚屏到下一页看一下其它选项:</para> - <figure id="Network-configuration-cont"> + <figure xml:id="Network-configuration-cont"> <title>网络配置之下层配置</title> <mediaobject> @@ -3437,10 +3415,10 @@ Retype new password :</screen> </sect2> - <sect2 id="freebsdboot"> + <sect2 xml:id="freebsdboot"> <title>&os; 的启动过程</title> - <sect3 id="freebsdboot-i386"> + <sect3 xml:id="freebsdboot-i386"> <title>&os;/&arch.i386; 的启动过程</title> <para>如果启动正常,您将看到在屏幕上有很多信息滚动, @@ -3453,8 +3431,8 @@ Retype new password :</screen> <command>dmesg</command> 来查看。</para> <para>使用您在安装过程中设置的用户名/密码来登录。(例子中使用 - <username>rpratt</username>)。除非必须的时候请不要用 - <username>root</username> 用户登录。</para> + <systemitem class="username">rpratt</systemitem>)。除非必须的时候请不要用 + <systemitem class="username">root</systemitem> 用户登录。</para> <para>典型的启动信息:(忽略版本信息)</para> @@ -3546,7 +3524,7 @@ Automatic boot in progress... /dev/ad0s1e: filesystem CLEAN; SKIPPING CHECKS /dev/ad0s1e: clean, 128193 free (17 frags, 16022 blocks, 0.0% fragmentation) Doing initial network setup: hostname. -ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 +ed0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 inet6 fe80::5054::5ff::fede:731b%ed0 prefixlen 64 tentative scopeid 0x1 ether 52:54:05:de:73:1b @@ -3594,15 +3572,15 @@ Password:</screen> </sect3> </sect2> - <sect2 id="shutdown"> + <sect2 xml:id="shutdown"> <title>FreeBSD 关机</title> <para>正确的关闭操作系统是很重要的。不要仅仅关闭电源。 首先,您需要成为一个超级用户,通过键入 <command>su</command> 命令来实现。然后输入 - <username>root</username> 密码。这需要用户是 - <groupname>wheel</groupname> 组的一名成员。然后, - 以<username>root</username>键入 + <systemitem class="username">root</systemitem> 密码。这需要用户是 + <systemitem class="groupname">wheel</systemitem> 组的一名成员。然后, + 以<systemitem class="username">root</systemitem>键入 <command>shutdown -h now</command>命令。</para> <screen>The operating system has halted. @@ -3624,7 +3602,7 @@ Please press any key to reboot.</screen> </sect2> </sect1> - <sect1 id="install-trouble"> + <sect1 xml:id="install-trouble"> <title>常见问题</title> <indexterm> @@ -3641,9 +3619,8 @@ Please press any key to reboot.</screen> <para>由于 PC 结构的限制, 硬件检测不可能 100% 地可靠, 但是有些问题是您可以自己解决的。</para> - <para>首先检查一下您使用的 &os; 版本的 <ulink - url="http://www.FreeBSD.org/releases/index.html">硬件兼容说明 - </ulink> 文档看看您使用的是否是被支持的硬件。</para> + <para>首先检查一下您使用的 &os; 版本的 <link xlink:href="http://www.FreeBSD.org/releases/index.html">硬件兼容说明 + </link> 文档看看您使用的是否是被支持的硬件。</para> <para>如果您使用的硬件是系统支持的,但仍然遇到了死机或其他问题, 则需要联编 <link linkend="kernelconfig">定制的内核</link>。 @@ -3767,8 +3744,8 @@ Please press any key to reboot.</screen> <para>第一种情况是有两块 IDE 硬盘, 分别配置为对应 IDE 总线上的主 (master) 设备, 并希望 &os; 从第二块硬盘上启动。 BIOS 将两块硬盘识别为磁盘 0 和磁盘 1, 而 &os; - 则将其分别叫做 <devicename>ad0</devicename> 和 - <devicename>ad2</devicename>。</para> + 则将其分别叫做 <filename>ad0</filename> 和 + <filename>ad2</filename>。</para> <para>&os; 位于 BIOS 磁盘 1, 其类型是 <literal>ad</literal> 而 &os; 磁盘编号则是 2, @@ -3874,32 +3851,24 @@ Please press any key to reboot.</screen> </sect2> </sect1> - <sect1 id="install-advanced"> - <sect1info> + <sect1 xml:id="install-advanced"> + <info><title>高级安装指南</title> <authorgroup> - <author> - <firstname>Valentino</firstname> - <surname>Vaschetto</surname> - <contrib>原作 </contrib> - </author> + <author><personname><firstname>Valentino</firstname><surname>Vaschetto</surname></personname><contrib>原作 </contrib></author> <!-- May 2001 --> </authorgroup> <authorgroup> - <author> - <firstname>Marc</firstname> - <surname>Fonvieille</surname> - <contrib>更新 </contrib> - </author> + <author><personname><firstname>Marc</firstname><surname>Fonvieille</surname></personname><contrib>更新 </contrib></author> </authorgroup> - <!-- August 2010 --> - </sect1info> + + </info> - <title>高级安装指南</title> + <para>这节主要描述在一些特殊情况下如何安装FreeBSD。</para> - <sect2 id="headless-install"> + <sect2 xml:id="headless-install"> <title>在一个没有显示器或键盘的系统上安装FreeBSD</title> <indexterm> @@ -3911,10 +3880,8 @@ Please press any key to reboot.</screen> 因您正要安装FreeBSD的机器不是没带显示器,就是没有显卡。 您可能会问那怎么安装? 可以使用一个串行控制台。 串行控制台基本上是使用另外一台机器来充当主显示设备和键盘。 - 要这样做,只要执行下面的步骤: 创建安装 USB 记忆棒,请看 <xref - linkend="install-boot-media"/>一节说明; 此外, - 也可下载 ISO 映像文件, 具体请参阅 <xref - linkend="install-cdrom"/>。</para> + 要这样做,只要执行下面的步骤: 创建安装 USB 记忆棒,请看 <xref linkend="install-boot-media"/>一节说明; 此外, + 也可下载 ISO 映像文件, 具体请参阅 <xref linkend="install-cdrom"/>。</para> <para>要将安装介质改为使用串口控制台, 需要按下面这些步骤来操作 (如果使用 CDROM 则可跳过第一步):</para> @@ -3931,7 +3898,7 @@ Please press any key to reboot.</screen> 为了做到这一点, 需要在 &os; 中使用 &man.mount.8; 挂载 USB 盘。</para> - <screen>&prompt.root; <userinput>mount /dev/<replaceable>da0a</replaceable> <replaceable>/mnt</replaceable></userinput></screen> + <screen>&prompt.root; <userinput>mount /dev/da0a /mnt</userinput></screen> <note> <para>您需要根据实际情况修改挂点的名称。</para> @@ -3941,12 +3908,12 @@ Please press any key to reboot.</screen> 为此, 需要在 USB 记忆棒中的 <filename>loader.conf</filename> 文件中加入下面的这行配置:</para> - <screen>&prompt.root; <userinput>echo 'console="comconsole"' >> <replaceable>/mnt</replaceable>/boot/loader.conf</userinput></screen> + <screen>&prompt.root; <userinput>echo 'console="comconsole"' >> /mnt/boot/loader.conf</userinput></screen> <para>这样就完成了对 USB 记忆棒的配置, 您应使用 &man.umount.8; 命令将其卸下:</para> - <screen>&prompt.root; <userinput>umount <replaceable>/mnt</replaceable></userinput></screen> + <screen>&prompt.root; <userinput>umount /mnt</userinput></screen> <para>现在就可以拔下 USB 记忆棒并进入这一过程的第三步了。</para> </step> @@ -3956,33 +3923,31 @@ Please press any key to reboot.</screen> <indexterm> <primary><command>mount</command></primary> </indexterm> - <para>如果您直接使用 ISO 映像 (see <xref - linkend="install-cdrom"/>) 制作的 CD 引导, + <para>如果您直接使用 ISO 映像 (see <xref linkend="install-cdrom"/>) 制作的 CD 引导, 则 &os; 会引导进入正常的安装模式。 我们希望引导到串口控制台来完成安装。 为了做到这一点, 您需要展开、 修改并重新生成 ISO 文件, 然后再刻录光盘。</para> <para>在保存例如 - <filename>&os;-<replaceable>8.1</replaceable>-RELEASE-<replaceable>i386</replaceable>-disc1.iso</filename> + <filename>&os;-8.1-RELEASE-i386-disc1.iso</filename> ISO 的 &os; 系统上用 &man.tar.1; 工具提取全部文件:</para> - <screen>&prompt.root; <userinput>mkdir <replaceable>/path/to/headless-iso</replaceable></userinput> -&prompt.root; <userinput>tar -C <replaceable>/path/to/headless-iso</replaceable> -pxvf &os;-<replaceable>8.1</replaceable>-RELEASE-<replaceable>i386</replaceable>-disc1.iso</userinput></screen> + <screen>&prompt.root; <userinput>mkdir /path/to/headless-iso</userinput> +&prompt.root; <userinput>tar -C /path/to/headless-iso -pxvf &os;-8.1-RELEASE-i386-disc1.iso</userinput></screen> <para>接下来需要对其进行配置令其进入串口控制台。 为此, 需要在从 ISO 映像中提取的 <filename>loader.conf</filename> 文件中加入下面的这行配置:</para> - <screen>&prompt.root; <userinput>echo 'console="comconsole"' >> <replaceable>/path/to/headless-iso</replaceable>/boot/loader.conf</userinput></screen> + <screen>&prompt.root; <userinput>echo 'console="comconsole"' >> /path/to/headless-iso/boot/loader.conf</userinput></screen> <para>最后, 从修改好的目录树中创建新的 ISO 映像。 - 这里我们使用通过 <filename - role="package">sysutils/cdrtools</filename> port 安装的 + 这里我们使用通过 <package>sysutils/cdrtools</package> port 安装的 &man.mkisofs.8; 工具来完成:</para> - <screen>&prompt.root; <userinput>mkisofs -v -b boot/cdboot -no-emul-boot -r -J -V "<replaceable>Headless_install</replaceable>" \ - -o <replaceable>Headless-</replaceable>&os;-<replaceable>8.1</replaceable>-RELEASE-<replaceable>i386</replaceable>-disc1.iso <replaceable>/path/to/headless-iso</replaceable></userinput></screen> + <screen>&prompt.root; <userinput>mkisofs -v -b boot/cdboot -no-emul-boot -r -J -V "Headless_install" \ + -o Headless-&os;-8.1-RELEASE-i386-disc1.iso /path/to/headless-iso</userinput></screen> <para>这样就完成了对 ISO 映像的配置, 您可以使用您熟悉的工具将其刻录到 CD-R 上了。</para> @@ -4033,7 +3998,7 @@ Please press any key to reboot.</screen> </sect2> </sect1> - <sect1 id="install-diff-media"> + <sect1 xml:id="install-diff-media"> <title>准备您自己的安装介质</title> <note> @@ -4071,7 +4036,7 @@ Please press any key to reboot.</screen> </listitem> </itemizedlist> - <sect2 id="install-cdrom"> + <sect2 xml:id="install-cdrom"> <title>创建一张安装光盘</title> <para>FreeBSD 的每个发行版本都为每一支持的平台提供至少两张 CDROM 映像 @@ -4084,7 +4049,7 @@ Please press any key to reboot.</screen> <title>下载正确的 ISO 映像文件</title> <para>每个版本的ISO映像文件都可以从 - <filename>ftp://ftp.FreeBSD.org/pub/FreeBSD/ISO-IMAGES-<replaceable>架构名</replaceable>/<replaceable>版本</replaceable></filename> + <filename>ftp://ftp.FreeBSD.org/pub/FreeBSD/ISO-IMAGES-架构名/版本</filename> 或最近的镜像站点下载。选择合适的 <replaceable>架构</replaceable> 和 <replaceable>版本</replaceable> 。</para> @@ -4106,7 +4071,7 @@ Please press any key to reboot.</screen> <tbody> <row> - <entry><filename>&os;-<replaceable>版本</replaceable>-RELEASE-<replaceable>架构</replaceable>-bootonly.iso</filename></entry> + <entry><filename>&os;-版本-RELEASE-架构-bootonly.iso</filename></entry> <entry>这个 CD 映像可以让您从光驱启动并进入安装过程, 但它并不提供用于支持从 CD 直接安装 &os; 所需的文件。 @@ -4115,7 +4080,7 @@ Please press any key to reboot.</screen> </row> <row> - <entry><filename>&os;-<replaceable>版本</replaceable>-RELEASE-<replaceable>架构</replaceable>-dvd1.iso.gz</filename></entry> + <entry><filename>&os;-版本-RELEASE-架构-dvd1.iso.gz</filename></entry> <entry>这个 DVD 映像包括用于安装 FreeBSD 操作系统基本组件、 预编译包和文档所需的全部文件。 @@ -4124,7 +4089,7 @@ Please press any key to reboot.</screen> </row> <row> - <entry><filename>&os;-<replaceable>版本</replaceable>-RELEASE-<replaceable>架构</replaceable>-memstick.img</filename></entry> + <entry><filename>&os;-版本-RELEASE-架构-memstick.img</filename></entry> <entry>这个映像可以写进 USB 记忆棒, 用于引导系统并完成安装。 它也支持引导进入基于 @@ -4135,34 +4100,34 @@ Please press any key to reboot.</screen> </row> <row> - <entry><filename>&os;-<replaceable>版本</replaceable>-RELEASE-<replaceable>架构</replaceable>-disc1.iso</filename></entry> + <entry><filename>&os;-版本-RELEASE-架构-disc1.iso</filename></entry> <entry>这个 CD 映像包含了 &os; 操作系统的基本组件和文档包, 但不包括其它包。</entry> </row> <row> - <entry><filename>&os;-<replaceable>版本</replaceable>-RELEASE-<replaceable>架构</replaceable>-disc2.iso</filename></entry> + <entry><filename>&os;-版本-RELEASE-架构-disc2.iso</filename></entry> <entry>这个 CD 映像包含了能填满光盘的尽可能多的第三方软件包。 在 &os; 8.0 和更高版本中不提供这个映像。</entry> </row> <row> - <entry><filename>&os;-<replaceable>版本</replaceable>-RELEASE-<replaceable>架构</replaceable>-disc3.iso</filename></entry> + <entry><filename>&os;-版本-RELEASE-架构-disc3.iso</filename></entry> <entry>另一个包含了能填满光盘的尽可能多的第三方软件包的 CD 映像。 在 &os; 8.0 和更高版本中不提供这个映像。</entry> </row> <row> - <entry><filename><replaceable>版本</replaceable>-RELEASE-<replaceable>架构</replaceable>-docs.iso</filename></entry> + <entry><filename>版本-RELEASE-架构-docs.iso</filename></entry> <entry>&os; 文档。</entry> </row> <row> - <entry><filename>&os;-<replaceable>版本</replaceable>-RELEASE-<replaceable>架构</replaceable>-livefs.iso</filename></entry> + <entry><filename>&os;-版本-RELEASE-架构-livefs.iso</filename></entry> <entry>这个 CD 映像包含了用以支持引导进入基于 <quote>livefs</quote> 的修复模式, @@ -4214,12 +4179,11 @@ Please press any key to reboot.</screen> </procedure> <note><para>如果有兴趣制作一张定制的 FreeBSD - 版本, 请参考 <ulink - url="&url.articles.releng;">Release Engineering - Article</ulink>。</para></note> + 版本, 请参考 <link xlink:href="&url.articles.releng;">Release Engineering + Article</link>。</para></note> </sect2> - <sect2 id="install-ftp"> + <sect2 xml:id="install-ftp"> <title>为 FreeBSD 安装盘建立局域网 FTP 站点</title> <indexterm> @@ -4259,8 +4223,8 @@ Please press any key to reboot.</screen> <para>任何本地网络中的机器在安装 FreeBSD 选择安装介质时就可以选择透过 FTP 站点,然后选取 <quote>Other</quote> 后输入 - <userinput>ftp://<replaceable> 本地FTP服务器 - </replaceable></userinput> + <userinput>ftp:// 本地FTP服务器 + </userinput> 即可以透过本地的FTP站点来安装FreeBSD。</para> <note> @@ -4299,7 +4263,7 @@ Please press any key to reboot.</screen> <command>FORMAT</command> 命令来格式化软盘。 如果您使用的是 &windows; 操作系统, 在资源管理器中就可以完成这个工作 (用右键单击 - <devicename>A:</devicename> 驱动器,并选择 + <filename>A:</filename> 驱动器,并选择 <quote>Format</quote>)。</para> <para><emphasis>不要</emphasis> 指望厂家的预先格式化! @@ -4339,7 +4303,7 @@ Please press any key to reboot.</screen> 将会看到后面的提示符。</para> </sect2> - <sect2 id="install-msdos"> + <sect2 xml:id="install-msdos"> <title>从 &ms-dos; 分区安装</title> <indexterm> @@ -4358,14 +4322,12 @@ Please press any key to reboot.</screen> <prompt>C:\></prompt> <userinput>xcopy e:\bin c:\freebsd\bin\ /s</userinput> <prompt>C:\></prompt> <userinput>xcopy e:\manpages c:\freebsd\manpages\ /s</userinput></screen> - <para>假设 <devicename>C:</devicename> 盘是您的空闲空间, - <devicename>E:</devicename> 盘是您挂接的 CDROM。</para> + <para>假设 <filename>C:</filename> 盘是您的空闲空间, + <filename>E:</filename> 盘是您挂接的 CDROM。</para> - <para>如果您没有光盘驱动器,您可以从以下网站下载发行包。<ulink - url="ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/&rel.current;-RELEASE/">ftp.FreeBSD.org</ulink>. + <para>如果您没有光盘驱动器,您可以从以下网站下载发行包。<link xlink:href="ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/&rel.current;-RELEASE/">ftp.FreeBSD.org</link>. 每一个发行包都在一个目录中,例如 <emphasis>base</emphasis> - 发行包可以在 <ulink - url="ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/&rel.current;-RELEASE/base/">&rel.current;/base/</ulink> 目录中找到。</para> + 发行包可以在 <link xlink:href="ftp://ftp.FreeBSD.org/pub/FreeBSD/releases/i386/&rel.current;-RELEASE/base/">&rel.current;/base/</link> 目录中找到。</para> <para>对很多发行包来说,如果您希望从 &ms-dos;分区安装的话 (您有足够的空间),安装 <filename>c:\freebsd</filename> — @@ -4451,7 +4413,7 @@ Please press any key to reboot.</screen> MODEM 的 <quote>AT commands</quote>拨号到您的 ISP。 想知道更深入的信息可以参考 <link linkend="userppp">使用手册中的用户级PPP那节</link> 以及 - <ulink url="&url.books.faq;/ppp.html">FAQ</ulink> 。 + <link xlink:href="&url.books.faq;/ppp.html">FAQ</link> 。 如果您有一些问题,可以使用 <command>set log local ...</command> 命令将日志显示在屏幕上。</para> @@ -4481,7 +4443,7 @@ Please press any key to reboot.</screen> <para>为了达到NFS安装的目的,这个服务器必须支持 subdir 加载。 例如,如果您的 FreeBSD &rel.current; 目录存在: <filename>ziggy:/usr/archive/stuff/FreeBSD</filename>,然后 - <hostid>ziggy</hostid> 将必须允许直接挂上 + <systemitem>ziggy</systemitem> 将必须允许直接挂上 <filename>/usr/archive/stuff/FreeBSD</filename>,而不仅仅是 <filename>/usr</filename> 或 <filename>/usr/archive/stuff</filename>。</para> |