http://bugs.linuxfromscratch.org/show_bug.cgi?id=1047





------- Additional Comments From [EMAIL PROTECTED]  2005-03-01 04:54 -------
Matt,

  Your welcome, happy to give back what little I can ;)

There's been quite a few fixes\tests\hacks\text over the last few weeks ;)

The only *guaranteed* workaround is to have the user re-compile e2fsprogs from 
stock distribution, (only if their host actually has an issue) and re-create 
the filesystem on the LFS partition using these tools. We would need some 
instructions on how to do this (sample below)

I'd suggest a note in the "Creating your LFS partition" section (after the 
mke2fs /dev/[xxx] paragraph) along the lines of:

=============================

NOTE

Some host distributions use custom enhancements in their filesystem creation 
tools (e2fsprogs). If this is the case for your host distribution, you won't 
know about it until you attempt to boot into your new LFS in Chapter 9, when 
you will get an error similar to "unsupported filesystem features, upgrade your 
e2fsprogs". To check if your host system uses custom enhancements, run the 
following command:

tune2fs -l /dev/[xxx] | grep features
(where [xxx] is the LFS partition - hda5 in our previous example).

If the output contains features other than the following:

Filesystem features:      filetype sparse_super resize_inode large_file

then your host system may have these custom enhancements. In that case, to 
avoid later problems, you should download and install into a temporary 
directory the stock e2fsprogs and use the resulting binaries to re-create the 
filesystem on your LFS partition.

For example

cd /tmp
tar xjf ${SOURCES}/e2fsprogs-1.36.tar.bz2
cd e2fsprogs-1.36
mkdir build
cd build
../configure --prefix=/opt/dummy
make
(Do NOT run make install - we can run the mke2fs binary directly from the build 
directory)
misc/mke2fs /dev/[xxx] (where XXX is the name of the LFS parition - hda5 in our 
previous example).
cd /tmp
rm -rf e2fsprogs-1.36

=====================

As always, feel free to reword as needed. It may make sense to only build 
mke2fs and dependent libs - I'll leave that as an exercise for the editors if 
they so choose ;)

Note also that if this or something like it is included, it will need to be 
updated\tested whenever we change our version of e2fsprogs.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to