lkml.org 
[lkml]   [1999]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: RECOVERY: partition table
	From: Steve Dodd <dirk@loth.demon.co.uk>

On Sun, Jul 11, 1999 at 02:32:29PM -0300, Garst R. Reese wrote:

> It seems like this would be a nice RT option for e2fsck.
> e2fsck --backup-partition-table /dev/fd0

No point.

dd if=/dev/hda of=/dev/fd0 bs=512 count=1

Clearly you think that the partition table lives in the MBR.
But the MBR only describes the primary partitions.
The rest of the partition table (describing the logical partitions)
lives scattered over the disk.

But "/sbin/sfdisk -d /dev/hda > hda.pt" yields a partition
table in readable format that can be restored by sfdisk again.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.036 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site