- Timestamp:
- 09/29/2005 08:55:40 PM (19 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 2f1cb7d
- Parents:
- 8c68add
- Location:
- chapter02
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter02/creatingfilesystem.xml
r8c68add r5998892 18 18 <para>To create an ext2 file system on the LFS partition, run the following:</para> 19 19 20 <screen role="nodump"><userinput>mke2fs /dev/<replaceable>[xxx]</replaceable></userinput></screen>20 <screen role="nodump"><userinput>mke2fs -v /dev/<replaceable>[xxx]</replaceable></userinput></screen> 21 21 22 22 <para>Replace <replaceable>[xxx]</replaceable> with the name of the LFS … … 39 39 40 40 <screen role="nodump"><userinput>cd /tmp 41 tar xjf /path/to/sources/e2fsprogs-&e2fsprogs-version;.tar.bz241 tar -xjvf /path/to/sources/e2fsprogs-&e2fsprogs-version;.tar.bz2 42 42 cd e2fsprogs-&e2fsprogs-version; 43 mkdir build43 mkdir -v build 44 44 cd build 45 45 ../configure 46 46 make #note that we intentionally don't 'make install' here! 47 ./misc/mke2fs /dev/<replaceable>[xxx]</replaceable>47 ./misc/mke2fs -v /dev/<replaceable>[xxx]</replaceable> 48 48 cd /tmp 49 rm -rf e2fsprogs-&e2fsprogs-version;</userinput></screen>49 rm -rfv e2fsprogs-&e2fsprogs-version;</userinput></screen> 50 50 </note> 51 51 … … 54 54 no need to format it.</para> 55 55 56 <screen role="nodump"><userinput>mkswap /dev/<replaceable>[yyy]</replaceable></userinput></screen>56 <screen role="nodump"><userinput>mkswap -v /dev/<replaceable>[yyy]</replaceable></userinput></screen> 57 57 58 58 <para>Replace <replaceable>[yyy]</replaceable> with the name of the swap -
chapter02/mounting.xml
r8c68add r5998892 23 23 running:</para> 24 24 25 <screen role="nodump"><userinput>mkdir -p $LFS26 mount /dev/<replaceable>[xxx]</replaceable> $LFS</userinput></screen>25 <screen role="nodump"><userinput>mkdir -pv $LFS 26 mount -v /dev/<replaceable>[xxx]</replaceable> $LFS</userinput></screen> 27 27 28 28 <para>Replace <replaceable>[xxx]</replaceable> with the designation of the LFS … … 33 33 class="directory">/usr</filename>), mount them using:</para> 34 34 35 <screen role="nodump"><userinput>mkdir -p $LFS36 mount /dev/<replaceable>[xxx]</replaceable> $LFS37 mkdir $LFS/usr38 mount /dev/<replaceable>[yyy]</replaceable> $LFS/usr</userinput></screen>35 <screen role="nodump"><userinput>mkdir -pv $LFS 36 mount -v /dev/<replaceable>[xxx]</replaceable> $LFS 37 mkdir -v $LFS/usr 38 mount -v /dev/<replaceable>[yyy]</replaceable> $LFS/usr</userinput></screen> 39 39 40 40 <para>Replace <replaceable>[xxx]</replaceable> and
Note:
See TracChangeset
for help on using the changeset viewer.