Kaynağa Gözat

chapter06: Translate GRUB instruction

Xi Ruoyao 7 yıl önce
ebeveyn
işleme
74cf686133
1 değiştirilmiş dosya ile 38 ekleme ve 41 silme
  1. 38 41
      chapter06/grub.xml

+ 38 - 41
chapter06/grub.xml

@@ -23,7 +23,8 @@
   <sect2 role="package">
   <sect2 role="package">
     <title/>
     <title/>
 
 
-    <para>The GRUB package contains the GRand Unified Bootloader.</para>
+	<para>GRUB 软件包包含 <quote>大统一</quote> (GRand Unified)
+	启动引导器。</para>
 
 
     <segmentedlist>
     <segmentedlist>
       <segtitle>&buildtime;</segtitle>
       <segtitle>&buildtime;</segtitle>
@@ -38,7 +39,7 @@
   </sect2>
   </sect2>
 
 
   <sect2 role="installation">
   <sect2 role="installation">
-    <title>安装GRUB</title>
+    <title>安装 GRUB</title>
 
 
     <para>准备安装 GRUB:</para>
     <para>准备安装 GRUB:</para>
 
 
@@ -49,21 +50,20 @@
             --disable-werror</userinput></screen>
             --disable-werror</userinput></screen>
 
 
     <variablelist>
     <variablelist>
-      <title>The meaning of the new configure options:</title>
+      <title>新的配置选项的含义:</title>
 
 
       <varlistentry>
       <varlistentry>
         <term><parameter>--disable-werror</parameter></term>
         <term><parameter>--disable-werror</parameter></term>
         <listitem>
         <listitem>
-          <para>This allows the build to complete with warnings introduced
-          by more recent Flex versions.</para>
+          <para>该选项允许在有较新的 Flex 版本导致的警告时完成构建。</para>
         </listitem>
         </listitem>
       </varlistentry>
       </varlistentry>
 
 
       <varlistentry>
       <varlistentry>
         <term><parameter>--disable-efiemu</parameter></term>
         <term><parameter>--disable-efiemu</parameter></term>
         <listitem>
         <listitem>
-          <para>This option minimizes what is built by disabling a feature and
-          testing programs not needed for LFS.</para>
+          <para>该选项通过禁用 LFS 不需要的特性和测试程序,
+          最小化需要构建的内容。</para>
         </listitem>
         </listitem>
       </varlistentry>
       </varlistentry>
 
 
@@ -79,8 +79,8 @@
 
 
 <screen><userinput remap="install">make install</userinput></screen>
 <screen><userinput remap="install">make install</userinput></screen>
 
 
-  <para>Using GRUB to make your LFS system bootable will be discussed in
-  <xref linkend="ch-bootable-grub"/>.</para>
+  <para>使用 GRUB 引导您的 LFS 系统的方法将在
+  <xref linkend="ch-bootable-grub"/> 中讨论。</para>
 
 
   </sect2>
   </sect2>
 
 
@@ -100,10 +100,10 @@
             grub-mkpasswd-pbkdf2, grub-mkrelpath,  grub-mkrescue,    grub-mkstandalone,
             grub-mkpasswd-pbkdf2, grub-mkrelpath,  grub-mkrescue,    grub-mkstandalone,
             grub-ofpathname,      grub-probe,      grub-reboot,      grub-render-label, 
             grub-ofpathname,      grub-probe,      grub-reboot,      grub-render-label, 
             grub-script-check,
             grub-script-check,
-            grub-set-default,     grub-sparc64-setup, and grub-syslinux2cfg</seg>
+            grub-set-default,     grub-sparc64-setup, 以及 grub-syslinux2cfg</seg>
 
 
-        <seg>/usr/lib/grub, /etc/grub.d, /usr/share/grub, and boot/grub (when grub-install
-        is first run)</seg>
+        <seg>/usr/lib/grub, /etc/grub.d, /usr/share/grub, 以及 boot/grub (
+        在初次运行 grub-install 时安装)</seg>
       </seglistitem>
       </seglistitem>
     </segmentedlist>
     </segmentedlist>
 
 
@@ -115,7 +115,7 @@
       <varlistentry id="grub-bios-setup">
       <varlistentry id="grub-bios-setup">
         <term><command>grub-bios-setup</command></term>
         <term><command>grub-bios-setup</command></term>
         <listitem>
         <listitem>
-          <para>Is a helper program for grub-install</para>
+          <para>grub-install 使用的辅助程序</para>
           <indexterm zone="ch-system-grub grub-bios-setup">
           <indexterm zone="ch-system-grub grub-bios-setup">
             <primary sortas="b-grub-bios-setup">grub-bios-setup</primary>
             <primary sortas="b-grub-bios-setup">grub-bios-setup</primary>
           </indexterm>
           </indexterm>
@@ -125,7 +125,7 @@
       <varlistentry id="grub-editenv">
       <varlistentry id="grub-editenv">
         <term><command>grub-editenv</command></term>
         <term><command>grub-editenv</command></term>
         <listitem>
         <listitem>
-          <para>A tool to edit the environment block</para>
+          <para>用于编辑环境块的工具</para>
           <indexterm zone="ch-system-grub grub-editenv">
           <indexterm zone="ch-system-grub grub-editenv">
             <primary sortas="b-grub-editenv">grub-editenv</primary>
             <primary sortas="b-grub-editenv">grub-editenv</primary>
           </indexterm>
           </indexterm>
@@ -135,7 +135,7 @@
       <varlistentry id="grub-file">
       <varlistentry id="grub-file">
         <term><command>grub-file</command></term>
         <term><command>grub-file</command></term>
         <listitem>
         <listitem>
-          <para>Checks if FILE is of the specified type.</para>
+          <para>检验文件是否是给定类型</para>
           <indexterm zone="ch-system-grub grub-file">
           <indexterm zone="ch-system-grub grub-file">
             <primary sortas="b-grub-file">grub-file</primary>
             <primary sortas="b-grub-file">grub-file</primary>
           </indexterm>
           </indexterm>
@@ -145,7 +145,7 @@
       <varlistentry id="grub-fstest">
       <varlistentry id="grub-fstest">
         <term><command>grub-fstest</command></term>
         <term><command>grub-fstest</command></term>
         <listitem>
         <listitem>
-          <para>Tool to debug the filesystem driver</para>
+          <para>调试文件系统驱动程序的工具</para>
           <indexterm zone="ch-system-grub grub-fstest">
           <indexterm zone="ch-system-grub grub-fstest">
             <primary sortas="b-grub-fstest">grub-fstest</primary>
             <primary sortas="b-grub-fstest">grub-fstest</primary>
           </indexterm>
           </indexterm>
@@ -155,8 +155,7 @@
       <varlistentry id="grub-glue-efi">
       <varlistentry id="grub-glue-efi">
         <term><command>grub-glue-efi</command></term>
         <term><command>grub-glue-efi</command></term>
         <listitem>
         <listitem>
-          <para>Processes ia32 and amd64 EFI images and glues them
-          according to Apple format.</para>
+          <para>处理 ia32 和 amd64 EFI 镜像,根据 Apple 格式粘合它们</para>
           <indexterm zone="ch-system-grub grub-glue-efi">
           <indexterm zone="ch-system-grub grub-glue-efi">
             <primary sortas="b-grub-glue-efi">grub-glue-efi</primary>
             <primary sortas="b-grub-glue-efi">grub-glue-efi</primary>
           </indexterm>
           </indexterm>
@@ -166,7 +165,7 @@
       <varlistentry id="grub-install">
       <varlistentry id="grub-install">
         <term><command>grub-install</command></term>
         <term><command>grub-install</command></term>
         <listitem>
         <listitem>
-          <para>Install GRUB on your drive</para>
+          <para>在您的驱动器上安装 GRUB</para>
           <indexterm zone="ch-system-grub grub-install">
           <indexterm zone="ch-system-grub grub-install">
             <primary sortas="b-grub-install">grub-install</primary>
             <primary sortas="b-grub-install">grub-install</primary>
           </indexterm>
           </indexterm>
@@ -176,8 +175,7 @@
       <varlistentry id="grub-kbdcomp">
       <varlistentry id="grub-kbdcomp">
         <term><command>grub-kbdcomp</command></term>
         <term><command>grub-kbdcomp</command></term>
         <listitem>
         <listitem>
-          <para>Script that converts an xkb layout into one recognized by
-          GRUB</para>
+          <para>将 xkb 布局转化为 GRUB 能够识别的格式的脚本</para>
           <indexterm zone="ch-system-grub grub-kbdcomp">
           <indexterm zone="ch-system-grub grub-kbdcomp">
             <primary sortas="b-grub-kbdcomp">grub-kbdcomp</primary>
             <primary sortas="b-grub-kbdcomp">grub-kbdcomp</primary>
           </indexterm>
           </indexterm>
@@ -187,7 +185,7 @@
       <varlistentry id="grub-macbless">
       <varlistentry id="grub-macbless">
         <term><command>grub-macbless</command></term>
         <term><command>grub-macbless</command></term>
         <listitem>
         <listitem>
-          <para>Mac-style bless on HFS or HFS+ files</para>
+          <para>Mac 风格的 bless 命令,用于 HFS 或 HFS+ 文件系统</para>
           <indexterm zone="ch-system-grub grub-macbless">
           <indexterm zone="ch-system-grub grub-macbless">
             <primary sortas="b-grub-macbless">grub-macbless</primary>
             <primary sortas="b-grub-macbless">grub-macbless</primary>
           </indexterm>
           </indexterm>
@@ -197,8 +195,8 @@
       <varlistentry id="grub-menulst2cfg">
       <varlistentry id="grub-menulst2cfg">
         <term><command>grub-menulst2cfg</command></term>
         <term><command>grub-menulst2cfg</command></term>
         <listitem>
         <listitem>
-          <para>Converts a GRUB Legacy <filename>menu.lst</filename>
-          into a <filename>grub.cfg</filename> for use with GRUB 2</para>
+          <para>将经典的 GRUB <filename>menu.lst</filename>
+          转化为 <filename>grub.cfg</filename> 以供 GRUB 2 使用</para>
           <indexterm zone="ch-system-grub grub-menulst2cfg">
           <indexterm zone="ch-system-grub grub-menulst2cfg">
             <primary sortas="b-grub-menulst2cfg">grub-menulst2cfg</primary>
             <primary sortas="b-grub-menulst2cfg">grub-menulst2cfg</primary>
           </indexterm>
           </indexterm>
@@ -208,7 +206,7 @@
       <varlistentry id="grub-mkconfig">
       <varlistentry id="grub-mkconfig">
         <term><command>grub-mkconfig</command></term>
         <term><command>grub-mkconfig</command></term>
         <listitem>
         <listitem>
-          <para>Generate a grub config file</para>
+          <para>生成 GRUB 配置文件</para>
           <indexterm zone="ch-system-grub grub-mkconfig">
           <indexterm zone="ch-system-grub grub-mkconfig">
             <primary sortas="b-grub-mkconfig">grub-mkconfig</primary>
             <primary sortas="b-grub-mkconfig">grub-mkconfig</primary>
           </indexterm>
           </indexterm>
@@ -218,7 +216,7 @@
       <varlistentry id="grub-mkimage">
       <varlistentry id="grub-mkimage">
         <term><command>grub-mkimage</command></term>
         <term><command>grub-mkimage</command></term>
         <listitem>
         <listitem>
-          <para>Make a bootable image of GRUB</para>
+          <para>创建 GRUB 可引导镜像</para>
           <indexterm zone="ch-system-grub grub-mkimage">
           <indexterm zone="ch-system-grub grub-mkimage">
             <primary sortas="b-grub-mkimage">grub-mkimage</primary>
             <primary sortas="b-grub-mkimage">grub-mkimage</primary>
           </indexterm>
           </indexterm>
@@ -228,7 +226,7 @@
       <varlistentry id="grub-mklayout">
       <varlistentry id="grub-mklayout">
         <term><command>grub-mklayout</command></term>
         <term><command>grub-mklayout</command></term>
         <listitem>
         <listitem>
-          <para>Generates a GRUB keyboard layout file</para>
+          <para>生成 GRUB 键盘布局文件</para>
           <indexterm zone="ch-system-grub grub-mklayout">
           <indexterm zone="ch-system-grub grub-mklayout">
             <primary sortas="b-grub-mklayout">grub-mklayout</primary>
             <primary sortas="b-grub-mklayout">grub-mklayout</primary>
           </indexterm>
           </indexterm>
@@ -238,7 +236,7 @@
       <varlistentry id="grub-mknetdir">
       <varlistentry id="grub-mknetdir">
         <term><command>grub-mknetdir</command></term>
         <term><command>grub-mknetdir</command></term>
         <listitem>
         <listitem>
-          <para>Prepares a GRUB netboot directory</para>
+          <para>准备 GRUB 网络启动目录</para>
           <indexterm zone="ch-system-grub grub-mknetdir">
           <indexterm zone="ch-system-grub grub-mknetdir">
             <primary sortas="b-grub-mknetdir">grub-mknetdir</primary>
             <primary sortas="b-grub-mknetdir">grub-mknetdir</primary>
           </indexterm>
           </indexterm>
@@ -248,8 +246,7 @@
       <varlistentry id="grub-mkpasswd-pbkdf2">
       <varlistentry id="grub-mkpasswd-pbkdf2">
         <term><command>grub-mkpasswd-pbkdf2</command></term>
         <term><command>grub-mkpasswd-pbkdf2</command></term>
         <listitem>
         <listitem>
-          <para>Generates an encrypted PBKDF2 password for use in the boot
-          menu</para>
+          <para>生成用于引导菜单的加密 PBKDF2 密码</para>
           <indexterm zone="ch-system-grub grub-mkpasswd-pbkdf2">
           <indexterm zone="ch-system-grub grub-mkpasswd-pbkdf2">
             <primary sortas="b-grub-mkpasswd-pbkdf2">grub-mkpasswd-pbkdf2</primary>
             <primary sortas="b-grub-mkpasswd-pbkdf2">grub-mkpasswd-pbkdf2</primary>
           </indexterm>
           </indexterm>
@@ -259,7 +256,7 @@
       <varlistentry id="grub-mkrelpath">
       <varlistentry id="grub-mkrelpath">
         <term><command>grub-mkrelpath</command></term>
         <term><command>grub-mkrelpath</command></term>
         <listitem>
         <listitem>
-          <para>Makes a system pathname relative to its root</para>
+          <para>生成相对于根目录的系统路径名称</para>
           <indexterm zone="ch-system-grub grub-mkrelpath">
           <indexterm zone="ch-system-grub grub-mkrelpath">
             <primary sortas="b-grub-mkrelpath">grub-mkrelpath</primary>
             <primary sortas="b-grub-mkrelpath">grub-mkrelpath</primary>
           </indexterm>
           </indexterm>
@@ -269,7 +266,7 @@
       <varlistentry id="grub-mkrescue">
       <varlistentry id="grub-mkrescue">
         <term><command>grub-mkrescue</command></term>
         <term><command>grub-mkrescue</command></term>
         <listitem>
         <listitem>
-          <para>Make a bootable image of GRUB suitable for a floppy disk or CDROM/DVD</para>
+          <para>为软盘或 CDROM/DVD 创建 GRUB 可引导镜像</para>
           <indexterm zone="ch-system-grub grub-mkrescue">
           <indexterm zone="ch-system-grub grub-mkrescue">
             <primary sortas="b-grub-mkrescue">grub-mkrescue</primary>
             <primary sortas="b-grub-mkrescue">grub-mkrescue</primary>
           </indexterm>
           </indexterm>
@@ -279,7 +276,7 @@
       <varlistentry id="grub-mkstandalone">
       <varlistentry id="grub-mkstandalone">
         <term><command>grub-mkstandalone</command></term>
         <term><command>grub-mkstandalone</command></term>
         <listitem>
         <listitem>
-          <para>Generates a standalone image</para>
+          <para>生成独立(包含所有模块)的镜像</para>
           <indexterm zone="ch-system-grub grub-mkstandalone">
           <indexterm zone="ch-system-grub grub-mkstandalone">
             <primary sortas="b-grub-mkstandalone">grub-mkstandalone</primary>
             <primary sortas="b-grub-mkstandalone">grub-mkstandalone</primary>
           </indexterm>
           </indexterm>
@@ -289,7 +286,7 @@
       <varlistentry id="grub-ofpathname">
       <varlistentry id="grub-ofpathname">
         <term><command>grub-ofpathname</command></term>
         <term><command>grub-ofpathname</command></term>
         <listitem>
         <listitem>
-          <para>Is a helper program that prints the path of a GRUB device</para>
+          <para>打印 GRUB 设备路径的帮助程序</para>
           <indexterm zone="ch-system-grub grub-ofpathname">
           <indexterm zone="ch-system-grub grub-ofpathname">
             <primary sortas="b-grub-ofpathname">grub-ofpathname</primary>
             <primary sortas="b-grub-ofpathname">grub-ofpathname</primary>
           </indexterm>
           </indexterm>
@@ -299,7 +296,7 @@
       <varlistentry id="grub-probe">
       <varlistentry id="grub-probe">
         <term><command>grub-probe</command></term>
         <term><command>grub-probe</command></term>
         <listitem>
         <listitem>
-          <para>Probe device information for a given path or device</para>
+          <para>对给定路径或设备探测信息</para>
           <indexterm zone="ch-system-grub grub-probe">
           <indexterm zone="ch-system-grub grub-probe">
             <primary sortas="b-grub-probe">grub-probe</primary>
             <primary sortas="b-grub-probe">grub-probe</primary>
           </indexterm>
           </indexterm>
@@ -309,7 +306,7 @@
       <varlistentry id="grub-reboot">
       <varlistentry id="grub-reboot">
         <term><command>grub-reboot</command></term>
         <term><command>grub-reboot</command></term>
         <listitem>
         <listitem>
-          <para>Sets the default boot entry for GRUB for the next boot only</para>
+          <para>仅为下次启动设置 GRUB 默认引导项</para>
           <indexterm zone="ch-system-grub grub-reboot">
           <indexterm zone="ch-system-grub grub-reboot">
             <primary sortas="b-grub-reboot">grub-reboot</primary>
             <primary sortas="b-grub-reboot">grub-reboot</primary>
           </indexterm>
           </indexterm>
@@ -319,7 +316,7 @@
       <varlistentry id="grub-render-label">
       <varlistentry id="grub-render-label">
         <term><command>grub-render-label</command></term>
         <term><command>grub-render-label</command></term>
         <listitem>
         <listitem>
-          <para>Render Apple .disk_label for Apple Macs</para>
+          <para>为 Apple Mac 设置 Apple .disk_label</para>
           <indexterm zone="ch-system-grub grub-render-label">
           <indexterm zone="ch-system-grub grub-render-label">
             <primary sortas="b-grub-render-label">grub-render-label</primary>
             <primary sortas="b-grub-render-label">grub-render-label</primary>
           </indexterm>
           </indexterm>
@@ -329,7 +326,7 @@
       <varlistentry id="grub-script-check">
       <varlistentry id="grub-script-check">
         <term><command>grub-script-check</command></term>
         <term><command>grub-script-check</command></term>
         <listitem>
         <listitem>
-          <para>Checks GRUB configuration script for syntax errors</para>
+          <para>在 GRUB 配置脚本中检查语法错误</para>
           <indexterm zone="ch-system-grub grub-script-check">
           <indexterm zone="ch-system-grub grub-script-check">
             <primary sortas="b-grub-script-check">grub-script-check</primary>
             <primary sortas="b-grub-script-check">grub-script-check</primary>
           </indexterm>
           </indexterm>
@@ -339,7 +336,7 @@
       <varlistentry id="grub-set-default">
       <varlistentry id="grub-set-default">
         <term><command>grub-set-default</command></term>
         <term><command>grub-set-default</command></term>
         <listitem>
         <listitem>
-          <para>Sets the default boot entry for GRUB</para>
+          <para>设置 GRUB 默认引导项</para>
           <indexterm zone="ch-system-grub grub-set-default">
           <indexterm zone="ch-system-grub grub-set-default">
             <primary sortas="b-grub-set-default">grub-set-default</primary>
             <primary sortas="b-grub-set-default">grub-set-default</primary>
           </indexterm>
           </indexterm>
@@ -349,7 +346,7 @@
       <varlistentry id="grub-sparc64-setup">
       <varlistentry id="grub-sparc64-setup">
         <term><command>grub-sparc64-setup</command></term>
         <term><command>grub-sparc64-setup</command></term>
         <listitem>
         <listitem>
-          <para>Is a helper program for grub-setup</para>
+          <para>grub-setup 使用的帮助程序</para>
           <indexterm zone="ch-system-grub grub-sparc64-setup">
           <indexterm zone="ch-system-grub grub-sparc64-setup">
             <primary sortas="b-grub-sparc64-setup">grub-setup</primary>
             <primary sortas="b-grub-sparc64-setup">grub-setup</primary>
           </indexterm>
           </indexterm>
@@ -359,7 +356,7 @@
       <varlistentry id="grub-syslinux2cfg">
       <varlistentry id="grub-syslinux2cfg">
         <term><command>grub-syslinux2cfg</command></term>
         <term><command>grub-syslinux2cfg</command></term>
         <listitem>
         <listitem>
-          <para>Transform a syslinux config file into grub.cfg format</para>
+          <para>将 syslinux 配置文件转换为 grub.cfg 格式</para>
           <indexterm zone="ch-system-grub grub-syslinux2cfg">
           <indexterm zone="ch-system-grub grub-syslinux2cfg">
             <primary sortas="b-grub-syslinux2cfg">grub-syslinux2cfg</primary>
             <primary sortas="b-grub-syslinux2cfg">grub-syslinux2cfg</primary>
           </indexterm>
           </indexterm>