The bug may be in testdisk or in libntfs-3g.
It's usually hard to fix a bug without a mean to reproduce the problem but please share the gdb output (Run "gdb testdisk_binary core_file" and type "bt full" at the prompt) or the core file, I will see if I can do something.
Search found 5426 matches
- 02 Feb 2026, 19:16
- Forum: Partition Recovery
- Topic: List directories and files -> Floating point exception (core dumped)
- Replies: 2
- Views: 9719
- 15 Jan 2026, 15:48
- Forum: File undelete
- Topic: ext4 undelete
- Replies: 7
- Views: 24358
Re: ext4 undelete
https://www.cgsecurity.org/testdisk_doc/after_using_photorec.html give some tips on how to deal with duplicated files
PhotoRec can skip the allocated blocks, so if it recover a file that is not deleted, it's because it has recovered a deleted copy...
ext3 and ext4 purge the metadata when a file is ...
PhotoRec can skip the allocated blocks, so if it recover a file that is not deleted, it's because it has recovered a deleted copy...
ext3 and ext4 purge the metadata when a file is ...
- 21 Nov 2025, 16:22
- Forum: Partition Recovery
- Topic: partition recovery for a raspberry disk
- Replies: 14
- Views: 30631
Re: partition recovery for a raspberry disk
There should be no need to rewrite the partition with TestDisk.
With the partition unmounted, can you try "fsck.ext4 -a dev/sdc2" ?
If it failed, please paste the output. If it works, mount the filesystem and check if you can see your missing files.
Also check the lost+found/ directory, sometimes ...
With the partition unmounted, can you try "fsck.ext4 -a dev/sdc2" ?
If it failed, please paste the output. If it works, mount the filesystem and check if you can see your missing files.
Also check the lost+found/ directory, sometimes ...
- 20 Aug 2025, 08:33
- Forum: Gelöschte Dateien wiederherstellen
- Topic: versteckte objekte
- Replies: 3
- Views: 65541
Re: versteckte objekte
Hello
Names starting by a dot are hidden...
I will publish a new 7.3-WIP that doesn't do it under Windows as it's a Unix/Linux/mac tradition.
Names starting by a dot are hidden...
I will publish a new 7.3-WIP that doesn't do it under Windows as it's a Unix/Linux/mac tradition.
- 26 May 2025, 06:19
- Forum: Partition Recovery
- Topic: Partition recovery on Windows 11 pro computer
- Replies: 1
- Views: 19539
Re: Partition recovery on Windows 11 pro computer
You can try TestDisk, select the 2 TB PhysicalDrive, Analyse, Quick Search and Deeper Search. If you are lucky, you will see your old partition. If it's the case, use the arrow keys to switch this partition to P(rimary). On next screen, choose Write, confirm, and Quit.
If it doesn't work, try ...
If it doesn't work, try ...
- 28 Apr 2025, 14:55
- Forum: File recovery
- Topic: A question related to Passes and Resume...
- Replies: 1
- Views: 35182
Re: A question related to Passes and Resume...
Usually, the passes are only
- pass 0: finding the blocksize
- pass 1: data recovery
There may be extra passes when
- FAT unformat (can only be enabled in expert mode),
- Keep corrupted files as be set to Yes, (By default, No)
- Paranoid : Yes (Brute force enabled) (By default, yes, Brute force ...
- pass 0: finding the blocksize
- pass 1: data recovery
There may be extra passes when
- FAT unformat (can only be enabled in expert mode),
- Keep corrupted files as be set to Yes, (By default, No)
- Paranoid : Yes (Brute force enabled) (By default, yes, Brute force ...
- 14 Feb 2025, 15:43
- Forum: Filesystem repair
- Topic: wrong fs type
- Replies: 11
- Views: 62560
Re: wrong fs type
Assuming you had an NTFS partition as currently listed in your screenshot, try to follow
https://www.cgsecurity.org/testdisk_doc ... oot-sector
https://www.cgsecurity.org/testdisk_doc ... oot-sector
- 02 Nov 2024, 10:18
- Forum: File recovery
- Topic: Recover from SSD
- Replies: 7
- Views: 19600
Re: Recover from SSD
TRIM may be prevent recovery, another possibility is BitLocker disk encryption.
Can you check if it's enable ?
Can you check if it's enable ?
- 18 Sep 2024, 14:03
- Forum: Partition Recovery
- Topic: Flash drive re-formatted, Testdisk sees nothing but Photorec does:am I missing something?
- Replies: 9
- Views: 12232
Re: Flash drive re-formatted, Testdisk sees nothing but Photorec does:am I missing something?
A little post to thank you for your donation ;-)
When running TestDisk, try TestDisk, Advanced, select the "BackyL" partition, List. If you see your files (with a non-empty size), you should be able to copy them.
You can also try "Scrounge NTFS" to recover files from your NTFS partition but it ...
When running TestDisk, try TestDisk, Advanced, select the "BackyL" partition, List. If you see your files (with a non-empty size), you should be able to copy them.
You can also try "Scrounge NTFS" to recover files from your NTFS partition but it ...
- 05 Sep 2024, 10:56
- Forum: File undelete
- Topic: ubuntu /home dir deleted / testdisk.log
- Replies: 2
- Views: 57354
Re: ubuntu /home dir deleted / testdisk.log
It's not possible to recover the original filenames and file structure but it may be possible to recover most of your files anyway.
TestDisk may be able to display some filenames but the filesize of deleted file will be listed as 0.
Use PhotoRec to recover your files from the free space of your ...
TestDisk may be able to display some filenames but the filesize of deleted file will be listed as 0.
Use PhotoRec to recover your files from the free space of your ...