Questions tagged [testdisk]
TestDisk is a data recovery utility designed primarily to recover data from deleted partitions.
57 questions
0
votes
0
answers
36
views
How to restore functioning Armbian install who's drive was overwritten?
Through an accidental partition format and dd to copy drive, I have managed to erase partition data from a boot drive with Armbian installed.
I have managed to recover some details about the ...
0
votes
0
answers
107
views
Data recovery from a damaged partition during resize
I use Fedora KDE and I have separate drives for Linux home and root. Recently when both of these were on low storage, I decided to resize my other drive and extend both by 5GB.
After I cut off 10GB ...
0
votes
1
answer
108
views
Troubleshooting RAID1 unbootable disks after CMOS reset
I've been running a RAID1 setup using two Samsung 970 EVO 500GB NVMEs on an Asus Z390 Maximus XI Formula motherboard for the last two years. This is my home server running Ubuntu 22.04 and I chose ...
0
votes
1
answer
159
views
I set the cylinder head sector count to 0, how do I undo this?
I was playing around with testdisk, gdisk and fdisk, and I set the cylinder head sector count to zero by mistake, and the system now reports "no medium". I tried opening the drive with gdisk,...
1
vote
1
answer
539
views
Failed to read extended partition table (offset=x): Invalid argument bad disk partition size
I have a 500GB HDD that will only boot into grub rescue. It appears the partition table has become corrupt as fdisk is reporting one partition being 3.6T. I have run testdisk (results below) but not ...
0
votes
0
answers
164
views
How can I retrieve data from a HDD that couldn't finish os reinstall?
My sister asked me to fix her laptop that couldn't recognise some of the peripheries including the network cards. She hasn't used it for almost a year. First (almost half a year ago) I asked her to ...
1
vote
0
answers
254
views
How to re-create a partition for which I know the old UUID, start location, and size?
I have a LUKS encrypted logical volume which is spread across two physical drives. I use the Qubes OS. The first drive is fine. I did a whoopsie with the partition table of the second drive. But the ...
-1
votes
1
answer
110
views
Will testdisk undelete write over deleted files?
I have an external drive that I accidentally deleted a lot of files off of. I can still see all the files in testdisk and have the option to undelete everything, but will recovering the files onto the ...
0
votes
0
answers
792
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
1k
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
113
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
152
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
376
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
213
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
340
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 ...