howdy all,
one of my users turned up with a very dead ntfs partition on a failing drive. I need to try to recover some files off it, but the partition is in pretty bad shape.
I made an image of the affected drive with
Code:
dd if=/dev/sdd1 of=/media/external_disk/backup.iso conv=noerrors
(I know, it's not actually an ISO but I hate not having extensions.)
so now that I have an image, i want to write it out to another hdd, but that is where i'm getting stuck.
I've tried using dd to write it to /dev/sdc (just another hdd) with:
Code:
sudo dd if=/media/external_disk/backup.iso of=/dev/sdc
but after writing it failed to mount (mount said volume did not have partition table, after writing the image).
I created a partition table and a single partition (larger than the source one) as an unformatted type on sdc and , with
Code:
sudo dd if=/media/external_disk/backup.iso of=/dev/sdc1
tried to write it off again, but I got a message that it does not recognize the partition on the drive as NTFS. fdisk says the type is "Linux"
so any idea what I'm doing wrong with dd? or should i assume the image is correctly written and concentrate on fixing the partition itself now that the media is mutable?
thanks folks!
Bookmarks