Changeset 040521bc for BOOK/boot


Ignore:
Timestamp:
Sep 22, 2006, 8:30:38 PM (18 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
8953f24
Parents:
5921622
Message:

Sync up with 1.0 Book

Location:
BOOK/boot
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • BOOK/boot/common/changingowner.xml

    r5921622 r040521bc  
    1111  <title>Changing Ownership</title>
    1212
    13   <para os="a">Currently, the <filename class="directory">$CLFS</filename>
     13  <para os="a">Currently, the <filename class="directory">${CLFS}</filename>
    1414  directory and all of its subdirectories  are owned by the user
    1515  <systemitem class="username">clfs</systemitem>, a user that exists only
    16   on the host system. For security reasons, the $CLFS root directory and
     16  on the host system. For security reasons, the ${CLFS} root directory and
    1717  all of it subdirectories should be owned by
    1818  <systemitem class="username">root</systemitem>. Change the ownership
    19   for $CLFS and its subdirectories by running this command:</para>
     19  for ${CLFS} and its subdirectories by running this command:</para>
    2020
    2121<screen os="b"><userinput>chown -Rv root:root ${CLFS}</userinput></screen>
  • BOOK/boot/common/devices.xml

    r5921622 r040521bc  
    2121      <para>The commands in the remainder of the book should be run as
    2222      the <systemitem class="username">root</systemitem> user. Also,
    23       double-check that $CLFS is set as
     23      double-check that ${CLFS} is set as
    2424      <systemitem class="username">root</systemitem>.</para>
    2525    </note>
  • BOOK/boot/common/introduction.xml

    r5921622 r040521bc  
    1717  <para>There are a few additional packages that will need to be
    1818  installed to allow you to boot the minimal system. Some of these
    19   packages will be installed onto the root or in /usr on the CLFS
    20   partition ($CLFS/bin, $CLFS/usr/lib, etc...), rather than /tools, using the
     19  packages will be installed onto root or in /usr on the CLFS
     20  partition (${CLFS}/bin, ${CLFS}/usr/bin, etc...), rather than /tools, using the
    2121  "DESTDIR" option with make. This will require the
    2222  <systemitem class="username">clfs</systemitem> user to have write access to
    23   the rest of the $CLFS partition, so you will need to temporarily change the
    24   ownership of $CLFS to the <systemitem class="username">clfs</systemitem> user.
     23  the rest of the CLFS partition, so you will need to temporarily change the
     24  ownership of ${CLFS} to the <systemitem class="username">clfs</systemitem> user.
    2525  Run the following command as <systemitem
    2626  class="username">root</systemitem>:</para>
    2727
    28 <screen><userinput>chown -v clfs $CLFS</userinput></screen>
     28<screen><userinput>chown -v clfs ${CLFS}</userinput></screen>
    2929
    3030</sect1>
  • BOOK/boot/mips64-64/flags.xml

    r5921622 r040521bc  
    1111  <title>Build Flags</title>
    1212
    13   <para>We will need to copy our BUILD Variables into our new system. So when
    14   we boot-up they will be there:</para>
     13  <para>We will need to copy our build variables into our new system:</para>
    1514
    1615<screen><userinput>echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ${CLFS}/root/.bash_profile</userinput></screen>
  • BOOK/boot/mips64/flags.xml

    r5921622 r040521bc  
    1111  <title>Build Flags</title>
    1212
    13   <para>We will need to copy our BUILD Variables into our new system. So when
    14   we boot-up they will be there:</para>
     13  <para>We will need to copy our build variables into our new system:</para>
    1514
    1615<screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ${CLFS}/root/.bash_profile
  • BOOK/boot/multilib/udev.xml

    r5921622 r040521bc  
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen os="b"><userinput>make CROSS_COMPILE="${CLFS_TARGET}-" CC="${CC} ${BUILD64}" LD="${CC} ${BUILD64}" \
    30         udevdir=/dev</userinput></screen>
     29<screen os="b"><userinput>make CROSS_COMPILE="${CLFS_TARGET}-" CC="${CC} ${BUILD64}" \
     30    LD="${CC} ${BUILD64}"</userinput></screen>
    3131
    3232    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  • BOOK/boot/sparc64-64/flags.xml

    r5921622 r040521bc  
    1111  <title>Build Flags</title>
    1212
    13   <para>We will need to copy our BUILD Variables into our new system. So when
    14   we boot-up they will be there:</para>
     13  <para>We will need to copy our build variables into our new system:</para>
    1514
    1615<screen><userinput>echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ${CLFS}/root/.bash_profile</userinput></screen>
  • BOOK/boot/sparc64/flags.xml

    r5921622 r040521bc  
    1111  <title>Build Flags</title>
    1212
    13   <para>We will need to copy our BUILD Variables into our new system. So when
    14   we boot-up they will be there:</para>
     13  <para>We will need to copy our build variables into our new system:</para>
    1514
    1615<screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ${CLFS}/root/.bash_profile
  • BOOK/boot/x86/grub-build.xml

    r5921622 r040521bc  
    5656<screen os="ab"><userinput>make DESTDIR=${CLFS} install
    5757mkdir -v ${CLFS}/boot/grub
    58 cp -v ${CLFS}/usr/lib/grub/i386-pc/stage{1,2} ${CLFS}/boot/grub</userinput></screen>
     58cp -v ${CLFS}/usr/lib/grub/*/stage{1,2} ${CLFS}/boot/grub</userinput></screen>
    5959
    60     <para os="ac">The <filename class="directory">i386-pc</filename> directory
    61     contains a number of <filename>*stage1_5</filename> files, different
    62     ones for different file systems. Review the files available and copy
    63     the appropriate ones to the <filename
     60    <para os="ac">The directory in
     61    <filename class="directory">${CLFS}/usr/lib/grub</filename> (its name
     62    depends on your arch) contains a number of <filename>*stage1_5</filename>
     63    files, different ones for different file systems. Review the files
     64    available and copy the appropriate ones to the <filename
    6465    class="directory">${CLFS}/boot/grub</filename> directory. Most users will
    6566    copy the <filename>e2fs_stage1_5</filename> and/or
  • BOOK/boot/x86_64-64/flags.xml

    r5921622 r040521bc  
    1111  <title>Build Flags</title>
    1212
    13   <para>We will need to copy our build variables into our new system so that
    14   when we boot-up they will be there:</para>
     13  <para>We will need to copy our build variables into our new system:</para>
    1514
    1615<screen><userinput>echo export BUILD64=\""${BUILD64}\"" &gt;&gt; ${CLFS}/root/.bash_profile</userinput></screen>
  • BOOK/boot/x86_64/flags.xml

    r5921622 r040521bc  
    1111  <title>Build Flags</title>
    1212
    13   <para>We will need to copy our BUILD Variables into our new system. So when
    14   we boot-up they will be there:</para>
     13  <para>We will need to copy our build variables into our new system:</para>
    1514
    1615<screen><userinput>echo export BUILD32=\""${BUILD32}\"" &gt;&gt; ${CLFS}/root/.bash_profile
  • BOOK/boot/x86_64/grub-build.xml

    r5921622 r040521bc  
    6262    xpointer="xpointer(//*[@os='f'])"/>
    6363
    64 <screen os="ab"><userinput>make DESTDIR=${CLFS} install
    65 mkdir -v ${CLFS}/boot/grub
    66 cp -v ${CLFS}/usr/lib/grub/x86_64-pc/stage{1,2} ${CLFS}/boot/grub</userinput></screen>
     64    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     65    href="../x86/grub-build.xml"
     66    xpointer="xpointer(//*[@os='ab'])"/>
    6767
    6868    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    69     href="../../final-system/x86_64/grub.xml"
    70     xpointer="xpointer(//*[@os='i'])"/>
     69    href="../x86/grub-build.xml"
     70    xpointer="xpointer(//*[@os='ac'])"/>
    7171
    72     <para os="j">The <filename class="directory">x86_64-pc</filename>
    73     directory contains a number of <filename>*stage1_5</filename>
    74     files, different ones for different file systems. Review the files
    75     available and copy the appropriate ones to the <filename
    76     class="directory">${CLFS}/boot/grub</filename> directory. Most
    77     users will copy the <filename>e2fs_stage1_5</filename> and/or
    78     <filename>reiserfs_stage1_5</filename> files.</para>
    7972
    8073  </sect2>
Note: See TracChangeset for help on using the changeset viewer.