Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter10/grub.xml

    rb55efcb r3d7b4f6  
    7777    is /boot/grub/.</para>
    7878
    79     <para>For the following example, it is assumed that the root
    80     partition is <filename class="partition">sda3</filename>, and the
    81     seperate boot partition is
    82     <filename class="partition">sda2</filename>.  Replace
    83     <replaceable>sda</replaceable> to the name of the device node for your
    84     disk where LFS is being built.</para>
     79    <para>The location of the boot partition is a choice of the user that
     80    affects the configuration.  One recommendation is to have a separate small
     81    (suggested size is 200 MB) partition just for boot information.  That way
     82    each build, whether LFS or some commercial distro, can access the same boot
     83    files and access can be made from any booted system.  If you choose to do
     84    this, you will need to mount the separate partition, move all files in the
     85    current <filename class="directory">/boot</filename> directory (e.g. the
     86    linux kernel you just built in the previous section) to the new partition.
     87    You will then need to unmount the partition and remount it as <filename
     88    class="directory">/boot</filename>.  If you do this, be sure to update
     89    <filename>/etc/fstab</filename>.</para>
     90
     91    <para>Using the current lfs partition will also work, but configuration
     92    for multiple systems is more difficult.</para>
     93
     94    <para>Using the above information, determine the appropriate
     95    designator for the root partition (or boot partition, if a separate
     96    one is used). For the following example, it is assumed that the root
     97    (or separate boot) partition is <filename
     98    class="partition">sda2</filename>.</para>
    8599
    86100    <para>Install the GRUB files into <filename
     
    131145
    132146menuentry "GNU/Linux, Linux &linux-version;-lfs-&version;" {
    133         linux   /vmlinuz-&linux-version;-lfs-&version; root=/dev/sda3 ro
     147        linux   /boot/vmlinuz-&linux-version;-lfs-&version; root=/dev/sda2 ro
    134148}</literal>
    135149EOF</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.