From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9b51,6075fd5edd839760 X-Google-Attributes: gidf9b51,public X-Google-Thread: 111c93,6075fd5edd839760 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2003-02-11 16:06:51 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!enews4 From: John Reiser Newsgroups: comp.os.linux.setup,comp.os.linux.alpha Subject: Re: RedHat installer mess... Date: Tue, 11 Feb 2003 15:48:36 -0800 Organization: - Message-ID: <3E498BD4.40107@BitWagon.com> References: <3e486b63@news.ColoState.EDU> <3e492292@news.ColoState.EDU> <3E4932C7.3040002@BitWagon.com> <3e49708c@news.ColoState.EDU> NNTP-Posting-Host: p-522.newsdawg.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529 X-Accept-Language: en-us, en Xref: archiver1.google.com comp.os.linux.setup:84676 comp.os.linux.alpha:7189 >>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.