Questions tagged [testdisk]

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

Filter by
Sorted by
Tagged with
-1
votes
0answers
23 views

Why cannot I recover some files using testdisk?

I have installed testdisk on CentOs 6.4. I created a new partition (/dev/sdg1) and mounted it to /data. When I create and delete files in this partition, I am able to recover it. However from other ...
-1
votes
0answers
14 views

Trying to recover 1TB of deleted files using testdisk

I ran the utility overnight and now I have 1.7TB of inode_XXXXXX files. What do I do with these? The man page says they're some sort of metadata but I can't find any information on what I'd do with 1....
0
votes
0answers
13 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
31 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
32 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
36 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
79 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
88 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
342 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
184 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 ...
0
votes
1answer
6k 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
67 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
78 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
99 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
737 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
1k 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
5k 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
0answers
28 views

File recovery with testdisk stopped showing data growth and now just displays infinate failed counts

I am doing file recovery, and it was working and doing its thing. I was watching the partition via df and was watching the data flow in. This is a separate partition from root or /. It filled up the ...
1
vote
1answer
63 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
414 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
5k 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
479 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
1k 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
393 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
131 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
265 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
274 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
398 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
6k 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
1k 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/...