Questions about recovering data. Includes data loss due to hardware failure, software failure, and user or administrator failure (accidental delete). Please also add tags for the specific things involved, such as /raid, /ext4, /hard-disk, /rm, etc.

learn more… | top users | synonyms

0
votes
0answers
110 views

Recovering accidentally deleted ext4 partition on DM-0 LVM2 volume spanning across physical drives

I have a setup with some LVM volumes, with following configurations. I accidentally formatted the LV "lvmedia" using the disks program in gnome(I know this was extremely stupid and frustrating) I ...
0
votes
0answers
49 views
+50

Recover formated ext4 partition with file structure

I'm trying to recover from an accidental format of ext4 1TB HDD. I tried virtually all linux tools (extundelete, ext3grep, ext4magic, testdisk, photorec, and others). Some that worked: testdisk, ...
0
votes
0answers
7 views

SSD died after BSOD [migrated]

I was playing a game on Windows 10 when I got a BSoD telling me "Critical process has died", collecting the info took incredible long so I shut the laptop down via ACPI (waited for nearly 20 minutes ...
1
vote
1answer
35 views

Ext4 corrupted and unrecoverable after LVM resizing + power failure

I have a completely standard, single hard drive Fedora 23 desktop. The dual-boot installer set up the Linux partition as LVM, with root, swap and home logical volumes; root and home were both ext4. ...
-3
votes
1answer
25 views

How does ext[n] delete files?

I know that a lot of deleted files can theoretically be recovered, which suggests that "deleting" doesn't actually remove the information. So how do the various extN (e.g. ext4) filesystems delete ...
-5
votes
2answers
66 views

Delete Linux installation from Windows [closed]

I currently have an openSUSE Tumbleweed partition which abjectly refuses to boot the GUI or web-browser. At the moment it just boots to a blank screen with a cursor I can move around and nothing else, ...
-1
votes
0answers
15 views

Mindi module from Mondo Rescue can't find Kernel

I'm trying to recover from an accidental format of a 1TB HDD using Mondo Rescue. Mindi's log is reporting FATAL ERROR. Please use -k <path> to specify kernel. Tried to use all below: sudo ...
2
votes
1answer
18 views

How to undelete only the audio files that might have got deleted earlier?

Today I got upset to see that a few audio files (all under one directory) that were there in my Ubuntu 15.10 system were missing. So, as my system was sometimes used by another person, I suppose it ...
3
votes
3answers
113 views

Recover just deleted scanned pdf without unmounting

I have just deleted a scanned pdf file. I'm trying to recover it with scalpel. The problem is that scalpel will recover many deleted files and names them numerically (e.g. 0001.pdf, 0002.pdf, ... ...
0
votes
1answer
39 views

lvreduce : “No directory, logging in with HOME=/”

I wanted to reduce my home LVM size so I executed the following commands : sudo umount -fl /dev/ubuntu-vg/home lvreduce --size -4G /dev/ubuntu-vg/home As the last command didn't work (apparently ...
1
vote
4answers
7k views

Restoring a big partition to a smaller partition with Clonezilla

Some time ago I created a backup of an EXT4 partition with Clonezilla. Now the HDD crashed and I lost some important data. The size of the image of the partition is 50GB. I tried to restore this ...
0
votes
3answers
111 views

DDRescue taking months but no errors?

'm having a hard time finding others with the same error, and I'm trying to figure out the best path forward. I have a hard drive that was unusably slow, and then stopped booting. The clonezilla ...
1
vote
0answers
101 views

Wrong inode: corrupted f2fs, fsck.f2fs cannot repair

A f2fs partition on my Android phone has recently become corrupted. It will still mount fine; however, I completely lost access to one directory (/data/media/0), which now shows as empty. Yet the disk ...
0
votes
0answers
13 views

Hard disk partition table overwritten -TestDisk recovery

Okay so I'm not %100 if this should be posted here or super user. here's my problem: I've an Ubuntu user for quite some time but had decided to switch over to Mint. While installing I realized I had ...
0
votes
0answers
20 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 ...
8
votes
6answers
7k views

How to clone a NTFS partition (WinXP) from a damaged disk to a new one?

I'm an Italian Windows programmer. I know almost nothing of Linux, so please be patient if the question is dumb and pardon my bad english. I need to clone a NTFS partition from a damaged, near to die ...
2
votes
4answers
51 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 ...
1
vote
0answers
16 views

Dictionary attack GPG symmetric encrypted LUKS keyfile

I remember typing in a long phrase for the password. I wrote all the words I could have possibly used into a plain text file, combining the words I know were used in a certain order. I might have ...
-1
votes
1answer
61 views

Retrieve data from “erased” home partition while installing win7

I had a computer with a windows 7 and I installed lubuntu 14.04 on another partition (I think I shrinked the windows NTFS partition first). I installed lubuntu this way: -> NTFS boot -> NTFS ...
4
votes
4answers
5k views

How do I find the offset of an ext4 filesystem?

I have a failing hard drive that is unable to write or read the first sectors of the disk. It just gives I/O errors and that is all there is. There are other areas on the disk that seem (mostly) fine. ...
11
votes
5answers
46k views

How to salvage an unreadable usb flash drive

I have a 16GB USB flash drive that somehow got corrupted to the point in which even fdisk -l can't find it (I get a one-line error message saying: "Unable to open /dev/sdc") However, it is being ...
1
vote
0answers
14 views

Telling ddrescue to verify read data?

I'm having a very strange behavior reading data files from a CD: The data is inconsistent if I do several copies of the same file from the CD. I don't know the reason (there're no read errors ...
28
votes
4answers
79k views

Recovering ext4 superblocks

Recently, my external hard drive enclosure failed (the hard drive itself powers up in another enclosure). However, as a result, it appears its EXT4 file system is corrupt. The drive has a single ...
0
votes
1answer
66 views

recover files if still being used by a process

I have run into a problem where I accidentally erased the contents of a conf file. I am trying to use the cp and tail recovery process that I saw online but it does not appear to be working. The file ...
1
vote
1answer
37 views

Recover files inside a folder which was replaced by an empty one. (openSUSE, Ext4)

Is there a way to restore a folder or better the containing files and folders of the folder which was replaced by a empty one with the same name? FileSystem: Ext4 OS: openSUSE 42.1 If it is ...
-1
votes
2answers
35 views

Can we recover the data which has been truncated [duplicate]

Can we recover the data which has been truncated by >hello.log. Please help.
15
votes
3answers
19k views

Can overwritten files be recovered?

I am not talking about recovering deleted files, but overwritten files. Namely by the following methods: # move mv new_file old_file # copy cp new_file old_file # edit vi existing_file > D > ...
1
vote
1answer
27 views

Hard drive failure at service provider - how to restore/remount data from/on Raid

First I am not a server administrator - and am volunteering to help a non-profit with a crisis. I start from the beginning. The non-profit has a dedicated server contract with 1&1 internet. On ...
1
vote
2answers
38 views

why lsdel in debugfs doesn't work?

I have the partition /dev/sdb1 with file-system ext3 mounted at /mnt/folder. I touch a file in /mnt/folder and remove that file. Then I use debugfs /dev/sdb1 and then enter lsdel, but it says "0 ...
2
votes
2answers
46 views

How to recover multiple files which has been moved into one?

I was trying to rename (mv) few of my files and ran a wrong loop resulting into renaming all the 10 files into one. Now I can see only one file whereas there should have been ten files. How do I ...
4
votes
1answer
48 views

Is there a tool to create a hard link to an unlinked inode?

Assume you have a filename/directory name, whatever, which is hard linked to inode 6400. Alas, the file/directory actually exists (completely intact, and maybe it only lives in a single data block, ...
48
votes
7answers
21k views

Recovering accidentally deleted files

I accidentally deleted a file from my laptop. I'm using Fedora. Is it possible to recover the file?
1
vote
2answers
53 views

System will not boot because boot partition is missing?

I deleted my boot partition several day ago and have not been able to recover it. To fix it, I installed the same image with the same parameters on a flash drive and then copied that boot partition on ...
-2
votes
1answer
31 views

How to get files from broken directory? [closed]

I created some files and directories on external NTFS HDD using Ubuntu. Some folders displayed with cross sign, I changes permissions for them (777), now they just as a files. Copying of directory ...
1
vote
1answer
33 views

why are those removed files not found in any package?

Accidentally i removed files from /usr/local/bin in a custom OS based on Centos 6.4 release, then i tried to figure out which package used the files (python scripts): /bin/rpm -qa | while read f;do ...
0
votes
1answer
47 views

Hard disk power cable possibly slipped out during copying - now directories empty, error shows “dir: cannot access .: input/output error”

I am pretty sure the powercable to one of my harddisks fell out during copying. The result was two personal backup directories are now empty, but still extant, while the rest of the directories are ...
3
votes
2answers
49 views

Inspecting vi .swp file to preview recovery

Feel free to close this as a dupe if you can find a question that deals with this case. This is NOT about HOW to recover a .swp file in vi. I'm not sure if I want to recover. I want to preview what ...
46
votes
9answers
187k views

Unix/Linux undelete/recover deleted files

Is there a command to recover/undelete deleted files by rm? $ rm -rf /path/to/myfile How can I recover myfile? If there is such a tool how can I use it?
0
votes
1answer
32 views

How to issue a tar command when you restore your system

I've recently created a tarball backup of my Ubuntu system (/ and /home partitions both ext4). When I was creating a backup I booted off Live DVD and I used a tar command. Now I wonder which would be ...
8
votes
3answers
24k views

Recovered deleted files on Mac by command line

I accidentally deleted a file by running: rm -rf ./Desktop/myScript.sh I think it's possible to recover the file, because the rm command removes temporarily. How can I recover the deleted file on ...
-1
votes
2answers
2k views

How to recover NTFS drive formatted in ext4?

I just installed Linux Mint 17 and when it asked me where to install it I selected the option to overwrite the old Mint 14. Previously I had also windows with NTFS partition of 900GB. Not it is all ...
1
vote
1answer
36 views

What format gives photorec to files?

I have to recover a file from my usb. I didn't find it on the net. How does photorec call files of unknown format? For instance, I have a file named *.jks . How can I find it in the recovered ...
3
votes
1answer
205 views

Recover LVM (on RAID1): No volume groups found. Partition table erased?

I'm trying to recover a LVM (no encryption) on a RAID1 using Debian Live. Apparently, the RAID1 can be assembled without issue, but the LVM is broken. You may skip to LVM section. The RAID part is ...
9
votes
4answers
50k views

How to mount/recover data on a disk that was part of a mdadm raid 1 on another machine?

Some background The disk itself was "worked on" by a friend and is said to be still intact, undamaged and still mountable/recoverable The disk was part of a software raid 1 on Ubuntu 12.04 The other ...
1
vote
0answers
15 views

Snapper - how to undo changes, preserving timestamps?

I've damaged modification dates of files on my drive and I wanted to revert them using snapper snapshots but it doesn't seem to work, snapper only reverts content of files not modification dates. ...
0
votes
0answers
20 views

How to recover data from an SD card with incorrectly detected size?

How can I recover a SD card with incorrectly reported size? (The answer to this question is not given in How to recover data from a bad SD card? ) This question is specific to recovering an SD card ...
10
votes
3answers
2k views

How can I recover after Kate crashes?

I use Kate for coding and note-taking. Sometimes it crashes - often when I've got a lot open. Unsaved 'real' documents (eg, ones backed by files, that have been saved at some point) usually have a ...
1
vote
1answer
34 views

destroyed folder now without directory attribute

I tried to read some videos from the memory card of my digital camera. It wasn't possible to access the DCMI Folder, because there was no directory attribute. The expecting DCIM folder was a 0-byte ...
1
vote
0answers
36 views

Bulk move files back to where they came from

What happened I'm in quite a mess right now after having clamscan scan over my windows part of the system and move all found files (which apparently includes PUA's) to a directory on another drive. ...
3
votes
3answers
142 views

How can I read a linux hard disk from Windows?

I have a PC with Ubuntu (I think it's 14.4). Pretty recently it completely broke down (motherboard (again)). I want to get rid of it, but on the hard disk there are a lot of photos I want to keep. I ...