on Tue, Sep 04, 2001 at 05:03:08PM +0200, Stephan Hachinger (Stephan.Hachinger@gmx.de) wrote: > Hello! > > Below you see a copy of the last thread I'm referring to. My HDD and > especially the superblock no.1 is heavily demaged - but I now have managed > to e2fsck the partition using the backup superblock number 32768. Debugfs > /dev/hda2 can also show me the contents of the partition, but "mount -t > ext2 -o sb=32768 /dev/hda2 /mnt" just won't mount it and says "bad magic > number" etc. Can anyone please tell me what I'm missing? Does mount > calculate the superblock offset in another way or should I give up or??? I > need this data desperately as I mentioned. If anyone can help me, thanks > thousand times in advance. Post your followups *after* quoted material. Can't help you on disk forensics, but I *strongly* recommend you image the disk to known good media before you tweak with it. Your debug tools should work on the disk image equally as with the physical disk, with the added bonus that it's not likely to go bad (or worse). $ dd if=<failed disk partition> of=/some/file bs=1024 To mount: $ mkdir -p /mnt/loop $ mount -o loop -t -r ext2fs /some/file /mnt/loop ...will mount the image as a readonly ext2 partition. You still have to find a good superblock, if it exists. There are also disk editors and other tools, though I've no direct experience with them. Cheers. -- Karsten M. Self <kmself@ix.netcom.com> http://kmself.home.netcom.com/ What part of "Gestalt" don't you understand? There is no K5 cabal http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org Free Dmitry! Boycott Adobe! Repeal the DMCA! http://www.freesklyarov.org Geek for Hire http://kmself.home.netcom.com/resume.html
Attachment:
pgpMfOE7MwG9A.pgp
Description: PGP signature