Re: partition table recovery
gpart is packaged for Debian and is in the unstable (potato)
distribution in the admin section:
root@newdebian:~# dpkg -s gpart
Package: gpart
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 62
Maintainer: David L. Coe <david.coe@someotherplace.org>
Version: 0.1e-1
Depends: libc6 (>= 2.1)
Description: Guess PC disk partition table, find lost partitions
Gpart is a tool which tries to guess the primary partition table of a
PC-type disk in case the primary partition table in sector 0 is
damaged, incorrect or deleted.
.
It is also good at finding and listing the types, locations, and
sizes of inadvertently-deleted partitions, both primary and logical.
It gives you the information you need to manually re-create them
(using fdisk, cfdisk, sfdisk, etc.).
.
The guessed table can also be written to a file or (if you firmly
believe the guessed table is entirely correct) directly to a disk
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)
OS/2 HPFS
Windows NTFS
*BSD disklabels
Solaris/x86 disklabels
Minix FS
Reiser FS
LVM physical volumes
.
Other types may be added relatively easily, as separately compiled
modules.
"Jonathan D . Proulx" wrote:
>
> I had a hosed partition table (mixed Linux Windows)that I succesfully
> recovered using gpart.
>
> AFAIK this is not debianized yet, and unfortunately I forget wher I
> got it from :(
>
> If a search doesn't turn it up, I do still have the source and will
> send on request.
>
> HTH,
> Jon
>
Reply to: