source: BOOK/partitioning/common/mounting.xml@ ca55789

clfs-3.0.0-systemd systemd
Last change on this file since ca55789 was e2ebd22, checked in by Chris Staub <chris@…>, 10 years ago

Use more specific command on mounting page

  • Property mode set to 100644
File size: 2.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-partitioning-mounting">
9 <?dbhtml filename="mounting.html"?>
10
11 <title>Mounting the New Partition</title>
12
13 <para>Now that a file system has been created, the partition needs to
14 be made accessible. In order to do this, the partition needs to be
15 mounted at a chosen mount point.</para>
16
17 <para>If you haven't already, choose a mount point and assign it to the
18 <envar>CLFS</envar> environment variable by running:</para>
19
20<screen><userinput>export CLFS=<replaceable>[/mnt/clfs]</replaceable></userinput></screen>
21
22 <para>Next, create the mount point and mount the CLFS file system by
23 running:</para>
24
25<screen><userinput>mkdir -pv ${CLFS}
26mount -v /dev/<replaceable>[xxx]</replaceable> ${CLFS}</userinput></screen>
27
28 <para>Replace <replaceable>[xxx]</replaceable> with the designation of
29 the CLFS partition.</para>
30
31 <para>If using multiple partitions for CLFS (e.g., one for <filename
32 class="directory">/</filename> and another for <filename
33 class="directory">/usr</filename>), mount them using:</para>
34
35<screen><userinput>mkdir -pv ${CLFS}
36mount -v /dev/<replaceable>[xxx]</replaceable> ${CLFS}
37mkdir -v ${CLFS}/usr
38mount -v /dev/<replaceable>[yyy]</replaceable> ${CLFS}/usr</userinput></screen>
39
40 <para>Replace <replaceable>[xxx]</replaceable> and
41 <replaceable>[yyy]</replaceable> with the appropriate partition
42 names.</para>
43
44 <para>Ensure that this new partition is not mounted with permissions
45 that are too restrictive (such as the <option>nosuid</option>,
46 <option>nodev</option>, or <option>noatime</option> options).
47 Run <command>mount | grep ${CLFS}</command> to see
48 what options are set for the mounted CLFS partition. If
49 <option>nosuid</option>, <option>nodev</option>, and/or
50 <option>noatime</option> are set, the partition will need to be
51 remounted.</para>
52
53 <para>Now that there is an established place to work, it is time to
54 download the packages.</para>
55
56</sect1>
Note: See TracBrowser for help on using the repository browser.