Questions tagged [testdisk]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

Using testdisk, how to extract the whole directory tree and filenames (deleted and good) only in ext4 partition?

Using testdisk, how to extract the whole directory tree and filenames (deleted and good ones) only, in ext4 partition without saving the file itself in linux debian?
Estatistics's user avatar
0 votes
1 answer
208 views

testdisk undelete not showing up for exFAT formatted partition

I have a microSD card used as external storage on my Android phone and I accidentally deleted a file on it. The partition on which this file resided is formatted with the exFAT filesystem. Now I am ...
Kippi's user avatar
  • 1
0 votes
0 answers
78 views

HFS+ Hard Drive not booting anymore recovery using TestDisk on macOS

I've had a broken external drive: Western Digital - WD Element 4To, for a long while and I finally took the courage to do some research to fix the problem using TestDisk. But, I think I hit a wall. ...
AKFourSeven's user avatar
0 votes
2 answers
1k views

Testdisk application does not list all the internal hard drives in MacOS Monterey

Issue: When running testdisk in macOS, it does not list the internal hard drives. Objective: I had a video file on the internal Hard drive that was deleted and mistakenly cleaned the trash, which I ...
Abh's user avatar
  • 21
0 votes
1 answer
138 views

Can't recover files from a crashed SD card although there are no I/O errors

I have a SD card that was in my Android phone. Unencrypted. With app data and pictures on it. Then one day it was not recognized anymore and it was empty. I wasn't worried because I have backups but I ...
stev-e's user avatar
  • 105
0 votes
0 answers
81 views

How to recover overwritten partition table for Windows Dynamic Disk?

I had 2 drives in storage set to Dynamic Spanned in Windows. I took one of them, converted it to Basic, and only then did I realize I needed access to the data on these drives as it wasn't yet backed ...
Sawtaytoes's user avatar
0 votes
0 answers
162 views

Faulty formatting leaves sd-card unusable. How to clear partitions?

I have a sdxc with 64gb capacity, that was supposed to be re-purposed. And with some really bad luck, the machine formatting the sd card crashed mid-process. I now have an sd card with 2 partitions: ...
Marco's user avatar
  • 191
2 votes
0 answers
723 views

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 ...
user1632812's user avatar
0 votes
0 answers
26 views

Recover files from HDD with partition type unrecognized and boot sector that can't be read [duplicate]

I was trying to retrieve data from an old (9 year old) HDD, which was working fine a month ago, after leaving powered off for a month. When I turned on my Windows PC on, it took a long while to boot [...
Torayl's user avatar
  • 1
1 vote
0 answers
29 views

Can't recover ubuntu partition with testdisk

I am trying to recover my Ubuntu partition from my ssd. I don't know why it can't be detected by neither gparted nor the grub recovery shell (unknown filesystem for all hard discs). I tried to recover ...
LizzAlice's user avatar
  • 111
0 votes
0 answers
502 views

testdisk reports an invalid disk size. What is causing this and how to fix it?

I erased by accident the NTFS partition of my archive disk connected on my Ubuntu computer. As suggested by many online tutorials, I used the program testdisk to recover the erase partition. ...
chmike's user avatar
  • 205
1 vote
1 answer
342 views

Not able to recover logical partition using TestDisk

I had a dual-booted HDD (Win10 and Ubuntu) (MBR) where the Ubuntu was in an extended partition (that had 1 Win10 logical partition and 1 Ubuntu logical partition). Few months ago, I deleted that ...
mr.loop's user avatar
  • 121
0 votes
0 answers
234 views

Raw partition recovery without data loss

I had a dynamic disk and in order to get back to MBR I have used this video but instead of getting back to NTFS, I now have a RAW filesystem. Using Testdisk, I am getting Can't open filesystem. ...
Joe's user avatar
  • 184
0 votes
1 answer
275 views

Recover deleted and possibly overwritten partition using Testdisk -- best practice?

Before using Testdisk to recover a partition, does it make sense to clone the damaged partition in question to another drive (or the whole HDD for that matter), and try recovery on the clone -- or is ...
David.P's user avatar
  • 479
0 votes
1 answer
1k views

Need help recovering data using TestDisk

This is what my partitions looks like now: Earlier the Unallocated 20GB space was just after OS(C:) partition. I booted to a Linux Mint Live Disk and used Gparted to move the unallocated space after ...
Mayank's user avatar
  • 198
0 votes
1 answer
114 views

I accidentally cloned my 16GB SD card to my 256 GB pendrive using dd. Is there any way to retrieve back my pendrive?

I have a 16GB SD card, which when I connect to my computer, gives cant read superblock error (in Ubuntu). After searching on internet, I saw some solutions using testdisk tool and decided to try it ...
Namboo3's user avatar
0 votes
0 answers
971 views

Partition became RAW, TestDisk advice

~3 days ago a 238.2GB NTFS partition became RAW, losing ~170-180GB of data, and I have been trying to fix the problem for about 14 hours. Potential reasons partition went RAW: I have dual-booted ...
Veketarist I's user avatar
1 vote
0 answers
372 views

Restore deleted Folder with testdisk recursively

I want recover a large deleted directory. While I found it with testdisk, I don't know how to recover full folders but only files. How can I restore all deleted files in a folder recursively?
ls.'s user avatar
  • 111
1 vote
1 answer
1k views

How to run testdisk on a partition image (not the whole disk image)

I did accidentally override the first part of a partition. Please note, the GPT partition table is completely intact. No damage done there. That partition was as large as possible. Since I only have ...
Asqiir's user avatar
  • 149
5 votes
2 answers
10k views

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 ...
user912830823's user avatar
0 votes
1 answer
90 views

Damaged Sd card

My sd card was damaged and it asked me to format. A year ago the same thing happened and I format the card and recover the data by recovering software. But now I did wrong by removing the drive letter ...
Saqib Mustafa's user avatar
1 vote
1 answer
349 views

How useable would a dd image be were it to be aborted mid-way creation on TestDisk?

I have a half-dead 1TB WD mechanical hard drive, which I am trying to recover files from using TestDisk. It used to host Windows 10 and before crashing wasn't filled over half-way, so I decided to ...
sudorankedthird's user avatar
1 vote
1 answer
120 views

Issue booting into windows after Ubuntu installation

Issue I was trying to install ubuntu from a flash drive but ran into some issues during the installation since it was not showing all my disk partitions. After trying to troubleshoot the problem I ...
Emilio Viteri's user avatar
0 votes
0 answers
789 views

Geometry of USB Memory - heads per cylinder is 124

i have a USB Stick, and this stick has some problems, how to set up for it proper geometry TestDisk 7.0, Data Recovery Utility, April 2015 Christophe GRENIER <[email protected]> http://www....
hkjz's user avatar
  • 1
1 vote
1 answer
520 views

Hard drive freezes all applications that access it

I have a 2 month old WD Passport 4TB. On it is a NTFS partition or at least was. Since yesterday I’m unable to do anything with the hard drive. I was copying many files via rsync on it and suddenly it ...
dun's user avatar
  • 309
0 votes
1 answer
221 views

Testdisk is not recognizing a linux directory; How do I fix it?

About a week ago, my "Downloads/" directory very suddenly showed as being empty. I ran testdisk, and at first, it was able to read the files as still being on the actual disk. However, when I moved ...
Kourosh Taheri-Golvarzi's user avatar
1 vote
1 answer
887 views

Copied failing disk with GNU ddrescue, did I miss something?

Let me explain what's in my mind so you guys can tell me if I make something wrong. I have two external hard drives, one of which is failing(Windows tells me to format it to use it again), the second ...
ColrblindMartian's user avatar
1 vote
0 answers
43 views

My laptop boots into GRUB 2.2 instead of Ubuntu

My setup Dell Chromebook 13 with Windows 10 and Ubuntu 18.10 on dual boot, using MrChromebox UEFI Firmware (4.9). What happened I wanted to install Ubuntu on an external usb drive. I took two ...
Fede9390's user avatar
  • 121
0 votes
1 answer
525 views

How can I recover Linux partition which is mistakenly had fdisk run on it

I have a Ubuntu 18.04 system with two disk (/dev/sda1 /dev/sdb1). /dev/sdb1 is in ext4 format before. Someone ran the following command with default options: fdisk /dev/sdb1 How can I recover this ...
Cameron Wong's user avatar
1 vote
3 answers
4k views

Am I using foremost (disk recovery tool) correctly?

I have a MacBook, and I meant to do a dual boot with Ubuntu, but after I created the partitions, I clicked "Erase disk and install Ubuntu", so the partition I had created for Ubuntu was not utilized, ...
mannyglover's user avatar
0 votes
1 answer
63 views

Laptop HDD fail, Shows partition but can not copy data, testdisk MBR code fail

I use 2TB HDD in my laptop with 250 GB partition for windows 10 and rest for data storage. I switched my laptop so moved the HDD from old to new laptop and started the system. Windows logo came up but ...
Pratik's user avatar
  • 1
0 votes
1 answer
631 views

Disk data recovery after partial format – TestDisk and PhotoRec failed to find anything [duplicate]

So I was trying to create a bootable USB to reinstall Windows for a friend, but mistakenly started partitioning the wrong disk (probably the dumbest mistake I could have made). This disk is a 1 TB WD ...
Ward D.S.'s user avatar
  • 103
4 votes
1 answer
4k views

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 ...
Next-Door Tech's user avatar
0 votes
2 answers
2k views

TestDisk created 51% of image of almost broken disk. Can I already get data from it?

I have half-dead HDD disk from WD "My Passport" purchased in 2013. He has around 260/280 GB of data inside. There are video clips (e.g. 4 GB each) and photos. It was used to display files on Samsung ...
Julia Okuniewska's user avatar
0 votes
0 answers
107 views

Directory has suddenly become read-only while running PhotoRec, why?

I've spent the past four hours running PhotoRec on my Ubuntu machine to recover some pngs images on my 750GB drive, with the recovered files being saved to a 2GB drive. Needless to say, I was deleting ...
J. Mini's user avatar
  • 148
2 votes
1 answer
1k views

ext4 filesystem remnants salvage w/testdisk

Getting to the point: testdisk is able to navigate the filesystem and hierarchy (apparently as if it was intact) and individually recover files. Is there a way to have it do all of them, ...
pathfinder's user avatar
2 votes
2 answers
3k views

NTFS partition is lost, but data (should be) there, how to recover?

Shortly: I've got troubles with a lost partition and Testdisk is not able to solve my problem. Everything makes me think that files are on the disk, but I don't know how to get them back. Also, I'm ...
Attilio's user avatar
  • 141
0 votes
2 answers
1k views

how to recover ntfs partition with folder structure - currently shows as RAW

I'm asking this question because: 1. I'm desperated, 2. I couldn't find any other answer resolving my problem, 3. All my attempts to fix it by myself failed. I have got an external HDD 3,5" that is ...
mark's user avatar
  • 3
0 votes
1 answer
540 views

Corrupt USB RAW filesystem showing wrong size

I am trying to fix this USB stick for a friend who ripped it out of their computer incorrectly resulting in the filesystem being destroyed to the max, and the device showing a capacity which is ...
user3407675's user avatar
1 vote
0 answers
1k views

Manually Restore GUID Partition Table on Mac

Recently I plugged my HDD with one partition formatted in HFS+ into a Windows PC as an internal HDD, it somehow ruined my GUID partition table and turned it into 3 partitions (unformatted/unallocated) ...
Henry Pham's user avatar
0 votes
0 answers
49 views

Recovering a lost linux partition?

After installing windows I think I lost my linux partition (my other question here:Unfound linux partition after installing windows 10) I run TestDisk from usb, and I got, when choosing "Analyze":...
Ernest Dujo's user avatar
0 votes
1 answer
67 views

Is my hard drive salvageable?

I was backing up a folder from my Android phone to my storage drive and it was taking forever so I cancelled it from the copy dialog, windows explorer hung so I opened task manager and restarted it, ...
Ryan Blue's user avatar
0 votes
0 answers
234 views

Unpartitioned exfat 5tb disk recovery: testdisk shows really strange results

I apologize because this is a bit general in nature. I have a 5TB external disk that was formatted exfat. I would use it to backup data from my Linux machine. Well, recently, I plugged it into a ...
cloaked1's user avatar
  • 311
3 votes
0 answers
1k views

TestDisk doesn't find the right Ext4 partition

Situation: I have a hard disk that originally had some NTFS partitions and an Ext4 partition (besides some unallocated space and a Linux Swap). It lost its partition table. Nothing has been ...
Raphael's user avatar
  • 141
1 vote
1 answer
93 views

How to restore deleted partion table

I am using Ubuntu 14.04, from past 2 days I am not able to boot the system but when I checked connecting the hard disk in other system it was showing below error message. Disk /dev/sdc doesn't ...
max's user avatar
  • 3,893
1 vote
0 answers
1k views

SSD appears in BIOS and Device Manager but not in Disk Management or any other tool

After a crash a few days ago, my SSD wasn't detected in the BIOS (or anywhere) anymore for a while. After trying everything, I decided to try to put it in the oven to re-flow the solder before ...
Dino's user avatar
  • 41
2 votes
0 answers
2k views

Recovering NTFS partition with TestDisk

I have a laptop with dualboot Windows 10/Ubuntu with three hard drives. The first two drives always work fine while the situation with the third drive (it was in NTFS) has been a bit curious: I could ...
xji's user avatar
  • 798
0 votes
1 answer
525 views

Does an .img image of a single (logical) partition have partition type "Intel/PC partition" or "Non partitioned media"?

I have an ext4-formatted logical partition /dev/sda8 and an image file sda8.img of it created with ddrescue (following the procedure at https://unix.stackexchange.com/a/283009 for similar reasons). ...
Dr. Sexopus's user avatar
0 votes
1 answer
1k views

Recover data from corrupt NTFS drive - TrueCrypt

Background: Visual Studio 2017 was release two days ago, 2017-03-07, and to get a clean install I decided to format and reinstall my OS, Windows 10. For my storage disk, I use TrueCrypt 7.1a. After ...
Ogglas's user avatar
  • 1,754
1 vote
0 answers
434 views

Testdrive: Recover accidentally deleted windows 10 partition table on dual boot system (not boot partition)

I accidentally deleted most of my windows partition table on my dual boot laptop and am trying to fix/recover the faulty partition table. I have a dual boot laptop: Ubuntu and Windows. Grub still ...
draptik's user avatar
  • 111