Questions tagged [testdisk]
TestDisk is a data recovery utility designed primarily to recover data from deleted partitions.
53
questions
0
votes
0
answers
24
views
How to rebuild the filesystem of a recovered partition
I managed to ruin a server drive by trying to clone it to another drive with dd. In the process, the original boot and sda1 partitions were overwritten.
I immediatly stopped using the drive,I made an ...
4
votes
2
answers
434
views
Recovering accidentally deleted partition on a solid-state drive using "fdisk"
As far as I know, a solid-state drive (SSD) stores data in different locations that the operating system cannot control. If I accidentally delete a partition, and then enter the exact start and end ...
0
votes
0
answers
26
views
How to recover undelete deleted file dhcpd.leases file?
I made a back up of DHCP but when i unstinalled it the back up was removed.
How can i recover dhcpd.leases
Example /var/lib/dhcpd/dhcpd.leases
its on /dev/mapper/vg_server-lv_root
i did do a locate ...
0
votes
1
answer
33
views
testdisk utility reports nonexistent files from a exFAT drive used with Windows - why?
I tried to recover lost files from an exFAT thumb drive with the testdisk package on linux. It was very good at finding deleted files. However as I went through the entries, I saw weird entries. The ...
0
votes
0
answers
219
views
How to unbrick a USB device that I bricked with testdisk?
I have a old USB 3.0 Blue DataTraveller 64 GB that I somehow managed to brick with testdisk. It had a big ExFAT partition and a small FAT16 partition made through Ventoy.
A folders contents didn't ...
0
votes
0
answers
22
views
Recovering removed data if disk space is low?
I'm trying to recover a folder (with files) on Ext4 partition (HDD) using the testdisk utility. But the problem is that at ~30% of scanning it fails, because there is no free space left on the disk... ...
0
votes
0
answers
130
views
GPT partition deleted and unable to mount disk
I accidentally deleted GPT partition table. Now I can't mount or see any data on my HDD. I tried every possible solution on internet instead it got worse. There is no back up.
On disks this is what it ...
1
vote
0
answers
59
views
ddrescue recover LUKS1 partition - specific blocks
I need your help!
I wanted to take hash from partition table in order to crack the old password/passphrase which somehow changed for LUKS1 partition.
I wrongly used dd command. I forgot that backups ...
2
votes
0
answers
156
views
How to find deleted partition
I have some partition table with three partitions. I deleted the third partition with fdisk and next I created new partition on the same place with the same "first and last sectors". How can ...
0
votes
0
answers
570
views
Odd error messages when trying to restore deleted files
A folder with backup files was accidentally deleted from the /home partition on a Ubuntu 20.04 machine. All files in the folder were backups (zip) of the same thing (a Minecraft world) but from ...
0
votes
1
answer
911
views
testdisk - no partition found or selected for recovery
Tried to restore a deleted partition with testdisk. Fortunately when selected the right device the quick analyze function listed the deleted partition. However when I selected the partition by moving ...
1
vote
2
answers
292
views
recovering an overwritten ntfs partition with dd command
I accidentally overwrote an NTFS partition with an iso image with the dd command. I am trying to recover NTFS partition with testdisk, but after disk selection (1.8TB), partition table type selection (...
0
votes
0
answers
272
views
data recovery on ext4 partition
this isn't a duplicate of previous similar questions. Hear me out ...alright. Thought the platform is android . The specific question pertains to ext4 data recovery.
Background
Just y'day ( aka <...
0
votes
2
answers
446
views
Recover Formatted NTFS Partion
Please don't mark this as duplicate -
I have read many other questions and proposed answers and can't seem to get them to work.
I have 3 1TB hard drives, 2 SSDs and 1 HDD. I accidentally deleted the ...
0
votes
0
answers
41
views
Can a NTFS drive with DST error be salvaged?
I have a Windows laptop that suddenly won't boot. Running diagnostics shows that the secondary HD is failing with short DST error.
That's easy enough to fix by getting a replacement, but can the data ...
0
votes
0
answers
29
views
The download files has the same name, but different hashsum
I downloaded "testdisk-7.2-WIP.linux-x86_64.tar.bz2" from 2020 and 2021, they have the name and seems same version, but have different hashsums. Looking inside the packages, one is created ...
1
vote
1
answer
715
views
Recovering RAW, exFAT, NTFS deleted partition from SSD with Testdisk 7.2
today I did a stupid thing like using Windows “diskpart” to try to delete a volume inside my portable SSD NVME 256GB, but instead I type “clean” and I deleted all volumes in that disk.
Inside the ...
0
votes
1
answer
112
views
No space to recover data from a 6TB WD Red NASware
I have a 6TB MyCloudHome which stopped working a few months back. After searching several forums I found that the way to recover my data from it is to buy a docking station and use a linux operating ...
1
vote
0
answers
728
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
1
answer
405
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
0
answers
44
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 ...
1
vote
0
answers
72
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, ...
1
vote
0
answers
409
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
0
answers
78
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
1
answer
469
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
1
answer
576
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
0
answers
2k
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
1
answer
408
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 ...
4
votes
2
answers
33k
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?
-1
votes
1
answer
301
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
1
answer
176
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
1
answer
297
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
1
answer
1k
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
1
answer
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
1
answer
3k
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 ...
2
votes
2
answers
11k
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
1
answer
91
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
0
answers
721
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 ...
5
votes
4
answers
8k
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
1
answer
2k
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
2
answers
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
0
answers
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
1
answer
540
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
1
answer
155
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
0
answers
78
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 ...
3
votes
1
answer
2k
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 MacBook Pro's internal HD.
I have already tried gpart (which gets stuck at &...
4
votes
3
answers
10k
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
1
answer
303
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
0
answers
288
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
1
answer
609
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 ...