aboutsummaryrefslogtreecommitdiffstats
path: root/chapter02
diff options
context:
space:
mode:
Diffstat (limited to 'chapter02')
-rw-r--r--chapter02/aboutlfs.xml13
-rw-r--r--chapter02/mounting.xml13
2 files changed, 25 insertions, 1 deletions
diff --git a/chapter02/aboutlfs.xml b/chapter02/aboutlfs.xml
index 7193794da..93f885e22 100644
--- a/chapter02/aboutlfs.xml
+++ b/chapter02/aboutlfs.xml
@@ -51,6 +51,17 @@
<filename>/etc/passwd</filename> file for all users that need the
<envar>LFS</envar> variable needs to be bash to ensure that the
<filename>/root/.bash_profile</filename> file is incorporated as a part of
- the login process.</para></note>
+ the login process.</para>
+
+ <para>Another consideration is the method that is used to log into the
+ host system. If logging in through a graphical display manager, the
+ user's <filename>.bash_profile</filename> is not normally used when
+ a virtual terminal is started. In this case, add the export command to
+ the <filename>.bashrc</filename> file for the user and root. In addition,
+ some distributions have instructions to not run the <filename>.bashrc</filename>
+ instructions in a non-interactive bash invocation. Be sure to add the
+ export command before the test for non-interactive use.</para>
+
+ </note>
</sect1>
diff --git a/chapter02/mounting.xml b/chapter02/mounting.xml
index c6f749e66..0a922327f 100644
--- a/chapter02/mounting.xml
+++ b/chapter02/mounting.xml
@@ -45,6 +45,19 @@ mount -v -t ext4 /dev/<replaceable>&lt;yyy&gt;</replaceable> $LFS/usr</userinput
partition. If <option>nosuid</option> and/or <option>nodev</option> are set,
the partition will need to be remounted.</para>
+ <warning><para>The above instructions assume that you will not be restarting
+ your computer throughout the LFS process. If you shut down your system,
+ you will either need to remount the LFS partition each time you restart
+ the build process or modify your host system's /etc/fstab file to automatically
+ remount it upon boot. For example:
+
+<screen role="nodump">/dev/<replaceable>&lt;xxx&gt;</replaceable> /mnt/lfs ext4 defaults 1 1</screen>
+
+ If you use additional optional partitions, be sure to add them also.
+
+ </para></warning>
+
+
<para>If you are using a <systemitem
class="filesystem">swap</systemitem> partition, ensure that it is enabled
using the <command>swapon</command> command:</para>