[YLUG] recovering partition table

Roger Leigh rleigh at codelibre.net
Sat Jul 25 14:00:15 UTC 2009


On Sat, Jul 25, 2009 at 02:46:50PM +0100, Patrick Dupre wrote:
> On Sat, 25 Jul 2009, Roger Leigh wrote:
> 
> >On Sat, Jul 25, 2009 at 02:20:09PM +0100, Patrick Dupre wrote:
> >>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
> >
> >This is meaningless.  That could be correct or incorrect and we
> >could not tell.  It's just a bunch of numbers.  It might be
> >technically correct, but if it changed from your previous setup,
> >then you will have lost your old partitions.
> 
> This should be correct. I did not change any number.
> As I said it has been recovered by testdisk.

So it has been changed... by testdisk.  It is not your original.

It's quite possible testdisk screwed up; recomputing a partition
table is hard and likely error prone.

> It is not easy to explain what I have done, but my understanding is that
> anaconda deleted the partition table which then has been recovered by
> testdisk.

And file -s /dev/sdd* is showing... what, exactly?  Are all the
partitions gone or just this one?

If anaconda blew away your partition table, did it also wipe or
move or otherwise alter any of your partitions when you ran it?
i.e. what did you instruct anaconda to do re: partitioning and
formatting of filesystems?

Did you tell it to format those partitions?  Is there data on there you
need, or can you just repartition the whole disc?


-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://mailman.lug.org.uk/pipermail/york/attachments/20090725/e1ee26a0/attachment.pgp 


More information about the York mailing list