aboutsummaryrefslogtreecommitdiffstats
path: root/chapter02/creatingfilesystem.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter02/creatingfilesystem.xml')
-rw-r--r--chapter02/creatingfilesystem.xml35
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>&lt;xxx&gt;</replaceable></userinput></screen>
-<!--
<para>Replace <replaceable>&lt;xxx&gt;</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&nbsp;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>&lt;xxx&gt;</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>&lt;xxx&gt;</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,