Re: [RFH] Partition table recovery

From: Al Boldi
Date: Fri Jul 20 2007 - 07:38:42 EST


Dave Young wrote:
> >On 7/20/07, Al Boldi <a1426z@xxxxxxxxx> wrote:
> > As always, a good friend of mine managed to scratch my partion table by
> > cat'ing /dev/full into /dev/sda. I was able to push him out of the way,
> > but
>
> /dev/null ?
>
> > at least the first 100MB are gone. I can probably live without the
> > first partion, but there are many partitions after that, which I hope
> > should easily be recoverable.
> >
> > I tried parted, but it's not working out for me. Does anybody know of a
> > simple partition recovery tool, that would just scan the disk for lost
> > partions?
>
> The best way is to backup you partition table before destroyed.

Very true!

# sfdisk -d

is a real saviour. But make sure you don't save it on the same disk you are
trying to recover.


Thanks!

--
Al

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/