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 ?
Signature · 2 lines
Andrey Panin | Embedded systems software developer [email protected] | PGP key: wwwkeys.eu.pgp.net
Quoted 11 lines · Andrey Panin
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