Changeset 54b3fb5 for chapter02


Ignore:
Timestamp:
01/26/2018 08:37:11 PM (6 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
a6fccf3
Parents:
89970f9
Message:

Add warnings about mounting /mnt/lfs and
the export of $LFS if restarting the host system. Add
comments to automate those actions.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11353 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter02
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter02/aboutlfs.xml

    r89970f9 r54b3fb5  
    5252  <envar>LFS</envar> variable needs to be bash to ensure that the
    5353  <filename>/root/.bash_profile</filename> file is incorporated as a part of
    54   the login process.</para></note>
     54  the login process.</para>
     55 
     56  <para>Another consideration is the method that is used to log into the
     57  host system.  If logging in through a graphical display manager, the
     58  user's <filename>.bash_profile</filename> is not normally used when
     59  a virtual terminal is started.  In this case, add the export command to
     60  the <filename>.bashrc</filename> file for the user and root.  In addition,
     61  some distributions have instructions to not run the <filename>.bashrc</filename>
     62  instructions in a non-interactive bash invocation.  Be sure to add the
     63  export command before the test for non-interactive use.</para>
     64 
     65  </note>
    5566
    5667</sect1>
  • chapter02/mounting.xml

    r89970f9 r54b3fb5  
    4646  the partition will need to be remounted.</para>
    4747
     48  <warning><para>The above instructions assume that you will not be restarting
     49  your computer throughout the LFS process.  If you shut down your system,
     50  you will either need to remount the LFS partition each time you restart
     51  the build process or modify your host system's /etc/fstab file to automatically
     52  remount it upon boot.  For example:
     53
     54<screen role="nodump">/dev/<replaceable>&lt;xxx&gt;</replaceable>  /mnt/lfs ext4   defaults      1     1</screen>
     55
     56  If you use additional optional partitions, be sure to add them also.
     57
     58  </para></warning>
     59
     60
    4861  <para>If you are using a <systemitem
    4962  class="filesystem">swap</systemitem> partition, ensure that it is enabled
Note: See TracChangeset for help on using the changeset viewer.