I'm running Ubuntu and have access to Windows 10. I have an image of a disk that I created using GNU ddrescue. I tried using foremost on the image and foremost seems to create a separate folder named after each different file type that it encounters and it stuffs the matching files in there.
This completely destroys the original folder tree and making sense of all the resulting files becomes impossible.
I have a ton of photos on the image file. They are stored in numerous folders with names of where the photos were taken, when they were taken, etc. I really need to preserve the original folder tree.
Can anyone help me with this?
Contents of fdisk -l mybackup.img
Disk backup.img: 424.5 GB, 424541814784 bytes
255 heads, 63 sectors/track, 51614 cylinders, total 829183232 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xeea5da13
Device Boot Start End Blocks Id System
backup.img1 63 976768064 488384001 7 HPFS/NTFS/exFAT
ddrescue? Or the image is basically healthy? – Kamil Maciorowski May 17 '16 at 06:43file /your/imageandfdisk -l /your/image. – Kamil Maciorowski May 17 '16 at 06:58fileandfdiskcommands do? – fuzzybabybunny May 17 '16 at 07:01file myimage.isois making my terminal window hang. – fuzzybabybunny May 17 '16 at 07:02fileshould tell me. If the image is disk image thanfdiskwill tell us the partition offset. Pastefdisk -l /your/imageoutput if there is a problem withfile. – Kamil Maciorowski May 17 '16 at 07:05