Author: manuel Date: 2005-06-21 13:16:44 -0600 (Tue, 21 Jun 2005) New Revision: 6098
Modified: branches/cross-lfs/BOOK/partitioning/common/creatingfilesystem.xml Log: Text updates ported from trunk. Modified: branches/cross-lfs/BOOK/partitioning/common/creatingfilesystem.xml =================================================================== --- branches/cross-lfs/BOOK/partitioning/common/creatingfilesystem.xml 2005-06-21 18:56:46 UTC (rev 6097) +++ branches/cross-lfs/BOOK/partitioning/common/creatingfilesystem.xml 2005-06-21 19:16:44 UTC (rev 6098) @@ -27,6 +27,36 @@ partition (<filename class="devicefile">hda5</filename> in our previous example).</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, as those features will not be supported by the LFS-installed + E2fsprogs; you will get an error similar to <computeroutput>unsupported + filesystem features, upgrade your e2fsprogs</computeroutput>. To check + if your host system uses custom enhancements, run the following + command:</para> + +<screen><userinput>debugfs -R feature /dev/<replaceable>[xxx]</replaceable></userinput></screen> + + <para>If the output contains features other than: dir_index; filetype; + large_file; resize_inode or sparse_super 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><userinput>cd /tmp +tar xjf /path/to/sources/e2fsprogs-&e2fsprogs-version;.tar.bz2 +cd e2fsprogs-&e2fsprogs-version; +mkdir build +cd build +../configure +make #note that we intentionally don't 'make install' here! +./misc/mke2fs /dev/<replaceable>[xxx]</replaceable> +cd /tmp +rm -rf e2fsprogs-&e2fsprogs-version;</userinput></screen> + + </note> + <para>If a swap partition was created, it will need to be initialized as a swap partition by using the command below. If you are using an existing swap partition, there is no need to format it.</para> -- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
