Changeset 6dfcfecc for chapter02/creatingfilesystem.xml
- Timestamp:
- 03/31/2021 10:41:39 AM (3 years ago)
- Branches:
- ml-11.0, multilib, xry111/multilib
- Children:
- 7610848
- Parents:
- 811b5a39
- git-author:
- Thomas Trepl <thomas@…> (06/29/2020 07:55:01 AM)
- git-committer:
- Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:39 AM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter02/creatingfilesystem.xml
r811b5a39 r6dfcfecc 53 53 <screen role="nodump"><userinput>mkfs -v -t ext4 /dev/<replaceable><xxx></replaceable></userinput></screen> 54 54 55 <!--56 55 <para>Replace <replaceable><xxx></replaceable> with the name of the LFS 57 partition (<filename class="devicefile">sda5</filename> in our previous 58 example).</para> 56 partition.</para> 59 57 60 <note>61 <para>Some host distributions use custom features in their filesystem62 creation tools (E2fsprogs). This can cause problems when booting into your new63 LFS in Chapter 9, as those features will not be supported by the LFS-installed64 E2fsprogs; you will get an error similar to <quote>unsupported filesystem65 features, upgrade your e2fsprogs</quote>. To check if your host system66 uses custom enhancements, run the following command:</para>67 68 <screen role="nodump"><userinput>debugfs -R feature /dev/<replaceable><xxx></replaceable></userinput></screen>69 70 <para>If the output contains features other than71 <option>has_journal</option>, <option>ext_attr</option>,72 <option>resize_inode</option>, <option>dir_index</option>,73 <option>filetype</option>, <option>sparse_super</option>,74 <option>large_file</option> or <option>needs_recovery</option>, then your75 host system may have custom enhancements. In that case, to avoid later76 problems, you should compile the stock E2fsprogs package and use the77 resulting binaries to re-create the filesystem on your LFS partition:</para>78 79 <screen role="nodump"><userinput>cd /tmp80 tar -xzvf /path/to/sources/e2fsprogs-&e2fsprogs-version;.tar.gz81 cd e2fsprogs-&e2fsprogs-version;82 mkdir -v build83 cd build84 ../configure85 make #note that we intentionally don't 'make install' here!86 ./misc/mke2fs -jv /dev/<replaceable><xxx></replaceable>87 cd /tmp88 rm -rfv e2fsprogs-&e2fsprogs-version;</userinput></screen>89 </note>90 -->91 58 <para>If you are using an existing <systemitem class="filesystem">swap 92 59 </systemitem> partition, there is no need to format it. If a new
Note:
See TracChangeset
for help on using the changeset viewer.