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

7
votes
5answers
22k 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 ...
3
votes
1answer
16 views

RAID-1 doesn't Assemble, elements listed as SPARE, how to recover?

I recently moved my Kubuntu 12.04 workstation to a new location. It was shutdown normally but when I rebooted it in its new home the RAID-1 array /dev/md0 was GONE! The Elements of the array are ...
2
votes
1answer
32 views

How to find password, knowing username on broken file system

My external HDD got broken. It was formatted with NTFS. In one of the files I had my login and password stored in plain text. Is there any possibility to find this password by looking for the ...
1
vote
2answers
26 views

data recovery from form 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 ...
26
votes
6answers
9k 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
0answers
142 views

/home partition recovery

Unhappy with Gnome 3 in Ubuntu I tried Mint 14. Had a backup of my home partition. During the Mint installation I designated my old home partition, and when it booted everything was fine. There ...
0
votes
2answers
2k 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 ...
4
votes
2answers
321 views

Recover single file in the $HOME directory

I accidentally run rm -r /home/xralf and quickly killed it with Ctrl+C. It seemed that everything is OK, but I noticed that my .vimrc, which is importent for me, is missing. I tried the command: $ ...
1
vote
3answers
78 views

Recover data from damaged hard Drive - External USB HDD

I am helping a friend to recover data from damage external hard drive . (USB 2, 120GB, WD, single partition, FAT32) Problem: When plug in this HDD into a windows PC, the HDD can be detected, but ...
2
votes
1answer
26 views

Recover data from HDD

This Monday I wanted to make a boot-able USB-Stick with a Knoppix .iso on Linux. I used the "dd" command to do this. Situation: 1. Laptop with Linux Mint on it 2. HDD mounted to System (.iso File ...
3
votes
2answers
543 views

extundelete does not finish its work

I need to restore a file on sda7 so I remounted ro und startet extundelete manuel@P5KC:~/recovery/RECOVERED_FILES$ sudo extundelete --restore-all /dev/sda7 WARNING: Extended attributes are not ...
8
votes
4answers
2k views

What filesystem offers best protection for securing data against corruption due to power loss?

I am running a small uClibc and busybox based embedded system on an x86 device. I am using an initramfs but I also mounting a custom ext3 directory on a compact flash device in IDE mode that I am ...
0
votes
0answers
36 views

Data deleted accidentally [duplicate]

I installed ubuntu 14.04 by replacing win 8.1 and then all my partions are gone.I thought it would replace the sytem files in C only but all my partions are deleted.So i want to know if there is any ...
4
votes
1answer
28 views

Cannot mount LVMm: resume ioctl on failed

I wanted to resize my LVM, followed some tutorial on the net and the system totally crashed (I got some boot error with UUID not found). I ran a LiveCD and tried to at least recover some files but I ...
1
vote
1answer
1k views

LVM not coming up after reboot, couldn't find device with uuid

Had a VM that was, up until recently working without issue, but needed to be rebooted after some configuration changes. However after rebooting the VM didn't come back up, saying it couldn't find the ...
3
votes
1answer
40 views

Approximate partition table backup with sfdisk

I wanted to convert some logical partitions to extended ones, so I was following this accepted answer. However, at the step of backing up my current partition table, I messed up and typed the ...
0
votes
1answer
45 views

Linux: Recovering a deleted dir that another terminal is still cd'ed into

I accidentally deleted the dir, /path/to/dir, and all its contents from an application. However, I still have a terminal window open, still cd-ed in /path/to/dir! Q: Is there any way to recursively ...
0
votes
2answers
47 views

LUKS-encrypted text file is garbled

I have a USB disk encrypted with LUKS. Immediately after mounting the disk today, I find that a recently edited text file contains seemingly random characters. All other files that I have checked, ...
5
votes
2answers
2k views

Is this ddrescue command doing anything?

In the course of trying to recover data from a failing hard drive, I am running the command ddrescue. The command has been running for 9 days, and I thought from the sound of disk activity that maybe ...
13
votes
7answers
22k 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
41 views

How to I check or recover a hard disk drive that will not mount

I have a one Terabyte hard disk drive (USB3) that suddenly will not mount. My local computer expert (Windows only) had a look at it with his software and said that it is not a hardware problem. What ...
2
votes
2answers
6k views

ext3 root filesystems goes read-only with aborted journal even after repairs

Short version: ext3 root filesystem on rackspace (xen) VM detects aborted journal on boot and mounts read-only. I've attempted to repair this from a rescue environment with tune2fs and e2fsck as ...
8
votes
5answers
25k views

How to recover data from a bad SD card?

I have a 4GB SD card with some family pictures on it that I need to recover. When I insert the card into my card reader, it shows up as an unknown 32MB device (as /dev/sde) and cannot be mounted. When ...
1
vote
2answers
88 views

Accidentally reformatted /dev/sda1 - any hope for recovery?

All day today, I've been reformatting a USB flash drive repeatedly and I was doing this multiple times in a row, and I began to grow a little too careless... Without paying attention, I accidentally ...
9
votes
2answers
3k views

File damaged/lost during transfer? Recovery possible?

I was at uni a few days ago when I attempted to cut and paste a 500Mb file (a 3gp video recording) into my H drive on one of the uni network's Linux (Debian KDE 3.5) computers. I did not see any ...
0
votes
0answers
91 views

Recover MultiPartition HFS+ Drive with safecopy (Kali Linux)

So a friend of mine has a mac hard drive that she desparately needs the data off of. It will not boot in the macbook. And cannot be mounted in windows. I can make a copy with Safecopy, however when I ...
2
votes
3answers
101 views

How to repair a file system corruption?

Debian on external USB SSD drive. There was some error in dmesg log file: ...[ 3.320718] EXT4-fs (sdb2): INFO: recovery required on readonly filesystem [ 3.320721] EXT4-fs (sdb2): write access ...
3
votes
4answers
3k views

Recover files from corrupt DVD

I have a DVD+RW containing a lot of images and videos. Multiple DVD drives fail to read or mount it. I tried to follow this to try and recover the files using DVDisaster, and have created an iso file. ...
0
votes
0answers
21 views

Attempting to recover git archive

I'm attempting to recover a deleted git repository. After attempting to use testdisk, and other tools such as extundelete and scalpel, I found that having the headers/footers of files is key to ...
29
votes
2answers
1k views

Why did powering down my machine after a bad `rm` save my files?

Classical situation: I ran a bad rm and realized immediately afterwards that I had removed the wrong files. (Nothing critical and I had tolerably recent backups, but still annoying.) Knowing that ...
0
votes
0answers
22 views

lvm not coming up after multiple reboots, couldn't find a device with UUID

I am really confused. I have rebooted my RHEL system after more than 6 months uptime only to find it is giving me this error: Couldn't find device with uuid WetODA-57Jc-c4XM-WRwS-I2Db-4AYV-uDRfA0 ...
3
votes
3answers
6k views

How to recover a corrupted “tar.gz” file

I suddenly needed to recover an old tar.gz file, but as soon as I execute so: tar -zxvf filename.tar.gz I get this: gzip: stdin: invalid compressed data--format violated tar: Child returned ...
-1
votes
2answers
39 views

Recover data from linux partition

Somehow I managed to really mess up my debian installation and I will have to reinstall it. However I have some data on the partition that I really want to save. Is there any way to access the data on ...
0
votes
1answer
96 views

How to Recover Data in LINUX MINT Quiana [duplicate]

Can I recover deleted files in LINUX MINT 17 Quiana. I have deleted my folder containing data with shift+delete. Now, I want my data back.
1
vote
1answer
22 views

How to interpret the output of safecopy

Just as an example, this is one typical output line. ...........................[12767109](+112394240){X [12792709] X}[12818309](+209715200) I have gone through the DESCRIPTION OF OUTPUT in ...
3
votes
3answers
4k views

Recovering data from a damaged hard-drive: the “freezer trick”

I'm currently in the business of recovering data from a damaged---and dying---hard-drive (check this question for background info). The drive was dropped while the system was running; and while ...
0
votes
1answer
91 views

can you recover lvm metadata without access to /etc/lvm/?

I just installed Manjaro on to a externalized usb hard drive. After I was done, I tried to boot from my previously working Mint distro (no full-disk luks) on my internal hard drive. The lvm volume ...
2
votes
0answers
28 views

recover lvm after loosing partition table

On one of my hard drives had a few physical volumes/partitions and lvm on them. And then I lost partition table. I still have files from /etc/lvm/* how can I recover my data?
1
vote
1answer
30 views

How are files or chunks delimited on disk?

I'm trying to recover some lost files by grep-scanning a hard disk. (The OS is Darwin 11.4.2. The file system is HFS.) How can I determine where a file (or contiguous chunk thereof) begins and ends ...
-1
votes
1answer
28 views

Recover file from previous installation? [duplicate]

I recently wiped an old ubuntu server of mine and installed debian, but i forgot to backup a very important file. I know there is a chance that the computer has already wrote over the file, but what ...
35
votes
2answers
714 views

How did `git pull` eat my homework?

I feel like a kid in the principal's office explaining that the dog ate my homework the night before it was due, but I'm staring some crazy data loss bug in the face and I can't figure out how it ...
-1
votes
2answers
549 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 ...
0
votes
0answers
193 views

Recovering windows partition in Mint (testdisk fails)

Yesterday I messed up my partitions, wanting to replace Ubuntu with Mint. My other partition had Windows 8 on it. I booted Mint from a live USB and started the Mint setup. I selected the option to ...
3
votes
0answers
82 views

Linux boot with broken partition

I have two ext partition on my linux One for / And one for /home I wanted to reduce (with this method) the home partition (which was only something like 10% filled) to create a new partition for ...
3
votes
2answers
7k views

Undo rm -r, restore data

I was playing around with zip and accidentally deleted my /home/ folder (I wanted to delete home/ which got created by unzipping an archive). I used rm -r /home/instead of rm -r home/ as root. Is ...
4
votes
2answers
384 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 > ...
5
votes
1answer
4k views

How to recover most recently deleted directories on NTFS partition

In Nautilus under Ubuntu 12.04, I accidentally selected several directories on a partition and deleted them at once (unfortunately, I deleted them by Shift+Delete such that they don't remain in ...
1
vote
1answer
36 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 ...
4
votes
2answers
13k views

How to repair a corrupted HFS+ partition from a damaged hard-disk?

I have a friend's Mac OS X disk that comes with an HFS+ partition. I am supposed to recover the personal data from this disk, and I'm not yet sure if the filesystem is corrupted or the disk is dying). ...
0
votes
0answers
47 views

ext4 data recovery from gparted error

During resizing and moving 2.7TB partition in Gparted, I encountered an error that froze the whole program. (I dont have a screenshot or output from it, as fas as I remember, it was something about ...