diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-02-15 15:26:52 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2001-02-15 15:26:52 +0000 |
commit | b08f4096533577934b885fa9df41d3881d141612 (patch) | |
tree | 8e5ffc0ba65ac34d97cd6a896d33b85a897a6da8 /chapter03/mounting.xml | |
parent | ad08014624938a3a3bfd1b44e8b27d02c7b06dd8 (diff) |
Initial XML commit
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@174 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter03/mounting.xml')
-rw-r--r-- | chapter03/mounting.xml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/chapter03/mounting.xml b/chapter03/mounting.xml new file mode 100644 index 000000000..00b836156 --- /dev/null +++ b/chapter03/mounting.xml @@ -0,0 +1,47 @@ +<sect1 id="ch04-mountingpart"> +<title>Mounting the new partition</title> + +<para> +Now that we have created the ext2 file system, it is ready for use. All we have +to do to be able to access it (as in reading from and writing date to it) is +mounting it. If you mount it under /mnt/lfs, you can access this partition +by going to the /mnt/lfs directory and then do whatever you need to do. This +book will assume that you have mounted the partition on a subdirectory +under /mnt. It doesn't matter which directory you choose, just make sure +you remember what you chose. +</para> + +<para> +Create the /mnt/lfs directory by runnning: +</para> + +<blockquote><literallayout> + + <userinput>mkdir -p /mnt/lfs</userinput> + +</literallayout></blockquote> + +<para> +Now mount the LFS partition by running: +</para> + +<blockquote><literallayout> + + <userinput>mount /dev/xxx /mnt/lfs</userinput> + +</literallayout></blockquote> + +<para> +Replace <quote>xxx</quote> by your partition's designation. +</para> + +<para> +This directory (/mnt/lfs) is the $LFS variable you have read about earlier. +So if you read somewhere to "cp inittab $LFS/etc" you actually will type +<quote>cp inittab /mnt/lfs/etc</quote>. Or if you want to use the $LFS +environment variable, execute <userinput>export LFS=/mnt/lfs</userinput> +now. +</para> + +</sect1> + |