Monday, October 4, 2010

Partition Table Accident Update

I found an article at http://salingfamily.net/trav/linux/lost_partition.html about a way to try to recover a lost partition table. The article mentions using gpart, which is a linux utility that tries to guess the original partition table. So I went ahead and installed gpart in my Arch linux box:

sudo pacman -S gpart

The size of the utility is 27.1K so it didn't take long to download and install. Then, after going through the man page, I found out what parameters to use (the article doesn't go into detail as to exactly how to use gpart). I'm currently running:

gpart -W wdpartable /dev/sdf

What this command does is scan my usb hard drive at /dev/sdf and save its findings in the wdpartable file. Looks like it found a possible partition, although the size of it is very small so I don't think it's right. We'll see what else it finds...

No comments: