mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-09 23:49:43 +00:00
Clean up grammar / idiom in chapter 2.7 (Mounting the New Partition)
This commit is contained in:
parent
4ca7966259
commit
9011f2d242
@ -10,24 +10,23 @@
|
|||||||
|
|
||||||
<title>Mounting the New Partition</title>
|
<title>Mounting the New Partition</title>
|
||||||
|
|
||||||
<para>Now that a file system has been created, the partition needs to
|
<para>Now that a file system has been created, the partition must
|
||||||
be made accessible. In order to do this, the partition needs to be
|
be mounted so the host system can access it. This book assumes that
|
||||||
mounted at a chosen mount point. For the purposes of this book, it is
|
the file system is mounted at the directory specified by the
|
||||||
assumed that the file system is mounted under the directory specified by the
|
<envar>LFS</envar> environment variable described in the previous section.
|
||||||
<envar>LFS</envar> environment variable as described in the previous section.
|
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>Create the mount point and mount the LFS file system by running:</para>
|
<para>Create the mount point and mount the LFS file system with these commands:</para>
|
||||||
|
|
||||||
<screen role="nodump"><userinput>mkdir -pv $LFS
|
<screen role="nodump"><userinput>mkdir -pv $LFS
|
||||||
mount -v -t ext4 /dev/<replaceable><xxx></replaceable> $LFS</userinput></screen>
|
mount -v -t ext4 /dev/<replaceable><xxx></replaceable> $LFS</userinput></screen>
|
||||||
|
|
||||||
<para>Replace <replaceable><xxx></replaceable> with the designation of the LFS
|
<para>Replace <replaceable><xxx></replaceable> with the name of the LFS
|
||||||
partition.</para>
|
partition.</para>
|
||||||
|
|
||||||
<para>If using multiple partitions for LFS (e.g., one for <filename
|
<para>If you are using multiple partitions for LFS (e.g., one for
|
||||||
class="directory">/</filename> and another for <filename
|
<filename class="directory">/</filename> and another for <filename
|
||||||
class="directory">/home</filename>), mount them using:</para>
|
class="directory">/home</filename>), mount them like this:</para>
|
||||||
|
|
||||||
<screen role="nodump"><userinput>mkdir -pv $LFS
|
<screen role="nodump"><userinput>mkdir -pv $LFS
|
||||||
mount -v -t ext4 /dev/<replaceable><xxx></replaceable> $LFS
|
mount -v -t ext4 /dev/<replaceable><xxx></replaceable> $LFS
|
||||||
@ -43,13 +42,14 @@ mount -v -t ext4 /dev/<replaceable><yyy></replaceable> $LFS/home</userinpu
|
|||||||
<option>nodev</option> options). Run the <command>mount</command> command
|
<option>nodev</option> options). Run the <command>mount</command> command
|
||||||
without any parameters to see what options are set for the mounted LFS
|
without any parameters to see what options are set for the mounted LFS
|
||||||
partition. If <option>nosuid</option> and/or <option>nodev</option> are set,
|
partition. If <option>nosuid</option> and/or <option>nodev</option> are set,
|
||||||
the partition will need to be remounted.</para>
|
the partition must be remounted.</para>
|
||||||
|
|
||||||
<warning><para>The above instructions assume that you will not be restarting
|
<warning><para>The above instructions assume that you will not restart
|
||||||
your computer throughout the LFS process. If you shut down your system,
|
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
|
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
|
the build process, or modify the host system's /etc/fstab file to automatically
|
||||||
remount it upon boot. For example:
|
remount it when you reboot. For example, you might add this line to your
|
||||||
|
/etc/fstab file:
|
||||||
|
|
||||||
<screen role="nodump">/dev/<replaceable><xxx></replaceable> /mnt/lfs ext4 defaults 1 1</screen>
|
<screen role="nodump">/dev/<replaceable><xxx></replaceable> /mnt/lfs ext4 defaults 1 1</screen>
|
||||||
|
|
||||||
@ -67,7 +67,7 @@ mount -v -t ext4 /dev/<replaceable><yyy></replaceable> $LFS/home</userinpu
|
|||||||
<para>Replace <replaceable><zzz></replaceable> with the name of the
|
<para>Replace <replaceable><zzz></replaceable> with the name of the
|
||||||
<systemitem class="filesystem">swap</systemitem> partition.</para>
|
<systemitem class="filesystem">swap</systemitem> partition.</para>
|
||||||
|
|
||||||
<para>Now that there is an established place to work, it is time to
|
<para>Now that the new LFS partition is open for business, it's time to
|
||||||
download the packages.</para>
|
download the packages.</para>
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
Loading…
Reference in New Issue
Block a user