I have a failed harddrive with around 400 GB of data, of which approximately 50 GB need to be recovered. All the data is located in a specific directory (/Fotos2018/).
The hard drive is a WD My Passport Essential WDBAAA5000ABK (500 GB, USB 2.0). It contained a FAT32 partition containing my data, as well as another partition containing some WD software.
I attempted to back up my data to a healthy hard drive, using
ddrescue --no-split -r3 /dev/sdb1 defekt_wd.iso defekt_wd.log. It generated tons of errors (I don't have the output), but ended up with the output file. The log file is 1.2 MB if that gives any indication.
During this operation, the hard drive sounded increasingly scratchy, and became rather hot.
I have found various methods to extract the contents, but none of them were succesful. Below are my attempts:
First, traditional mounting (however, I cannot recompile the kernel on the current machine due to the warranty terms, but if you believe this would work on a different machine, I can copy the image file)
# mount defekt_wd.img /tmp/defektdisk mount: Could not find any loop device. Maybe this kernel does not know about the loop device? (If so, recompile or `modprobe loop'.) # modprobe loop FATAL: Module loop not found.
Second, using xorriso.
# xorriso -indev defekt_wd.img -ls xorriso 1.3.2 : RockRidge filesystem manipulator, libburnia project. xorriso : NOTE : Loading ISO image tree from LBA 0 libisoburn: WARNING : No ISO 9660 image at LBA 0. Creating blank image. Drive current: -indev 'defekt_wd.img' Media current: stdio file, overwriteable Media status : is written , is closed Media summary: 1 session, 228724832 data blocks, 436g data, 0 free Volume id : 'ISOIMAGE' Valid ISO nodes found: 0
I have also tried to extract/list/test the archive using 7-zip, e.g.:
# 7z l defekt_wd.img 7-Zip 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18 p7zip Version 9.20 (locale=C,Utf16=off,HugeFiles=on,2 CPUs) Error: defekt_wd.img: Can not open file as archive Errors: 1
Here's the output of
# file defekt_wd.img defekt_wd.img: x86 boot sector, code offset 0x58, OEM-ID "BSD 4.4", sectors/cluster 64, Media descriptor 0xf8, heads 255, hidden sectors 2048, sectors 975394816 (volumes > 32 MB) , FAT (32 bit), sectors/FAT 119038, reserved3 0x800000, serial number 0xac2710e2, label: "XYZ "
My current theory is that the image file contains two partitions, but I do not know how to extract the contents of just one of them. Can you offer any suggestions on what to do next?