all options
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Source: gpart  ]

Package: gpart (1:0.3-10 and others)

Links for gpart


Debian Resources:

Download Source Package gpart:


External Resources:

Similar packages:

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.

Currently supported (guessable) filesystem or partition types:

 * BeOS filesystem type.
 * BtrFS filesystem type.
 * FreeBSD/NetBSD/386BSD disklabel sub-partitioning scheme used on Intel
 * Linux second extended filesystem (Ext2).
 * MS-DOS FAT12, FAT16 and FAT32 "filesystems".
 * IBM OS/2 High Performance filesystem.
 * Linux LVM and LVM2 physical volumes.
 * Linux swap partitions (versions 0 and 1).
 * The Minix operating system filesystem type.
 * MS Windows NT/2000 filesystem.
 * QNX 4.x filesystem.
 * The Reiser filesystem (version 3.5.X, X > 11).
 * Sun Solaris on Intel platforms uses a sub-partitioning scheme on PC hard
   disks similar to the BSD disklabels.
 * Silicon Graphics journaled filesystem for Linux.

Gpart is useful in recovery actions and forensics investigations.

Tags: System Administration: System Boot, Data Recovery, Hardware Enablement: Storage, User Interface: interface::commandline, role::program, Scope: Application

Other Packages Related to gpart

  • depends
  • recommends
  • suggests
  • enhances

Download gpart

Download for all available architectures
Architecture Version Package Size Installed Size Files
alpha (unofficial port) 1:0.3-10 36.6 kB96.0 kB [list of files]
amd64 1:0.3-10 35.2 kB76.0 kB [list of files]
arm64 1:0.3-10 34.3 kB95.0 kB [list of files]
armel 1:0.3-10 35.5 kB94.0 kB [list of files]
armhf 1:0.3-10 34.1 kB94.0 kB [list of files]
hppa (unofficial port) 1:0.3-10 39.8 kB83.0 kB [list of files]
i386 1:0.3-10 38.5 kB78.0 kB [list of files]
ia64 (unofficial port) 1:0.3-10 42.8 kB116.0 kB [list of files]
m68k (unofficial port) 1:0.3-10 36.6 kB78.0 kB [list of files]
mips64el 1:0.3-10 36.0 kB99.0 kB [list of files]
ppc64 (unofficial port) 1:0.3-10 36.6 kB96.0 kB [list of files]
ppc64el 1:0.3-10 37.3 kB96.0 kB [list of files]
riscv64 1:0.3-10+b1 36.5 kB73.0 kB [list of files]
s390x 1:0.3-10 35.0 kB79.0 kB [list of files]
sh4 (unofficial port) 1:0.3-10 41.8 kB95.0 kB [list of files]
sparc64 (unofficial port) 1:0.3-10 33.5 kB1,057.0 kB [list of files]
x32 (unofficial port) 1:0.3-10 35.3 kB70.0 kB [list of files]