Questions tagged [testdisk]

TestDisk is a free data recovery utility. Usually associated with Photorec

Filter by
Sorted by
Tagged with
0 votes
1 answer
733 views

How to recover json firefox files using photorec testdisk?

On the wiki it says that json files are supported but json file format is not listed when using photorec file options. On the cgsecurity forums, some people have suggested that this is considered a ...
2 votes
2 answers
4k views

Recover data from USB flash drive with testdisk and photorec

I have a 32GB flash drive, somehow it is no more working, it is detected as an 8Mb drive as fdisk -l shows: Disk /dev/sdb: 8 MB, 8454144 bytes 1 heads, 17 sectors/track, 971 cylinders, total 16512 ...
0 votes
0 answers
34 views

using testdisk to recover lost partitition

I was fooling around with gparted and accidentally deleted a 4Tb partition I think I performed operations with the wrong partition selected I'm not sure So I launched testdisk and search for lost ...
1 vote
1 answer
9k views

testdisk unable to detect deleted folder

accidentally happened to Shift+Del a folder named new from my external HDD. In my attempt to recover the lost data (very valuable to me) and after going through most of the previous such cases on Ask ...
0 votes
1 answer
4k views

how to repair boot record using testdisk after windows 10 upgrade in Ubuntu dual boot

I have tried to upgrade my windows from 7 sp 1 to 10 using the MediaCreationTool.exe as suggest in this page - howtogeek. It did not work as suggested and part way through the upgrade I was faced with ...
0 votes
0 answers
93 views

Recovering data after emptying trash

I saw something unusual on my desktop. I deleted it and never saw that I emptied my whole laptop drive, further I emptied the trash moments later. When I noticed it, I tried to recover using Testdisk, ...
0 votes
0 answers
58 views

External HDD with one faulty unreadable folder

I did a mistake, probably unplugging my external usb drive during a write operation. Now, the disk looks like it works fine, except one folder of the disk is shown empty. phil@GLaDOS:/media/phil/...
0 votes
0 answers
134 views

How to recover files without extension using PhotoRec

So i had some files without extensions on my usb drive which has been formatted many times. I tried to use gparted to recover them but no result. Then i found PhotoRec which using deep scan i was able ...
0 votes
2 answers
5k views

TestDisk won't detect partition, but PhotoRec does

I have a small problem, I accidentally formatted one of my drives in Windows. PhotoRec finds the partition, but Testdisk doesn’t. Help would be really appreciated. EDIT: It finds the partition when ...
2 votes
2 answers
8k views

Recovering a lost LibreOffice document with testdisk

I was working on a LibreOffice Writer document when my computer turned off. No problem there, I booted up, went back into LibreOffice and it gave the option to recover everything. I left the document ...
1 vote
1 answer
1k views

restore ext4 HD after creating GPT partition table

I have a windows10 - ubuntu 18.04 dual boot computer. Three drives on it: 512 GB SSD with ubuntu system 1 TB HD with windows system 1 TB HD Ext4 formatted (the problematic one) for extra data ...
0 votes
2 answers
4k views

How to recover files from a partition that was previosuly NTFS under Wndows but after Ubuntu installation had been converted to ext4?

I had accidentally installed Ubuntu 13.04 on Windows 8 while trying to Dual Boot. I had a single partition(973GB) which had windows with NTFS filesystem. But by the accidental install of ubuntu the ...
0 votes
1 answer
1k views

/dev/sda5 : recovering journal, clean files block, can't boot into my desktop

to I face this screen when I want to boot to ubuntu. This happened after I used ''testdisk'' to recover some of my deleted files. After doing this a large part of my partition was occupied so that ...
1 vote
1 answer
2k views

How to use TestDisk

enter image description here I just replaced my Windows 10 and switched to Ubuntu and deleted all my data accidently as it was in partitions on my windows.Tried using TestDisk for its recovery after ...
0 votes
0 answers
211 views

How to fix broken partition table after restoring a partition

I recently recovered an accidentally formatted ext4 partition by following these steps: Recover ext4 file system after quick format The recovered drive now shows up in testdisk after running "...
1 vote
0 answers
70 views

How do you undelete files from within multiple levels of deleted folder on EXT4 and keep the original file tree structure? [duplicate]

I was making some room n my file server by moving the data to the desktop. The desktop had a catastrophic failure and now i'm trying to recover the files from the fileserver. Trying to undelete close ...
0 votes
0 answers
47 views

Recover Deleted Windows os [duplicate]

so I'm studying cybersecurity and I'm currently working with bitlocker security, and on one of my tests, I tried to copy a whole windows nvme disk using a live Ubuntu stick and DD (note that the drive ...
0 votes
1 answer
189 views

Stress the bandwidth and disk read in linux

I need to trigger HighBandwidth and high disk read for my alert testing purpose. So does anyone knows any Linux command to trigger HighBandwidth(transmitted and received) at 70GB as well as disk read ...
0 votes
0 answers
111 views

Segmentation error when trying to rebuild boot sector with TestDisk

I've been trying to recover a windows 10 C: drive using Ubuntu 20.04.4 and TestDisk. Drive became RAW for no apparent reason. I created a disk image using dd: sudo dd if=/dev/sdb of="/media/...
0 votes
2 answers
3k views

Recovering 220GB of files in a formatted partition with Testdisk

I went away from the Linux world for a decade or so. Now that I'm trying my way back, that nice little warning that told me that I would lost all my files when replacing Windows XP failed to be clear ...
2 votes
0 answers
259 views

External Hard Disk Won't Re-Mount

My hardDisk was working perfectly fine but all of a sudden, I felt that it was operating a bit slowly after a huge data transfer(around 250GB). So I decided to unmount and remount it, believing that ...
0 votes
0 answers
91 views

Copy of a hard disk, error during the mount because of luks

A few weeks ago I encrypted an external hard drive with luks and the header bugged. I can still open the drive with my password but it shows me an empty folder. So I made a copy of the whole disk with ...
0 votes
0 answers
399 views

Truncated ext4 partition after trying to access my partition from windows with ext2fs

After trying to access my Linux partition from Windows operating system, my Linux partition is now truncated to a size 1K byte and I am no longer able to mount that partition. "fdisk" shows ...
4 votes
1 answer
14k views

Recovering a partition with no valid superblocks

My system had these partitions: DellUtility Windows 7 Ubuntu 14.04 (64bit) - extended /home - extended virtualbox - extended swap - extended (A Dell box with Ubuntu dual-boot and seperate home / "...
0 votes
1 answer
91 views

NTFS mounts are overwritten

I have downloaded and installed the new Ubuntu21.4. It formatted the entire disk and I lost my NTFS mounts c:\ and D:. Is there any way to recover NTFS Data (images and videos) from the hard disk.
1 vote
0 answers
829 views

How to format write protected sd card in ubuntu

I have a sd card with 16GB I try to format it using windows 10 it says this device is write protected when I try with Ubuntu like that mkdosfs -F 32 -v /dev/sdh1 it says following lines. mkfs.fat 4.1 (...
0 votes
0 answers
28 views

Installed Ubuntu on top of Windows 7 Parition, thus lost an important file!

Hi there. I had win 10 and 7 installed on dual boot, then i decided to download and install UBUNTU, in the installation process, i chose to install it on top of the win 7 partition, so it had to erase ...
0 votes
0 answers
682 views

Disk /dev/sda: doesn't contain a valid partition table

I had a Software Raid 1, and somehow it got corrupted and I cannot boot it. I am trying to fix it through rescue mode and this is what I am getting from both drives. Is there any way to fix the ...
0 votes
0 answers
1k views

Linux partitions deleted after Windows 10 Update (Version 1909)

I have a dual boot with Ubuntu and Windows 10. I have only booted into Windows a handful of times over the last 2 years or so. I left Windows logged in overnight and it decided to update. The next ...
0 votes
1 answer
603 views

System not booting with no free disk space

I have used PhotoRec/TestDisk on my laptop with Ubuntu 18.04.5 to recover some deleted files from the ext4 filesystem. I first let it do its work on the entire partition, all extensions. And PhotoRec ...
1 vote
0 answers
186 views

Understanding TestDisk behaviour on disappeared files from a git / docker folder

I have totally messed up a git / docker local folder, and some of my files (curiously only those which were not tracked by git) have suddenly disappeared from one data subfolder ; I cannot see them ...
3 votes
1 answer
1k views

Decrypt ecryptfs files recovered from photorec

I have managed to recover files from a disk with a damaged partition table using photorec. Photorec does not preserve the file name or file structure so all I have are a bunch of randomly named files ...
1 vote
0 answers
394 views

Recover deleted files from ext4 - Ubuntu 18.04

Well, I finally did it. I noticed a folder of my original drawings going back 4 months was missing from its usual spot. With reference photos and palettes and all, there are maybe 700 files in that ...
8 votes
4 answers
6k views

need to recover data from a data hard disk that I used testdisk on in my attempt to repair mbr from a rootkit virus

Before I begin to say what my situation is here, please know i would be FOREVER GRATEFUL for anyone who can help me out with this mess. I have photos on here from years and years of painstaking work. ...
0 votes
0 answers
190 views

ACCIDENTALLY ISSUED DD COMMAND AGAINST EXTERNAL HDD

I recently issued dd if=/home of=/dev/sdb and turned out to ruin the exfat filesystem on my external harddrive. I immediately issued ctrl-c to stop writing. Read few threads indicating the use of ...
1 vote
0 answers
169 views

Wrecked my partitions with testdisk

I used to have partitions for Windows and Linux(had dual-boot) on my SSD, but then I broke the partitions with testdisk (because I didn't know what I was doing). And now it looks like this: $ sudo ...
3 votes
2 answers
12k views

TestDisk 7.0 doesn't have undelete option

I tried using TestDisk 7.0 to undelete a few videos I made a week ago, but the undelete option doesn't show up. I tried the list/copy option instead but it doesn't seem to work either. They just ...
0 votes
0 answers
431 views

recover data from ddrescue img fails

After seeing some corrupted partition I did recovered whole disk using ddrescue and file is imagefile.img ddrescue -f -r3 /dev/sda imagefile.img imagefile.log now I want to recover some folders from ...
6 votes
4 answers
28k views

What's filling up my root directory? [duplicate]

I have a 120gb SSD which is dedicated to /root and a separate HDD for /home but for some reason my root drive is full and I can't see why. I've tried autoclean autoremove and clean but it hasn't ...
1 vote
1 answer
45 views

Associate ready annotations with a raw PDF file with Okular

Problem Accidently, the file x.pdf which was a book with a lot of annotations created by Okular is deleted. Annotations, however, are present in /home/user/.var/app/org.kde.okular/data/okular/docdata/....
0 votes
1 answer
31 views

Can't restore lost windows partition [duplicate]

I was trying to install Ubuntu budgie, I clicked on erase disk and setup lvm, but I didn't click ok when the confirmation window poped up, I quit the installation. Tried booting back into windows ...
0 votes
0 answers
719 views

Corrupted ext4 disk with windows disk manager

I am the main linux person in our team (which is a sad state of affairs), and am trying to fix a problem created by one of our windows users. They had a 5TB drive with a single ~5TB ext4 partition ...
0 votes
0 answers
311 views

recover HD overwritten by ddrescue

I have a portable 2TB hard disk that I was using as a network drive. I had disconnected it from the router and connected it via USB to my desktop. It contained all my pictures. I was working on ...
0 votes
0 answers
418 views

undelete all the files with testdisk

My GF deleted a load of her photos, and Im trying to recover them with testdisk. using the utility, I selected Advanced, and Undelete, but i dont see how to just choose all the deleted photos. Im ...
8 votes
2 answers
28k views

testdisk: "Warning: number of (heads/cylinder|sectors per track) mismatches 255 (FAT) != 64 (HD)"

TL;DR: How do I get rid of the warnings in the subject line when everything else looks sweet? I'm getting the following output when running testdisk's Analyze on a 64GB SD card: TestDisk 6.14, Data ...
-1 votes
1 answer
238 views

How to recover my data

i tried to remove/uninstall my firefox but unfortunately i lost my all data in my kubuntu system . I'm just trying to remove all firefox file from my root system but i dont know how to remove all this ...
0 votes
1 answer
99 views

Problem booting dual boot Ububntu / win10 after partition size change

I had a working system with dual boot of Win 10 and Ubuntu 18.04 on a single hard disk with the following partition layout (more or less, that is what I remember): - Primary NTFS, 1.5gb boot - ...
0 votes
1 answer
345 views

package installing issue

I was trying to install libglu1-mesa-dev freeglut3-dev and mesa-common-dev on lubuntu due to an online course that requires opengl to run the code for the exercices and initially it raised an error ...
0 votes
0 answers
190 views

I overwrote my external hard drive. Can I recover files?

I was trying to make a bootable USB drive. I entered the following: root@BlackBox:/home/bgp# pv XP32bit.iso > /dev/sdb I let it run, and then became aware that I had the wrong target. I meant to ...
0 votes
1 answer
582 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....