Re: [RFH] Partition table recovery

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


Jeffrey V. Merkey wrote:
> Al Boldi 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 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?
>
> One thing NetWare always did was to stamp a copy of the partition table
> at the time a partition was created as the second logical sector (offset
> 1) from the start of a newly created partition. This allowed the disk to
> be scanned for the original (or last) partition table copy.

This is really a good idea, as this would save you the trouble of
reconstructing the table due to older overlapping entries.

Can linux do something like that?


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/