Przeglądaj źródła

Provided more information about grub configuration.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9122 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs 15 lat temu
rodzic
commit
312e7ddeb4
3 zmienionych plików z 29 dodań i 6 usunięć
  1. 13 2
      chapter01/changelog.xml
  2. 14 2
      chapter08/grub.xml
  3. 2 2
      general.ent

+ 13 - 2
chapter01/changelog.xml

@@ -37,12 +37,23 @@
 
 -->
 
+    <listitem>
+      <para>2009-11-29</para>
+      <itemizedlist>
+        <listitem>
+          <para>[bdubbs] Provided more information about grub
+          configuration.
+          </para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>2009-11-24</para>
       <itemizedlist>
         <listitem>
-          <para>[bdubbs] Separate standards page and rationale page
-          and reformat.  Provided more information about packages
+          <para>[bdubbs] Create separate standards and rationale pages
+          and reformated.  Provided more information about packages
           needed to satisfy LSB.
           </para>
         </listitem>

+ 14 - 2
chapter08/grub.xml

@@ -193,7 +193,11 @@ grub> boot</userinput></screen>
 
     <para>Update the MBR with:</para>
 
-<screen role="nodump"><userinput>grub-setup</userinput></screen>
+<screen role="nodump"><userinput>grub-setup '&lt;DEVICE&gt;'</userinput></screen>
+
+    <para>Change the DEVICE above to your boot disk, normally '(hd0)' or /dev/sda.  
+    If using (hd0) be sure to escape the parentheses with backslashes or single
+    quotes to prevent the shell from interpreting them as a sub-shell.</para>
 
     <para>This program uses the following defaults and are correct if you did not
     deviate from the instructions above:</para>
@@ -203,9 +207,17 @@ grub> boot</userinput></screen>
       <listitem><para>core image  - core.img  </para></listitem>
       <listitem><para>directory   - /boot/grub</para></listitem>
       <listitem><para>device map  - device.map</para></listitem>
-      <listitem><para>root device - guessed   </para></listitem>
+      <listitem><para>default root setting - guessed</para></listitem>
     </itemizedlist>
 
+   <note><para>The root setting is the default value if a 'set root'
+   instruction is not found in grub.cfg.  This is the partition that is
+   searched for the kernel and other supporting files.  It is different from
+   the 'root=' parameter on the 'linux' line in the configuration line.  The
+   later is the partition the kernel mounts as '/'.  In the example grub.cfg
+   above, both values point to /dev/sda2, but if there is a separate boot
+   partition, they will be different.</para></note>
+
    </sect2>
 
 </sect1>

+ 2 - 2
general.ent

@@ -1,5 +1,5 @@
-<!ENTITY version "SVN-20091124">
-<!ENTITY releasedate "November 24, 2009">
+<!ENTITY version "SVN-20091129">
+<!ENTITY releasedate "November 29, 2009">
 <!ENTITY copyrightdate "1999-2009"><!-- jhalfs needs a literal dash, not &ndash; -->
 <!ENTITY milestone "7.0">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->