Parcourir la source

Add additional information about setting up a separate boot partition.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9708 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Bruce Dubbs il y a 13 ans
Parent
commit
f48e5aa6c8
2 fichiers modifiés avec 13 ajouts et 2 suppressions
  1. 4 0
      chapter01/changelog.xml
  2. 9 2
      chapter08/grub.xml

+ 4 - 0
chapter01/changelog.xml

@@ -40,6 +40,10 @@
     <listitem>
       <para>2012-01-11</para>
       <itemizedlist>
+        <listitem>
+          <para>[bdubbs] - Add clarification to the GRUB configuration about
+          using a separate boot partition. </para>
+        </listitem>
         <listitem>
           <para>[matthew] - Remove Libnl, as it's not actually required by
           IPRoute2 after all. Thanks to Markku Pesonen for the pointer to the

+ 9 - 2
chapter08/grub.xml

@@ -135,18 +135,25 @@ menuentry "GNU/Linux, Linux &linux-version;-lfs-&version;" {
 }</literal>
 EOF</userinput></screen>
 
+    <note><para>From <application>GRUB</application>'s perspective, the
+    kernel files are relative to the partition used.  If you
+    used a separate /boot partition, remove /boot from the above
+    <emphasis>linux</emphasis> line.  You will also need to change the
+    <emphasis>set root</emphasis> line to point to the boot partition.
+    </para></note> 
+
     <para>GRUB is an extremely powerful program and it provides a tremendous
     number of options for booting from a wide variety of devices, operating
     systems, and partition types.  There are also many options for customization 
     such as graphical splash screens, playing sounds, mouse input, etc.  The
     details of these options are beyond the scope of this introduction.</para>
 
-    <note><para>There is a command, <application>grub-mkconfig</application> that
+    <caution><para>There is a command, <application>grub-mkconfig</application>, that
     can write a configuration file automatically.  It uses a set of scripts in
     /etc/grub.d/ and will destroy any customizations that you make.  These scripts
     are designed primarily for non-source distributions and are not recommended for 
     LFS.  If you install a commercial Linux distribution, there is a good chance 
-    that this program will be run.  Be sure to back up your grub.cfg file.</para></note> 
+    that this program will be run.  Be sure to back up your grub.cfg file.</para></caution> 
 
    </sect2>