From 81fd230419b0cfd052b08fc1ed352bb7d49975df Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Sat, 19 Feb 2005 22:16:42 +0000 Subject: Trunk is now identical to Testing git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4648 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter02/mounting.xml | 46 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) (limited to 'chapter02/mounting.xml') diff --git a/chapter02/mounting.xml b/chapter02/mounting.xml index fb31964a7..0ac3f91bf 100644 --- a/chapter02/mounting.xml +++ b/chapter02/mounting.xml @@ -7,6 +7,50 @@ Mounting the New Partition -See testing +Now that a file system has been created, the partition needs to +be made accessible. In order to do this, the partition needs to be +mounted at a chosen mount point. For the purposes of this book, it is +assumed that the file system is mounted under /mnt/lfs, but the directory choice is up +to you. + +Choose a mount point and assign it to the LFS +environment variable by running: + +export LFS=/mnt/lfs + +Next, create the mount point and mount the LFS file system by +running: + +mkdir -p $LFS +mount /dev/[xxx] $LFS + +Replace [xxx] with the designation of the LFS +partition. + +If using multiple partitions for LFS (e.g., one for / and another for /usr), mount them using: + +mkdir -p $LFS +mount /dev/[xxx] $LFS +mkdir $LFS/usr +mount /dev/[yyy] $LFS/usr + +Replace [xxx] and +[yyy] with the appropriate partition +names. + +Ensure that this new partition is not mounted with permissions +that are too restrictive (such as the nosuid, nodev, or noatime +options). Run the mount command without any +parameters to see what options are set for the mounted LFS +partition. If nosuid, nodev, +and/or noatime are set, the partition will need +to be remounted. + +Now that there is an established place to work, it is time to +download the packages. + -- cgit v1.2.3-54-g00ecf