Filewatcher File Search File Search
Content Search
» » » » »


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:

* BeOS filesystem type. * FreeBSD/NetBSD/386BSD disklabel sub-partitioning scheme used on Intel platforms. * Linux second extended filesystem. * MS-DOS FAT12/16/32 "filesystems". * IBM OS/2 High Performance filesystem. * Linux LVM physical volumes (LVM by Heinz Mauelshagen). * 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' journalling filesystem for Linux.

Other types may be added relatively easily, as separately compiled modules.

Package version:0.1h-3


gpart for DEBIAN

Changes made to upstream version for the Debian package:

  -- Install into /sbin and /usr/share/man rather than /usr/local/bin and usr/local/man 

     (I have it install to /sbin, rather than (e.g.) /usr/sbin, because it 
     will be necessary to have it there if you lose or inadvertently
     delete your /usr partition from the partition table, and want to us


   gpart README

   Gpart is a small tool which tries to guess what partitions
   are on a PC type harddisk in case the primary partition table
   was damaged.

   Gpart works by scanning through the device (or file) given on
   the command line on a sector basis. Each guessing module is
   asked if it thinks a file system it knows about could start at
   a given sector. Several file system gues


GPART(8)                                                    GPART(8)

       gpart - guess PC-type hard disk partitions

       gpart [options] device

       Options:   [-b  <backup  MBR>][-C  c,h,s][-c][-d][-E][-e][-f]
       [-g][-h][-i][-K <last-sector>][-k <# of  sectors>]  [-L]  [-l
       <log  file>][-n <increment>] [-q][-s <sector-size>] [-t <mod‐


gpart (0.1h-3) unstable; urgency=low

  * corrected punctuation in package description
    Closes: #


 - New support for the following filesystems: BeOS, QNX 4.x & SGI XFS.
 - Updated Reiser files


TODO.Debian for gpart

create html and info documentation from the man page co


This package was debianized by David L. Coe on
Fri, 28 May 1999 22:49:1

Browse inside gpart_0.1h-3_mips.deb

         [DIR]DEBIAN/ (4)  65535+ mirrors
         [DIR]sbin/ (1)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download gpart_0.1h-3_mips.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017