diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2020-06-09 17:25:59 +0000 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2020-06-09 17:25:59 +0000 |
commit | b99b7d3a6e77c4728dcf9903f71f2e3fdd95daca (patch) | |
tree | 5b35903718400b2a2636ea4af93fc3a8a155c2ff /chapter02/creatingfilesystem.xml | |
parent | 3369724788f1c717723f3c9ae1fe09eb58112689 (diff) |
Update text in cross2 branch Chapter 2.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11912 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter02/creatingfilesystem.xml')
-rw-r--r-- | chapter02/creatingfilesystem.xml | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/chapter02/creatingfilesystem.xml b/chapter02/creatingfilesystem.xml index 4a722efe0..f01b745e9 100644 --- a/chapter02/creatingfilesystem.xml +++ b/chapter02/creatingfilesystem.xml @@ -52,42 +52,9 @@ <screen role="nodump"><userinput>mkfs -v -t ext4 /dev/<replaceable><xxx></replaceable></userinput></screen> -<!-- <para>Replace <replaceable><xxx></replaceable> with the name of the LFS - partition (<filename class="devicefile">sda5</filename> in our previous - example).</para> + partition.</para> - <note> - <para>Some host distributions use custom features in their filesystem - creation tools (E2fsprogs). This can cause problems when booting into your new - LFS in Chapter 9, as those features will not be supported by the LFS-installed - E2fsprogs; you will get an error similar to <quote>unsupported filesystem - features, upgrade your e2fsprogs</quote>. To check if your host system - uses custom enhancements, run the following command:</para> - -<screen role="nodump"><userinput>debugfs -R feature /dev/<replaceable><xxx></replaceable></userinput></screen> - - <para>If the output contains features other than - <option>has_journal</option>, <option>ext_attr</option>, - <option>resize_inode</option>, <option>dir_index</option>, - <option>filetype</option>, <option>sparse_super</option>, - <option>large_file</option> or <option>needs_recovery</option>, then your - host system may have custom enhancements. In that case, to avoid later - problems, you should compile the stock E2fsprogs package and use the - resulting binaries to re-create the filesystem on your LFS partition:</para> - -<screen role="nodump"><userinput>cd /tmp -tar -xzvf /path/to/sources/e2fsprogs-&e2fsprogs-version;.tar.gz -cd e2fsprogs-&e2fsprogs-version; -mkdir -v build -cd build -../configure -make #note that we intentionally don't 'make install' here! -./misc/mke2fs -jv /dev/<replaceable><xxx></replaceable> -cd /tmp -rm -rfv e2fsprogs-&e2fsprogs-version;</userinput></screen> - </note> ---> <para>If you are using an existing <systemitem class="filesystem">swap </systemitem> partition, there is no need to format it. If a new <systemitem class="filesystem"> swap</systemitem> partition was created, |