- Timestamp:
- 10/15/2005 05:22:01 PM (19 years ago)
- Branches:
- 6.1.1
- Children:
- 5473c666
- Parents:
- e9f3e85
- Location:
- chapter02
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter02/creatingfilesystem.xml
re9f3e85 r1ec69ac5 19 19 <para>To create an ext2 file system on the LFS partition, run the following:</para> 20 20 21 <screen ><userinput>mke2fs /dev/<replaceable>[xxx]</replaceable></userinput></screen>21 <screen role="nodump"><userinput>mke2fs /dev/<replaceable>[xxx]</replaceable></userinput></screen> 22 22 23 23 <para>Replace <replaceable>[xxx]</replaceable> with the name of the LFS … … 31 31 uses custom enhancements, run the following command:</para> 32 32 33 <screen ><userinput>debugfs -R feature /dev/<replaceable>[xxx]</replaceable></userinput></screen>33 <screen role="nodump"><userinput>debugfs -R feature /dev/<replaceable>[xxx]</replaceable></userinput></screen> 34 34 35 35 <para>If the output contains features other than: dir_index; filetype; … … 39 39 filesystem on your LFS partition:</para> 40 40 41 <screen ><userinput>cd /tmp41 <screen role="nodump"><userinput>cd /tmp 42 42 tar xjf /path/to/sources/e2fsprogs-&e2fsprogs-version;.tar.bz2 43 43 cd e2fsprogs-&e2fsprogs-version; … … 55 55 no need to format it.</para> 56 56 57 <screen ><userinput>mkswap /dev/<replaceable>[yyy]</replaceable></userinput></screen>57 <screen role="nodump"><userinput>mkswap /dev/<replaceable>[yyy]</replaceable></userinput></screen> 58 58 59 59 <para>Replace <replaceable>[yyy]</replaceable> with the name of the swap -
chapter02/mounting.xml
re9f3e85 r1ec69ac5 18 18 environment variable by running:</para> 19 19 20 <screen ><userinput>export LFS=/mnt/lfs</userinput></screen>20 <screen role="nodump"><userinput>export LFS=/mnt/lfs</userinput></screen> 21 21 22 22 <para>Next, create the mount point and mount the LFS file system by 23 23 running:</para> 24 24 25 <screen ><userinput>mkdir -p $LFS25 <screen role="nodump"><userinput>mkdir -p $LFS 26 26 mount /dev/<replaceable>[xxx]</replaceable> $LFS</userinput></screen> 27 27 … … 33 33 class="directory">/usr</filename>), mount them using:</para> 34 34 35 <screen ><userinput>mkdir -p $LFS35 <screen role="nodump"><userinput>mkdir -p $LFS 36 36 mount /dev/<replaceable>[xxx]</replaceable> $LFS 37 37 mkdir $LFS/usr
Note:
See TracChangeset
for help on using the changeset viewer.