Gpart is a tool which tries to guess the primary partition table of a PC-type hard disk in case the primary partition table in sector 0 is damaged, incorrect or deleted.
The guessed table can be written to a file or device.
Supported (guessable) filesystem or partition types:
* DOS/Windows FAT (FAT 12/16/32)
* Linux ext2
* Linux swap partitions versions 0 and 1 (Linux >= v2.2.X)
* Linux LVM physical volume module (LVM by Heinz Mauelshagen)