[YLUG] recovering partition table

Patrick Dupre pd520 at york.ac.uk
Sat Jul 25 13:20:14 UTC 2009


Thank for the advice.

I guess that the partitions are still OK.
I run testdisk
et fdisk gives:
/dev/sdd1               1         305     2449881   82  Linux swap / 
Solaris
/dev/sdd2             306        9726    75674182+   f  W95 Ext'd (LBA)
/dev/sdd5             306         732     3429846   83  Linux
/dev/sdd6             733        1733     8040501   83  Linux
/dev/sdd7            1734        2342     4891761   83  Linux
/dev/sdd8            2343        2953     4907826   83  Linux
/dev/sdd9            2954        3318     2931831   83  Linux
/dev/sdd10           3319        3499     1453851   83  Linux
/dev/sdd11           3500        5900    19286001   83  Linux
/dev/sdd12           5901        6901     8040501   83  Linux
/dev/sdd13           6902        8102     9647001   83  Linux
/dev/sdd14           8103        9726    13044748+  83  Linux

fsck -r /dev/sdd5 gives:

fsck 1.41.4 (27-Jan-2009)
e2fsck 1.41.4 (27-Jan-2009)
fsck.ext2: Superblock invalid, trying backup blocks...
Resize inode not valid.  Recreate? no

/ contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Root inode is not a directory.  Clear? no

Journal is not regular file.  Fix? no

Pass 2: Checking directory structure
Entry '..' in ??? (7953) has deleted/unused inode 2.  Clear? no

Entry '..' in ??? (7953) has an incorrect filetype (was 2, should be 0).
Fix? no

Entry '..' in ??? (7954) has deleted/unused inode 2.  Clear? no

etc................



So, I think that the best would be to make a dd if=/dev/sdd5 of=/tmp/sdd5
(and so on for each partitions), but I failed in dd because I guess
that I am do giving the right count !

Than I could do either a mount of the file (if it recognize the type)
or a fsck of the file ?


-- 
---
==========================================================================
  Patrick DUPRÉ                      |   |
  Department of Chemistry            |   |    Phone: (44)-(0)-1904-434384
  The University of York             |   |    Fax:   (44)-(0)-1904-432516
  Heslington                         |   |
  York YO10 5DD  United Kingdom      |   |    email: pd520 at york.ac.uk
==========================================================================


More information about the York mailing list