Changeset 675606b for chapter02/creatingfilesystem.xml
- Timestamp:
- 06/16/2020 11:56:28 AM (4 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, 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:
- 9a05e45
- Parents:
- 560065f (diff), 1cd5961 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter02/creatingfilesystem.xml
r560065f r675606b 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.