Questions tagged [testdisk]

TestDisk is a data recovery utility designed primarily to recover data from deleted partitions.

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

Recovering a deleted folder using testdisk: Folder doesn't show up

So I accidentally deleted my documents folder (using ranger) which included all of my important files that weren't dotfiles. So I found testdisk. How I've used it so far is how I've seen people use it ...
0
votes
0answers
25 views

Recover deleted partition on linux pc

Have checked previous questions and comments but can't find what's relevant to my case. Issue is I have a 500GB hard dish which I partitioned into several parts 1 Partition for Windows OS 1 Partition ...
1
vote
0answers
60 views

Ext4 All data deleted, can't recover

I don't know what I did, but I made a disaster and lost around 50000 family pictures. There was inside a raid1. ls return just 2 files: root@NAS:/srv/dev-disk-by-label-RAID1# ls aquota.group aquota....
0
votes
1answer
26 views

TestDisk always return corrupted files

I accidentally remove all of my files (Python Files) in Visual Studio Code, and I tried to use testdisk tool to recover them, I checked what filesystem I'm using, and it is /dev/sda5 and the type is ...
0
votes
0answers
27 views

TestDisk help to recover mistake

In my rush to create a new USB installation media I selected the wrong USB disk and blatted my ext4 formatted USB disk with all my data on it. Am hoping to be able to recover the partitions but it ...
0
votes
0answers
19 views

File recovery from corrupted NTFS drive

I have an SSD drive that was used with Windows 10 and suddenly stopped working. To recover the data, I made an image of the drive in Linux by: ddrescue /dev/sda ssd_rescue.img ssd_rescue.log No ...
1
vote
0answers
41 views

Recovering files from empty Linux partition

On my Linux setup, I had a separate partition for my /home directory. I had Linux Mint XFCE 19.2 and updated to 19.3 Cinnamon. However after the update my user was gone and after making a new one, ...
0
votes
0answers
71 views

Find Inodes And Recover Binary Files From Raw Data

What command do I use to scan a hard drive that has corrupted superblocks to find inodes? Additionally, what command do I use to write the file data associated with that inode? My partition was ...
0
votes
0answers
40 views

Recover All Files On Lost Partition

I had a sdd with two partitions on it. The first was 32G and the second took up the remainder of the drive. The first was the root partition with Ubuntu installed on it. The second was a general ...
-3
votes
1answer
145 views

Difference between photorec and testdisk in prerunning preparation?

I want to recover a single file whose pathname before it became lost I know. I am considering testdisk and photorec, and would like to know some differences between them, especially what I need to do ...
2
votes
1answer
157 views

Is it convenient to run testdisk photorec command once for each original filesystem?

When recovering data from a formatted external hard disk with photorec command of the testdisk tool, if originally the hard disk had 2 partitions (NTFS and ext), does it make sense to run the command ...
2
votes
0answers
574 views

How to retrieve a testdisk disk image file from an XFS partition?

The previous situation I had a problem many years ago with an HDD (with a Windows installation and two usual partitions - the boot one and the NTFS one containing the system and the data) with which ...
-2
votes
1answer
264 views

How to clean and reboot HDDs pulled from LVM groups (showing bad super blocks)?

I have 2x 4TB HDDs that were put in an LVM group last year, ended up not really using this server due to huge issues around installing nextcloud. At some point it started giving me boot problems so I ...
1
vote
1answer
10k views

How to change partition type id without formatting?

How to change my partition type id from 83 to 8e without formatting and losing data?
0
votes
1answer
107 views

Which partitions to restore in testdisk

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 ...
1
vote
1answer
92 views

Can recover data from disk but not from image of same disk?

So I'm creating this training scenario whereby participants have to take an image of a broken disk, loop mount and recover the data. It's supposed to be fairly basic, but I've come accross this weird ...
0
votes
1answer
114 views

Can testdisk change physical geometry?

I don't actually want to do it because I am paranoid, but my question is: can I actually change my drive physical geometry using testdisk and damage a drive to the point of being unrecoverable? Does ...
1
vote
1answer
839 views

How to scan a hard disk at low level to recover files in partially overwritten partition?

We had a human accident at home and an external hard disk was copied a SD 32gb image card by mistake. The copy should be done to a SD image. I guess 32gb of the external drive were overwritten, but ...
0
votes
1answer
2k views

Recover deleted partition using testdisk

Last night I was not as awake as I thougt i was and I ended up formatting the wrong drive using GParted..... I thought of testdisk to recover the lost partition but I don't really understand how to ...
1
vote
1answer
2k views

Can TestDisk or PhotoRec recover files by dates?

I just accidentally erased my home directory using the rm command. I am being pointed towards photorec and testdisk to recover the files. However, I have a backup, about 2 or 3 weeks old I think, and ...
0
votes
2answers
7k views

I deleted my home directory… can I recover it? [duplicate]

So I wanted to clean a directory and subdirectories from non .doc|.docx files and I ran the following command: rm -rf /home/user/dir/dir1/dir11/ !(*.doc|*.docx) and I just deleted my home directory (...
1
vote
1answer
64 views

Recovering a partition after being reallocated

I have two partitions, c and d. Recently, I've decided to install Linux Ubuntu on the machine, and intended to do that on the c drive. It seems however that I messed up something during the ...
1
vote
0answers
462 views

Can I repair a HFS+ volume if the files were unreadable after “Easus Recovery Wizard” recovery? Testdisk & Diskutil info below

I have someone else's 1.5TB hard drive (WD Elements) that I would like to repair or recover files from. It has possibly been dropped and was constantly around a lot of loud Techno music. It is the ...
4
votes
4answers
6k views

Recovering data from broken (NTFS) partition

I'm trying to recover data from a Windows (NTFS) disk that became unreadable for some reason. I'm doing this from within a Linux Mint environment. I can see the partitions normally, and I also see ...
0
votes
1answer
524 views

How can I use testdisk & photorec to recover all jpg files?

http://www.cgsecurity.org/wiki/PhotoRec_Step_By_Step I am sorry the documentation is kind of overwhelming for me. My purpose is just recover jpg files... I tried many times but it was recovering ...
3
votes
2answers
2k views

LVM Filesystem recovery

I was trying to resize my LUKS crypt following this https://wiki.archlinux.org/index.php/Resizing_LVM-on-LUKS and I got to the partition resize with parted and seriously screwed things up. I typed 870 ...
1
vote
0answers
2k views

Recovering files with directory structure

EDIT: I am using Debian 8.1.0 So I somehow deleted my /etc directory. While I have not been able to recover the complete /etc directory hierarchy with all files, I have received different parts from ...
4
votes
1answer
411 views

How can I fix an overlapped FreeBSD/UFS partition?

I have a Seagate 1TB Drive [ST1000LM010-9YH146] which had one FreeBSD slice and was formatted as UFS and mounted at /home on a pfsense box. While changing some hardware around, the drive was ...
0
votes
1answer
132 views

testdisk partition recovery

Looking to recover data/partition index from this disk.. ⚡ root@jg  ~  ls /dev/disk/by-label lrwxrwxrwx. 1 root root 10 May 4 21:06 4tb1 -> ../../sde1 drwxr-xr-x. 7 root root 140 May 4 21:06 .. ...
0
votes
0answers
75 views

Testdisk 6.14 unable to fix 20GB WD ROM scroprio device

Using partedmagic iso , with pre-configured utility testdisk 6.14 I tried to repair WD 20GB hard-disk. It failed in sense it got me "read errors". I don't know how to fix it? Please help me. I'm ...
2
votes
1answer
1k views

Recover partitions Mac OS internal hd

I booted to a live ubuntu USB, wanting to delete partitions on an SD card, and ended up deleting all my partitions on my mac book pro's internal hd. I have already tried gpart (which gets stuck at "...
3
votes
3answers
5k views

Data recovery from an accidental format on ext4 partition

When I was installing Mint Debian edition unlike the classic edition, the installation automatically formated my home partition when I did not specify to format. So the formatting previously was ext4 ...
3
votes
1answer
268 views

Recover data from HDD

I wanted to make a bootable USB stick from a Knoppix.iso on GNU/Linux with dd. Situation: Laptop with Linux Mint on it HDD mounted to system (.iso file on it) 1TB HDD (800 GB used) USB stick mounted ...
1
vote
0answers
276 views

Two 500GB (JBOD) drives out of an NAS-200 put into UBUNTO 14-04 and put back into an LVM to access old information

I’m in a dilemma as I’m new to Linux (not helpless, but new) and would like some help if you don’t mind. I have been working with Linux for several years to some extent so I can get around some with ...
1
vote
1answer
410 views

Can I split a disk image and run Photorec on each part individually?

I'm running Photorec on an external HD connected via USB and it's taking too long, with the estimated remaining time constantly increasing. Is there a way to create a disk image from that external ...
1
vote
1answer
7k views

Searching for a specific file with testdisk

Is there a way to recover just .webm files from a formatted partition using testdisk or photorec? I have not enough space to recover all files and then find .webm files afterwards.
2
votes
1answer
1k views

How to find alternative superblocks in ext3 file system of partition-less qcow2?

I have an interesting case, where e2fsck refuses to recognize the file system inside a qcow2 image file. Using testdisk I am able to see the partition, so some markers would be left. The reason this ...
2
votes
1answer
2k views

How to copy partioning information with dd?

I am trying to recover partitioning information using TestDisk. To try things out I copied all data from the original harddisc to another physical drive using dd as follows: $ dd if=/dev/sda of=/dev/...