How to recover, a NAS, with Linux on it, damaged FAT32 partition... getting original files names ?

Asked by marcobra (Marco Braida)

Due a hardware failure i need to recover, on a NAS, with Linux on it a damaged FAT32 partition...

So we can't do using NAS tools due electronic damage.

We have get out the hard-disk from the NAS and we have mounted it on another pc as slave with Ubuntu on it.

We cannot mount the damaged FAT32 partition because it have an invalid superblock.
Forcing mount partition using "mount -f ..." works but we cannot see any files on it.

So we have used Testdisk and Photodisk to try to recover files from this partition.
Photodisk works fine but it can't recover original directory and file name, Photodisk rename recovered files and directory.
While using Testdisk we are able to restore files one by one, with original name, and we can browser directory structure, but we haven't find any options to select them all to achieve an automatic recover of all files on this partition.

Do you have some suggestion about this...?
Do you know some other tools under Linux we can use to try to recover original files name ?

Thank you

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu testdisk Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:
Revision history for this message
Angel Ramirez Isea (angel-ramirez-isea) said :
#1

Hi, marcobra.

Have you tried recovering the partition table using TestDisk?

(¿Hablas español? / Voçe fala portuges?)

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#2

Already tried as i said into original question, it works but i can't get original name of files, if i recover via photodisk utility.

Thank you

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

I found that using testdisk on the damaged partition, hiding the deleted files and selecting the top directory to restore it will restore all subdirectories and files in it keeping and saving the original names.

Thank you

Revision history for this message
Angel Ramirez Isea (angel-ramirez-isea) said :
#4

Good! Thank you for taking time to explaing your solution. Let's hope it helps other users.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

I want that google index this question to help user that have to repair damage partition using free software get Ubuntu as rescue system and solve it.

I have made this question just thinking about this.

Thank you