Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: John Reiser <jreiser@BitWagon.com>
Subject: Re: RedHat installer mess...
Date: Tue, 11 Feb 2003 15:48:36 -0800	[thread overview]
Message-ID: <3E498BD4.40107@BitWagon.com> (raw)
In-Reply-To: 3e49708c@news.ColoState.EDU

 >>For each ext2 or ext3 filesystem, see what features it uses:
 >>
 >>tune2fs -l /dev/...   |  grep features
 >
 > I have two partitions that are unfsckable and one that is. They all show
 > Filesystem features:      (none)
 >
 > The only difference is
 > Filesystem revision #:    1 (dynamic) for the failing ones
 > Filesystem revision #:    0 (original) for the untouched one
 > This "Filesystem revision" is not something that seems modificable with
 > tune2fs. Or is it ?

I cannot find a way to change it, either.  Your original message mentioned
an upgrade from RHL5.2 to RHL7.2, which is a jump of two major versions.
Perhaps the release notes for RHL6.x would say something about ext2 changes.
Certainly the 'filetype' and 'sparse_super' features are in RHL7.3.

 >
 >
 >>To revert to ext2, you must remove all features except "filetype" and
 >>"sparse_super".  In particular, the "has_journal" feature is the
 >>difference between ext2 and ext3, and the "dir_index" feature is
 >>new for RHL8.1.  Use
 >>
 >>tune2fs -O ^has_journal /dev/...
 >>tune2fs -O ^dir_index /dev/...    # if needed
 >
 > In my man tune2fs, I don't see this -O option: [snipped]
 >
 >>Then check+repair each filesystem using the newer e2fsck:
 >
 > Hmmm, and where can I find it ?

Use the one on the rescue disk.  On the RHL7.3/base/stage2.img
(which is a 'cramfs' filesystem image that cat be mounted
"mount -o loop stage2.img /mnt/tmp" to look or extract on
someother machine) it is in /usr/sbin/e2fsck .  Rescue mode
mounts stage2.img (or uses it to create a ramfs), so it should
be /usr/sbin/e2fsck in rescue mode, too.

 >
 >
 >>Then boot "linux rescue" from the 1st CD-ROM of the older
 >>distribution, and try to avoid mounting anything.  Check+repair each
 >>filesystem using the older e2fsck.  Then you should have no trouble
 >>from the "has unknown features" part of booting the old system.  [You
 >>may still have trouble if critical files were lost or scribbled, etc.]
 >
 > OK, will try the rescue.




  reply	other threads:[~2003-02-11 23:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-11  3:17 RedHat installer mess Guillaume Dargaud
2003-02-11  5:22 ` David Efflandt
2003-02-11 16:19   ` Guillaume Dargaud
2003-02-11 17:28     ` John Reiser
2003-02-11 21:52       ` Guillaume Dargaud
2003-02-11 23:48         ` John Reiser [this message]
2003-02-11 17:55 ` Michal Jaegermann
2003-02-12  4:12   ` Nico Kadel-Garcia
2003-02-12 18:18     ` Michal Jaegermann
2003-02-12 21:17   ` Guillaume Dargaud
2003-02-13 17:05     ` Michal Jaegermann
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox