sameer wrote:
I had faced a similar problem long ago ... the documentation for the disktools (I do not remember which one) does mention the most likely
number
to use for the alternate superblock, and it works under most systems ...
true, I have read that too. But its only a guide. U still have to "play" around with the numbers. take this for e.g. ( from: LINUX (UNIX) Unleashed, System Administrator's Edition ) these are given as an e.g.
8193,16385,24577,32769,40961,49153,57345,65537,73729.......
-- None of these worked... what worked for me was 32768.
Just installed Debian .. the second backup block for me starts @ 32768. Next is 65536. .. nothing in between. I had found another document that states try starting from 32767 and in multiples thereof.
Vinay Pai wrote: superblocks should be documented somewhere. If not, it shouldn't be too hard to look at the source of mke2fs to determine it.
that _might_ be possible... havent found any available program to determine the same. Would be interesting. Maybe we should have a go @ writing such a program.... it could be useful.
C'ya Erle.