[lug] partitions restore

rm at mamma.varadinet.de rm at mamma.varadinet.de
Fri Dec 8 04:20:24 MST 2000


On Thu, Dec 07, 2000 at 11:20:38PM -0700, Tkil wrote:
> 
> if you actually wrote a new partition table, you're probably mostly
> hosed; the value of the old ones aren't saved anywhere.  if you've
> written new partitions, then formatted or wrote to the new partitions
> in any way, you're even more likely to be totally out of luck.

Yes, i'm afraid that's true. If this is _really_ important data than
you could start hacking on the device level--here it would help
if you remember the sequence/type of your partitions (i.e. hda1=ext2,
hda2=swap, hda3=ext2 etc.). Most filesystems do have one or more
superblocks that store information about the partition/filesystem.
The trick here is to read that info (i.e. size of the first partition)
and than jump to the first block after that partition and do the same
for the next partition etc. (mount the device ro and save data/partitons
to a scratch disk). You might consider consulting a profesional service,
but be warned: their price can be painfully high (i speak out of ex-
perience here :-(


Ralf 

> on the other hand, if you're just looking for specific data, you can
> use `dd' off the raw disk and grep for the bits of data that are
> important to you.
> 
> t.
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug




More information about the LUG mailing list