On Sun, Dec 02, 2001 at 01:10:15PM -0600, Joshua b. Jore wrote:
> So I messed up though I haven't decided exactly how yet. The net solution
> I need is to find the start/end of an NTFS5 partition, then a ext2
> partition. Do you folks know of any strings I can search for that indicate
> whether I've found the right place or not? Any automated tools would be
> nice since it's darn timeconsuming otherwise.
gpart - Guess PC disk partition table, find lost partitions
That's from Debian's package list, but I'm sure you could find it on
freshmeat or sourceforge if you're not a debianite.
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:
.
* 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 Graphic's journalling filesystem for Linux.
.
Other types may be added relatively easily, as separately compiled modules.
--
When we reduce our own liberties to stop terrorism, the terrorists
have already won. - reverius
Innocence is no protection when governments go bad. - Tom Swiss