Questions tagged [testdisk]

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

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

How to safely decrease size of Linux partition?

I've had 100 GiB of Linux partition in the right place of disk. I've recently increased the size of my Linux partition from 100 GiB to 150 GiB by moving all bytes to the 50GiB left. (don't focus ...
davynci's user avatar
  • 11
0 votes
0 answers
29 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 ...
fugee ohu's user avatar
0 votes
0 answers
89 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, ...
Spectra's user avatar
  • 211
0 votes
0 answers
53 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/...
sayanel's user avatar
  • 367
0 votes
0 answers
125 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 ...
user avatar
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 ...
Parvez Ahmed's user avatar
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 ...
shoebill's user avatar
0 votes
0 answers
205 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 "...
firstname gklsodascb's user avatar
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 ...
JDMcMillian's user avatar
  • 1,462
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 ...
dacomet's user avatar
0 votes
1 answer
164 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 ...
Lingesh kumar's user avatar
0 votes
0 answers
109 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/...
John Mac's user avatar
2 votes
0 answers
254 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 ...
Nick's user avatar
  • 43
0 votes
0 answers
89 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 ...
Maxime Luce's user avatar
0 votes
0 answers
388 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 ...
ali129's user avatar
  • 157
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 ...
Alfonso's user avatar
  • 133
0 votes
1 answer
90 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.
G K Anish's user avatar
1 vote
0 answers
781 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 (...
Dragon Hunter's user avatar
1 vote
0 answers
27 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 ...
Aghiles Lounis's user avatar
0 votes
0 answers
653 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 ...
drab's user avatar
  • 101
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 ...
Cheesecycle's user avatar
0 votes
1 answer
581 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 ...
Sandu Ursu's user avatar
  • 1,028
1 vote
0 answers
185 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 ...
s.k's user avatar
  • 1,270
1 vote
0 answers
379 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 ...
LyNac's user avatar
  • 33
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 ...
jenny92718's user avatar
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 ...
mnemonic's user avatar
1 vote
0 answers
163 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 ...
Rauno's user avatar
  • 11
0 votes
0 answers
421 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 ...
user2426998's user avatar
6 votes
4 answers
27k 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 ...
Johnny5ive's user avatar
1 vote
1 answer
44 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/....
Naghi's user avatar
  • 157
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 ...
Josh Darling's user avatar
0 votes
0 answers
700 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 ...
Chris Hall's user avatar
0 votes
0 answers
307 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 ...
BCAnderson's user avatar
0 votes
0 answers
400 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 ...
j0h's user avatar
  • 14.8k
-1 votes
1 answer
232 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 ...
Ajay Gupta's user avatar
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 - ...
Itamar Katz's user avatar
0 votes
1 answer
340 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 ...
Luiz Felipe de Barros Jordao C's user avatar
0 votes
0 answers
186 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 ...
Moogus Show's user avatar
0 votes
1 answer
575 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....
hkjz's user avatar
  • 1
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 ...
kedarb's user avatar
  • 75
0 votes
1 answer
2k views

PhotoRec extension customization is taking parts not defined in the signature

when i tried to recover my .m files which are considered as .txt for photorec. I tried to add my own extension. After creating .m file containing the word tic while in the .photorec.sig file i added ...
Born New's user avatar
0 votes
0 answers
94 views

Accidently deleted windows partition on Ubuntu

I have accidentally deleted my Windows partition (using fdisk) including the system partition. I was able to recover the partitions using Testdisk however I can't see an option too boot into Windows.
Saeed's user avatar
  • 1
0 votes
1 answer
146 views

In command line I am using testdisk, but the file is not getting located?

I am trying to use test disk on my Ubuntu software version 16.04 using command line (sudo apt-get install test disk) and after typing the password it is giving Unable to locate package test disk. What ...
Thanuja Vudhari's user avatar
0 votes
0 answers
49 views

Ubuntu 18.04 / Windows 10 dual boot error

So I've been trying everything from Boot-Repair to TestDisk to try and fix boot errors after trying to install an older version of Ubuntu. I had both Windows 10 and Ubuntu 18.04 and using grub ...
Karan Vadde's user avatar
1 vote
1 answer
3k views

no outcomes when trying to recover files with testdisk

I've been trying to recover files with Testdisk and lately, it stopped working. on the outcome, it shows "Copy done! 0 ok, 0 failed" how do I fix it?
ice rhymes raven's user avatar
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 ...
LinuxWizzerd's user avatar
0 votes
1 answer
602 views

Why doesn't target destination in Testdisk have a directory tree?

I was using Testdisk in K oppix but I'm sure this applies to Ubuntu. I can find files on the bad partition using the directory tree. I hit c to copy the file and then Testdisk wants the destination ...
Roland L.'s user avatar
0 votes
1 answer
250 views

Ubuntu LiveCD without a graphics card

I have a system with corrupted partition table so it won't boot. What I need is a recovery tool like testdisk to recover the partition table. The problem is this system does not have a graphics ...
AlanObject's user avatar
0 votes
1 answer
484 views

Broken partitions

I just managed to break my partitions (or partition tables) on my dual boot PC. It has a 500MiB EFI Partition, 215GiB Windows 10 and 64GiB Linux. I'm currently trying to fix it using testdisk on linux ...
SoulKa's user avatar
  • 1
3 votes
1 answer
1k views

Can I use ddrescue & Testdisk in ubuntu to create image to recover data? [duplicate]

I mistakely installed ubuntu over my 1tb drive removing essential data and photos which took about 5 mins to install, so I want to know if I can use ddrescue in Ubuntu to create a virtual image of the ...
HorizonBloom's user avatar