Nailed it!! I could not use testdisk because it scans for physical drives for filesystems. I instead copied the filesystem to a single file in my current harddisk using ddrescue and needed to fsck that. However, I used to have a one year old backup (which was missing a lot of data but had the same filesystem anyway because it was created using dd). So I used dumpe2fs on that old backup to find out the backup superblocks and used fsck with that. That did the trick. I almost got everything back. :)
-- Mailing list guidelines and other related articles: http://lug-iitd.org/Footer
