Needed: Program to backup/restore partition table

Needed: Program to backup/restore partition table

Post by Jeremy Mathe » Fri, 23 May 1997 04:00:00



Background:
        1) Recently, the partition table on my wife's hard drive disappeared.
           Net result: Lost all of her data - but hard drive is physically OK.
           Machine had 3 partitions: 1 primary with DOS 6.22, 1 primary with
           Win 95, and 1 extended (shared, D: in both environments).

        2) We assume we're SOL this time around, but think it would be a
           good idea to prepare in future.  Seems like Linux is well suited
           to this, because it should some fairly simple dd command,
           pointing at the /dev/hda raw device.

        3) Even though this request has nothing to do with Linux per se, as
           I said above, I think a Linux solution may well present itself.
           I'm thinking something similar to the solution given to the
           perennial "How do I remove LILO from my hard disk?", which is:
           dd if=/dev/zero of=/dev/hda ibs=512 count=1

Anyway, we tried just using FDISK to put back the first partition, but, as
you'd expect, it came back as an unformatted partition.  Is there anyway to
make it back into a formatted one???  As I said, we expect we are SOL this
time, but would like to be able to make a backup of parition table in future
in case this happens again.  Thanks in advance...

************************************************************************
As Zeus said to Narcissus, "Watch yourself."


          hundreds, if not thousands, of dollars, every time he posts -
************************************************************************
rwvpf wpnrrj ibf ijrfer

 
 
 

1. C programming Error : Assertion failed: table->edgeH == VL_EDGE_NO_WRITE || table->edgeH == VL_EDGE_ZERO_FILL || table ?

Hi !

Is there anyone who got the error message below ?

===
Assertion failed: table->edgeH == VL_EDGE_NO_WRITE || table->edgeH == VL_EDGE_ZERO_FILL || table->edgeH == VL_EDGE_EXTEND, file vis_resample.c, line 2413
Abort

===

It looks very curious to me.
Any comment will be very appreciated.

Best regards,
Jo, SanKu

2. Message of the Day

3. Help: Restoring my partition table on a EIDE disk

4. how do you troubleshoot

5. Restoring the partition table

6. Alt-tab broken in 1.1pre2?

7. Restoring Partition Table

8. What type of SCSI drives can be hooked up to a Sparc IPC?

9. Restoring DOS partition table with linux?

10. Restore corrupted partition table

11. restore partition-table

12. How to restore a thrashed MBR & partition table [Linux/W95/PM3.0]

13. I'm back!!! :-) Partition table restored.