Questions tagged [testdisk]

testdisk is a versatile open-source partition and data recovery tool that runs under multiple operating systems.

Verbatim from TestDdisk's home page:


TestDisk is powerful free data recovery software! It was primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software, certain types of viruses or human error (such as accidentally deleting a Partition Table). Partition table recovery using TestDisk is really easy.

TestDisk can

  • Fix partition table, recover deleted partition
  • Recover FAT32 boot sector from its backup
  • Rebuild FAT12/FAT16/FAT32 boot sector
  • Fix FAT tables
  • Rebuild NTFS boot sector
  • Recover NTFS boot sector from its backup
  • Fix MFT using MFT mirror
  • Locate ext2/ext3/ext4 Backup SuperBlock
  • Undelete files from FAT, exFAT, NTFS and ext2 filesystem
  • Copy files from deleted FAT, exFAT, NTFS and ext2/ext3/ext4 partitions.

TestDisk has features for both novices and experts. For those who know little or nothing about data recovery techniques, TestDisk can be used to collect detailed information about a non-booting drive which can then be sent to a tech for further analysis. Those more familiar with such procedures should find TestDisk a handy tool in performing onsite recovery.

161 questions
10
votes
2 answers

TestDisk Read error at **/241/1 (lba=15183)

After my HDD got broken, Windows says it needs format. So, I'm using TestDisk to fix it. But a read error always occurs when I execute the Quick Search or the Deep Search process. To get one progress, it takes about 15min. It means more than 6 years…
kirin
  • 220
9
votes
2 answers

Recovered Files with TestDisk, but File Names and Folder Structure is Bad

I used TestDisk to recover files from an internal hard drive which I connected externally to another PC. With PhotoRec all the file names are wrong and the original folder structure doesn't exist. What can be done?
6
votes
3 answers

Recovered video files won't play

I have an SD card with pictures and video which malfunctioned. I was able to recover the files with Photorec. The pictures are OK, but wen I try to open the vide files (*.mov extension) in get the following errors when I try to open them in the…
6
votes
1 answer

What tests are there for a damaged GPU in Ubuntu?

Due to a freezing problem I've had on Ubuntu, I want to test the GPU in detail because I think it is connected to my problem. I've tried the Phoronix Test Suite but I don't think that the three benchmark tests on the DVD are intended to find…
Bevor
  • 329
6
votes
1 answer

Why is PhotoRec taking so long and claiming it will take 480,000+ hours to complete pass 1?

So I've got a 3TB hard disk with bad sectors attached to my MacBook Pro 2015 via a USB 3.0 to SATA adapter from Unitek. I'm trying to run PhotoRec (a part of the TestDisk suite) with maybe 10 common file types enabled (most are picture formats,…
5
votes
1 answer

How to recover exFat partition?

I'm trying to recover a single 4 TB ExFat partition made in Maverick's Disk Utility. This single partition on the disk has storage files shared between Windows and Mac. It became inaccessible after a Windows performed a repair reboot on the main…
5
votes
1 answer

BSOD, MBR corrupt, tried to fix using Testdisk on Linux dual boot, now nothing works

The short story is I received a BSOD from a Windows program. I then couldn't boot Windows. My system is set up with GRUB to dual boot into CentOS, so I booted into CentOS and attempted to fix the MBR using TestDisk. Now I cannot boot into either OS,…
Michael
  • 151
5
votes
2 answers

Testdisk: How to recover from "Partition: Read error"

I’m trying to fix an issue with a Seagate 6TB HDD (formatted as exFAT with 3.5TB of data) using testdisk, but I think I made things worse: I left files to copy overnight and in the morning my Mac showed a notification the HDD wasn’t ejected…
5
votes
1 answer

testdisk output start/end explanation

What do the 3 columns for start and end stand for? What's the difference between the last two listed partitions? TestDisk 7.0, Data Recovery Utility, April 2015 Christophe GRENIER http://www.cgsecurity.org Disk /dev/sda -…
wullxz
  • 2,876
4
votes
1 answer

Will writing a new partition table change anything other than the first 512 bytes

I'm trying to recover data from a 1TB drive removed from my NAS, but when I run fdisk -lu /dev/sdb I get a message saying that there's no valid partition table. From what I understand the partition table resides within the first 512 bytes on the…
4
votes
2 answers

Data Recovery from a USB with exFAT file system that gone RAW

I have a 64 GB USB with exFAT (with 4096 byte Unit Allocation Size) file system. I have connected it to a Bus entertainment system which was running Android to listen my music within. It didn't see my USB and when I get home, I realized it was…
4
votes
4 answers

Correcting tree from messed up file tree in NTFS partition

It's a real messed situation, but I'm quite at the end of my options. It's my personal hardrive, so it's very important for me, and yes, I have no backup =( The short story: I have two discs. One with Windows, and another where I had a bit of empty…
4
votes
0 answers

testdisk live with btrfs support

I have a Fedora Silverblue 36 on btrfs I accidentally erased some files and I'd like to use testdisk to try to recuperate them, at least partially if I create a container with toolbox, it won't get access to the disk I tried Ubuntu live and the…
3
votes
1 answer

testdisk and load backup of partition table?

I have a new disk, so I wanted to see how the testdisk backup works. After partitioning and formatting the disk with gksu gparted /dev/sdc, this is what I get: $ sudo fdisk -lu /dev/sdc Disk /dev/sdc: 60.0 GB, 60011642880 bytes 255 heads, 63…
sdaau
  • 6,008
3
votes
1 answer

File system corrupt after attempting to repair NTFS partitions using TestDisk

Primarily I'm looking for: Details of what TestDisk means by "Warning: number of bytes per sector mismatches 2048 (NTFS) != 512 (HD)" Analysis or suggestions regarding what probably went wrong and how to best undo/recover from it. Suggestions on…
1
2 3
10 11