diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2018-01-26 20:37:11 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2018-01-26 20:37:11 +0000 |
commit | 54b3fb5e8c05dbbdddd683ad0af9b03bfb9f2f38 (patch) | |
tree | 6380e507540cd71147f64941a24b74878627ac20 /chapter02/mounting.xml | |
parent | 89970f9a7c1da12d1e823170f73577fbf4d72fe7 (diff) |
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
Diffstat (limited to 'chapter02/mounting.xml')
-rw-r--r-- | chapter02/mounting.xml | 13 |
1 files changed, 13 insertions, 0 deletions
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><yyy></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><xxx></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> |