2002-11-04 07:47:25

by Andrey Panin

[permalink] [raw]
Subject: [Q] how to mount ext2 partition accidentally mounted as ext3


Hello all,

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 ?

Best regards.

P.S. Does anyone on this planet owns VISWS datasheets ?

--
Andrey Panin | Embedded systems software developer
[email protected] | PGP key: wwwkeys.eu.pgp.net


Attachments:
(No filename) (816.00 B)
(No filename) (232.00 B)
Download all attachments

2002-11-04 08:16:48

by Andreas Dilger

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

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