2
I have a raw image from ddrescue which is a partial image of the complete source NTFS partition, simply because the target drive is smaller then the source.
I cant mount this partial image so as to copy over the files.I get this error:
Failed to read last sector (3905654783): Invalid argument
HINTS: Either the volume is a RAID/LDM but it wasn't setup yet,
or it was not setup correctly (e.g. by not using mdadm --build ...),
or a wrong device is tried to be mounted,
or the partition table is corrupt (partition is smaller than NTFS),
or the NTFS boot sector is corrupt (NTFS size is not valid).
Failed to mount '/dev/loop0': Invalid argument
The device '/dev/loop0' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
Command that i am using:
sudo mount -t ntfs /image.img /mountpath -o loop
Is there any way by which i can recover data contained in this partial image file?
So I guess you managed to solve your previous problem regarding how to create partial images? You should add the commands you used as an answer there. Regarding the problem at hand, have you tried to fsck the NTFS partition?
– Karan – 2013-03-05T04:46:54.500@Karan nope.. i couldnt just say ddrescue to only create a valid 500GB image out of the 2TB partition(so thats still unresolved).. just because the target drive size is lesser.. i am going to get an image with max size that ddrescue is going to save on it(backup still going on since yesterday!). Meanwhile i interrupted once (ddrescue can resume operation) to check if i can use the resulting image,which doesnt mount! – ashishsony – 2013-03-05T05:08:15.537
I removed references to ddrescue in title and tags, as DDRescue is really only involved in creating the image - the answer to the question is not dependant on an understanding of DDRescue. – davidgo – 2013-03-05T05:08:44.193