DD zerod MBR and trying to recover the partition table

Using TestDisk to repair the filesystem
Post Reply
Message
Author
beapal
Posts: 1
Joined: 29 Nov 2017, 16:15

DD zerod MBR and trying to recover the partition table

#1 Post by beapal » 29 Nov 2017, 16:26

Hi there,

Can any one help me with my current situation ?

After backuping up HDD MBR with dd, for both 466 and 512 bytes, I purposely write zero to first 466 to get ride mbr so I can install grub2 freshly.

Now it seems all partition table is erased too. I remember that I specifily dd zero to 466 bytes.

Since TestDisk repair MBR, in this case, will it help ?

I have a backup of mbr in one of partition in .img. whats the way to recover that particular backup file to restore the MBR ?

Does TestDisk/Photorec will recover from disk with a partition table ?

Please shed any suggestion, advice or ideas for worst situation.

Regards,
Noorul

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 3808
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: DD zerod MBR and trying to recover the partition table

#2 Post by cgrenier » 29 Nov 2017, 17:00

You have probably confused bytes and sectors when using dd.
Run TestDisk, Analyze, Quick Search. If the partition is still missing, use Deeper Search.
When all partitions are listed, set the partition to recover as P(rimary), L(ogical) or *(bootable).
On next screen, choose Write, confirm, Quit and restart your computer.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests