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
1 vote
0 answers
26 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 ...
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 [...
user avatar
  • 1
1 vote
0 answers
22 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 ...
user avatar
  • 111
0 votes
0 answers
115 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. ...
user avatar
  • 185
1 vote
1 answer
156 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 ...
user avatar
  • 121
0 votes
0 answers
65 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. ...
user avatar
  • 184
0 votes
1 answer
96 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 ...
user avatar
  • 196
0 votes
1 answer
324 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 ...
user avatar
  • 178
0 votes
1 answer
60 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 ...
user avatar
0 votes
0 answers
394 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 ...
user avatar
1 vote
0 answers
153 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?
user avatar
  • 111
1 vote
1 answer
606 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 ...
user avatar
  • 149
3 votes
2 answers
6k 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 ...
user avatar
0 votes
1 answer
65 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 ...
user avatar
1 vote
1 answer
216 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 ...
user avatar
1 vote
1 answer
109 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 ...
user avatar
0 votes
0 answers
341 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 <grenier@cgsecurity.org> http://www....
user avatar
  • 1
1 vote
1 answer
221 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 ...
user avatar
  • 279
0 votes
1 answer
101 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 ...
user avatar
0 votes
1 answer
605 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 ...
user avatar
1 vote
0 answers
40 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 ...
user avatar
  • 121
0 votes
1 answer
250 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 ...
user avatar
1 vote
1 answer
2k 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, ...
user avatar
0 votes
1 answer
57 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 ...
user avatar
  • 1
0 votes
1 answer
474 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 ...
user avatar
  • 103
3 votes
1 answer
3k 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 ...
user avatar
0 votes
2 answers
1k 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 ...
user avatar
0 votes
0 answers
64 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 ...
user avatar
  • 90
2 votes
1 answer
813 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, ...
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 ...
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 ...
user avatar
  • 3
0 votes
1 answer
508 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 ...
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) ...
user avatar
0 votes
0 answers
44 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":...
user avatar
0 votes
1 answer
56 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, ...
user avatar
0 votes
0 answers
218 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 ...
user avatar
  • 301
3 votes
0 answers
974 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 ...
user avatar
  • 131
1 vote
1 answer
78 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 ...
user avatar
  • 3,693
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 ...
user avatar
  • 41
2 votes
0 answers
1k 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 ...
user avatar
  • 768
0 votes
1 answer
413 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). ...
user avatar
0 votes
1 answer
995 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 ...
user avatar
  • 1,552
1 vote
0 answers
366 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 ...
user avatar
  • 111
1 vote
0 answers
138 views

Accidently dd a whole disk with Iso file. Can i recover it ?

Here is the story buddies : I dd'ed the wrong disk because of fdisk. By disconnecting an reconnecting Usb and External HDD fdisk did not refresh results. The consequence is as you can see : fdisk -...
user avatar
3 votes
1 answer
5k views

TestDisk image vs ddrescue for recovering data from a defective hard drive

I am trying to duplicate a “defective” hard drive (making strange noises after it fell on the floor). After some research, I discovered TestDisk and the “Image Creation” tool to clone the disk. I ...
user avatar
  • 133
1 vote
0 answers
1k views

Is it possible to upload to OneDrive via Terminal on Mac?

So I want to make a .dd copy file from my external HDD using TestDisk and I do not have 1 TB free on my MacBook, but I do on my OneDrive account. Is it possible to make the .dd copy directly on my ...
user avatar
2 votes
3 answers
4k views

MBR recovery - Corrupted MBR after it changed to dynamic & testdisk gives up . No backup sector found

I had a Windows 7 installation on my 1TB SSD laptop with 4 primary partitions. I wanted to install Lubuntu Linux but the process failed with an error which kind of said: cannot write MBR It gave ...
user avatar
0 votes
0 answers
25 views

TestDisk Ignore Aliases

I'm trying to use TestDisk to take the contents of my old linux boot drive, and copy it to a storage drive (I am doing this from windows 8). I believe that TestDisk is getting into infinite loops due ...
user avatar
  • 187
2 votes
1 answer
8k views

I cannot format my micro SD card

I have some problem with the micro SD card I usually use on my phone. I recently updated my phone to Android 6 and it is now asking me to format the SC card. However it always fails. I tried to ...
user avatar
0 votes
0 answers
773 views

Testdisk isn't copying undeleted files, images provided

I'm using Linux Mint 17, and I'm trying to recover from an unmounted NTFS external drive. Testdisk seems to know that there's a deleted file there, but isn't letting me copy it. This is what I'm ...
user avatar