Re: EXT2 corruption -- After running 2.5.46, my root partition cannot be mounted by older kernels

Theodore Ts'o (tytso@mit.edu)
Wed, 6 Nov 2002 23:13:25 -0500


On Wed, Nov 06, 2002 at 06:34:45PM -0800, Miles Lane wrote:
>
> I am not sure how to diagnose the problem. When I try to boot
> the latest RH 8.0 kernel, I am informed that some unsupported
> extensions are present on /dev/hda12 at boot time. The partition
> fails to mount and the boot process halts.
>
> I have no trouble booting with 2.5.46.

Send the output of dumpe2fs -h to be sure, but it's almost certainly
one of two things:

1) You didn't unmount the filesystem cleanly when you previously
booted a kernel with ext3 compiled in , and your 2.4 kernel has ext3
as a module, but you either don't have an initrd or the initrd doesn't
have the ext3 module in it.

2) You managed to enable a new ext3 feature, such as htree, or
extended attributes which was supported in the newer kernel, but not
in the 2.4 kernel.

(1) tends to be the most likely cause, given the confused users who
ask these sorts of questions on th ext3-users mailing list. As a
result, I've developed a very strong distaste for initrd, and
generally strongly encourage people to compile ext3 and whatever
device drivers you require into the kernel, and to not try to use
initrd. initrd turns out to be a confusing stumbling block for far
too many users.

- Ted
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/