Re: [Q] how to mount ext2 partition accidentally mounted as ext3

Andreas Dilger (adilger@clusterfs.com)
Mon, 4 Nov 2002 01:23:19 -0700


On Nov 04, 2002 10:52 +0300, Andrey Panin wrote:
> Currently I'm working on resurrection of SGI Visual Workstation support
> for 2.5 and some progress was made last week.
> VISWS kernel even mounts root fs now (doesn't matter thet framebuffer driver
> can't draw anything on the screen and uhci-hcd doesn't work :))
>
> But I made one stupid mistake: EXT3 filesystem was enabled in .config file
> used for VISWS kernel compilation. So after the first boot of this kernel,
> I found that old 2.2.10 kernel making my VISWS self hosting can't mount
> root fs complaining about nonsupported filesystem feature.
>
> My question is how can I make this fs mountable by 2.2.10 again ?

You just need to run a modern e2fsck on the filesystem to flush the
journal and clear the "needs_recovery" flag. Alternately mounting
it once with a 2.[45] kernel and do a clean shutdown will do the same.

Cheers, Andreas

--
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert
-
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/