# - - # # - - # https://www.cgsecurity.org/wiki/TestDisk:_undelete_file_for_FAT # - - # # - Application testdisk - # # - Go to terminal - # sudo testdisk; create # - - # # - Select disk to work with - # Select a media (use Arrow keys, then press Enter): Disk /dev/sda - 1000 GB / 931 GiB - HGST HTS721010A9E630 Disk /dev/sdb - 128 GB / 119 GiB - SAMSUNG MZNLN128HAHQ-000H1 >Disk /dev/sdc - 500 GB / 465 GiB - ST950032 5AS proceed # - - # # - Select partition table - # Disk /dev/sdc - 500 GB / 465 GiB - ST950032 5AS Please select the partition table type, press Enter when done. >[Intel ] Intel/PC partition [EFI GPT] EFI GPT partition map (Mac i386, some x86_64...) [Humax ] Humax partition table [Mac ] Apple partition map [None ] Non partitioned media [Sun ] Sun Solaris partition [XBox ] XBox partition [Return ] Return to disk selection enter Disk /dev/sdc - 500 GB / 465 GiB - ST950032 5AS CHS 60801 255 63 - sector size=512 >[ Analyse ] Analyse current partition structure and search for lost partitions [ Advanced ] Filesystem Utils [ Geometry ] Change disk geometry [ Options ] Modify options [ MBR Code ] Write TestDisk MBR code to first sector [ Delete ] Delete all data in the partition table [ Quit ] Return to disk selection Analyse Quick Search Should TestDisk search for partitions created under Vista ? [Y/N]