Recover stupid mistake

Larry Brower larry at maxqe.com
Thu May 27 23:18:51 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Tom H wrote:
> On Thu, May 27, 2010 at 5:00 PM, Aaron Konstam <akonstam at sbcglobal.net>
wrote:
>> On Thu, 2010-05-27 at 08:07 -0500, Bruno Wolff III wrote:
>>> On Thu, May 27, 2010 at 13:32:51 +0100,
>>>   Mike Martin <redtux1 at googlemail.com> wrote:
>>>> Hi when I was trying (and failing) to get a bootable pen-drive, with
>>>> the F13 live image I accidentally did the following
>>>>
>>>> dd if=/dev/zero of=/dev/sdb bs=512 count=1
>>>>
>>>> which returned nearly immediately and now I have no data on the disk.
>>>>
>>>> The disk is 750 gig , of which about 400 is used. I am hoping that
>>>> only the partition table is gone, if not is there any way to recover
>>>> from my disaster
>>> I believe that command just changed the first 512 bytes. If you know how
>>> it was partitioned you can probably get things back by making a new
>>> partition table.
>> The MBR and the partition tablrhave been destroyed. If you know what the
>> partition table looked like fdisk can restore it. Restoring grub might
>> also restore the MBR.
>
> You can try to use gpart to determine the partition boundaries and
> sizes and then use fdisk to restore them.
You may want to try testdisk.

http://www.cgsecurity.org/wiki/TestDisk_Download


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
iQEbBAEBAgAGBQJL/v3bAAoJEBgaXYoZ++87xlQH+LNe5InZxVA8es4mXGN8XoFf
AFCq4lWnpvDLQtq2hNZ+BtJ2p/k6DbDe7Mw5dxEPiKFcKwEq13L9J+xEHk7hBvIG
7c+Bp65qj1Q/nYUzsPrQKt4heDVFrpkd0iSt3FQjRi2drYR9YK13lohbUQw4C9V1
6T64Os4MLYIPnetTIE2mKxOnsInLI5wEOfceoaW9vg+8YyEt/EOXwd3MqI/PM6Q1
cBd8HJCNBYwJ+ykJsZdpbi0a2r24CqQPdXoXu9BgaE1fGXbPNyYFFL0uVxoABisA
cRTjxzDmVSk5tOdtQ0Fijydvcuhb4u2Rb9qx2wnEhCVG8Cwe+LGFPvA3uuyxUA==
=VT84
-----END PGP SIGNATURE-----



More information about the users mailing list