Questions tagged [testdisk]

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

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

/dev/sda5 : recovering journal, clean files block error(solved)

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 ...
user avatar
0 votes
0 answers
23 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 "...
user avatar
2 votes
0 answers
51 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 ...
user avatar
0 votes
0 answers
46 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 ...
user avatar
0 votes
1 answer
29 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 ...
user avatar
0 votes
0 answers
31 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/...
user avatar
2 votes
0 answers
103 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 ...
user avatar
  • 43
0 votes
0 answers
43 views

Tried resizing volume / filesystem and now the system is unbootable

========== 2021_10_25 ========== We are trying to claim back some data storage on our our bare metal hypervisor. We first used the lvreduce command to trim the filesystem to the desired size. Secondly;...
user avatar
0 votes
0 answers
45 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 ...
user avatar
0 votes
0 answers
121 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 ...
user avatar
  • 157
1 vote
0 answers
263 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 ...
user avatar
  • 121
0 votes
1 answer
76 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.
user avatar
0 votes
0 answers
52 views

Problem in restore file in testdisk

I deleted an important file and want to restore with testdisk, but I have problem: 1- I selected "create". 2- I selected the hard. 3- I selected partition table type (EFI GPT). 4- I selected ...
user avatar
1 vote
0 answers
182 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 (...
user avatar
1 vote
0 answers
25 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 ...
user avatar
0 votes
0 answers
152 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 ...
user avatar
  • 101
0 votes
0 answers
712 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 ...
user avatar
0 votes
1 answer
105 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 ...
user avatar
0 votes
0 answers
121 views

Restore Session Buddy files from deleted `.config/google-chrome`

I use the Sessions Buddy Chrome extension to compartmentalize interesting links to different domains of interest. Today, I've got a notification from Chrome saying that I should reinstall it (the ...
user avatar
1 vote
0 answers
143 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 ...
user avatar
  • 680
1 vote
0 answers
244 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 ...
user avatar
  • 33
3 votes
1 answer
564 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 ...
user avatar
0 votes
0 answers
87 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 ...
user avatar
1 vote
0 answers
134 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 ...
user avatar
  • 11
0 votes
0 answers
273 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 ...
user avatar
6 votes
4 answers
12k 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 ...
user avatar
1 vote
1 answer
32 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/....
user avatar
  • 157
0 votes
1 answer
30 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 ...
user avatar
0 votes
0 answers
337 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 ...
user avatar
0 votes
0 answers
264 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 ...
user avatar
0 votes
0 answers
168 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 ...
user avatar
  • 14k
-1 votes
1 answer
184 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 ...
user avatar
0 votes
1 answer
78 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 - ...
user avatar
0 votes
1 answer
188 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 ...
user avatar
0 votes
0 answers
120 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 ...
user avatar
0 votes
1 answer
359 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 <grenier@cgsecurity.org> http://www....
user avatar
  • 1
1 vote
1 answer
5k 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 ...
user avatar
  • 65
0 votes
1 answer
1k 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 ...
user avatar
0 votes
0 answers
52 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.
user avatar
  • 1
0 votes
1 answer
78 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 ...
user avatar
0 votes
0 answers
47 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 ...
user avatar
0 votes
1 answer
2k 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?
user avatar
3 votes
2 answers
7k 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 ...
user avatar
0 votes
1 answer
453 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 ...
user avatar
0 votes
1 answer
109 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 ...
user avatar
0 votes
1 answer
367 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 ...
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 ...
user avatar
1 vote
1 answer
681 views

how to restore unbootable drive using testdisk

I accidentally erased my sister's entire hard drive and made a new partition table while tying to formate a USB and now the laptop gives me this screen on boot up https://i.stack.imgur.com/KUsSg.jpg ...
user avatar
  • 85
1 vote
0 answers
66 views

Testdisk: Finds my partition, then forgets it

When testdisk analyses my hard disk, it finds the lost partition and even the label 'Storage', which looks good at first. But when the scan goes from 99% to 100%, the (multiple copies) of the linux ...
user avatar
1 vote
1 answer
484 views

I accidentally formatted my C: drive while I was using Ubuntu [duplicate]

My C drive had Windows installed and all of my important files. I know there is a way to try to recover it using testdisk. But I wanted to know if there are anythings that change since the dive I want ...
user avatar
  • 111