Saturday, 1 June 2013

dd restore image to HDD (having issues)

dd restore image to HDD (having issues)

I had made a complete image (at least I think I have) using dd if=/dev/sda of=/mnt/sda.img bs=32M where mnt is an external HD I use.
I came to restore that image this morning, so I booted up on a live USB and mounted the external HD and ran dd if=/mnt/sda.img of=/dev/sda bs=32M, I rebooted and it transpires that drive is missing it's MBR and partition table. I tried writing to the disk again with a much smaller blocksize, I think about 64k, however that made no difference.
Have I somehow failed to backup the whole disk? (i.e. have a lost the MBR?)
I ran file on sda.img and it identifies it as ext4 data.

No comments:

Post a Comment