Data recovery is the process of salvaging data from damaged, failed, corrupted, or inaccessible secondary storage media when it cannot be accessed normally. Use this tag when you want refer to one of the problems stated up.

learn more… | top users | synonyms

44
votes
9answers
54k views

How to recover deleted files?

Are there any tools, methods, incantations to recover recently deleted files on Ubuntu? If it makes any difference, I want to recover a Keepass 2.x database file. But would be better to have a ...
22
votes
1answer
19k views

What's the difference between ddrescue, gddrescue, and dd_rescue?

The dd command is commonly used to make image backups of a drive or partition. However, it performs poorly if the source drive is unreliable or failing. I read that ddrescue/dd_rescue is a good tool ...
14
votes
2answers
24k views

How do I recover my accidentally lost Windows partitions after installing Ubuntu?

I have a Toshiba satellite A-200 laptop with a Vista OS on it with 4 NTFS partitions (C:) Vista (D:) Entertainment (E:) Work (F:) Sources and I wanted to start using Ubuntu instead. So I tried ...
12
votes
2answers
882 views

Revert moving root directory recursivelly

I have an Ubuntu Desktop used as a Server. This morning I accidentally moved all my root to ../ root@server:/tmp/UPS/up/upsilon# mv /* ../ mv: impossibile spostare "/dev" in "../dev": Dispositivo o ...
11
votes
2answers
20k views

Accidentally deleted a folder

I've been using Ubuntu 12.04 and accidentally deleted a folder using Shift+Del. Does anyone have any idea how to recover the folder?
9
votes
4answers
7k views

Formatted and lost 6 years worth of photo memories.. any way to get this back?

I usually back up before formatting and doing a re-installation of Ubuntu, it was in the process and then obviously stopped prematurely but I was thinking all my data was transferred. After ...
8
votes
2answers
59k views

How to recover a deleted NTFS partition with data

I am on Ubuntu 12.04 64-bits I accidentally deleted a NTFS 255 GB partition using Gparted, and yes it contains LOTS of important data. Upon realizing the deletion I haven't yet created any ...
7
votes
3answers
3k views

Is it possible to recover a secret key from a GPG public key?

I have lost the GPG keys I use for Launchpad and email encryption, along with my entire ~/.gnupg folder. Can I recover them using the public key?
7
votes
2answers
269 views

Is there a way to recover a file that I have deleted but is still open somewhere?

This question is related to How to recover deleted files? but it is slightly different in nature. Suppose I have a file named ~/something open in a text editor. Further suppose that I open a terminal ...
7
votes
3answers
37k views

Best tool to recover removed files [duplicate]

Possible Duplicate: How to recover deleted files? Using Ubuntu 10.10, I have a startup script that automatically removes my 'working directory'. This is a simple folder on my Desktop where ...
6
votes
4answers
5k views

How to recover from 'sudo rm -rf' command?

By mistake, I ended up executing rm -rf / command from sudo on my laptop which erased many files before it stopped. Now when I restarted my system , it drops to this prompt: GRUB rescue>_ I am ...
6
votes
2answers
12k views

Deleted Partition Recovery

I was installing ubuntu 12.04 on my system. There were 4 partitions on my system and I selected one of the four partition for the installation and chose the option of resizing the partition. Initially ...
6
votes
1answer
2k views

Is there a usable GUI version of Photorec or Testdisk?

I wanted to recover some files from my sd card with Photorec, everything went fine, I use Ubuntu for a few years now, so I've seen the terminal quite a few times. BUT I wondered if a GUI version of ...
6
votes
2answers
17k views

Retrieve files deleted by command rm in terminal

Here's a summary: I was programming using java and accidentally, instead of using the rm *.class command in the command-line, I used rm *.java. It took me a lot of time to finish that code. I hope ...
6
votes
1answer
97 views

Wiped data, and duplicated folders into files

Something weird happened today, and I dont know how. Within a folder, all folders have a file by the same name, with a colon appended to it. And all the files from the most inner-most directory in my ...
5
votes
1answer
5k views

Recover accidentally removed files on NTFS partition

I accidentally removed some files on a NTFS partition How can I recover them staying inside Linux without0 rebooting ?
5
votes
2answers
122 views

ext4 File System got damaged due to improper write

This is what happened, I inserted my (important) external HDD into a RedHat 6 machine, did my task's, unmounted the drive via Nautilus, and physically detached the drive from the machine (and now I ...
5
votes
3answers
10k views

'Unable to mount Filesystem' Error

Trying to extract data from a 'bricked' Western Digital MyBook Live 2tb drive. I came across a forum that advised to use Ubuntu (booted from a CD) on my Macbook. Managed to download and create a ...
4
votes
3answers
2k views

need to recover data from a data hard disk that I used testdisk on in my attempt to repair mbr from a rootkit virus

Before I begin to say what my situation is here, please know i would be FOREVER GRATEFUL for anyone who can help me out with this mess. I have photos on here from years and years of painstaking work. ...
4
votes
4answers
3k views

How to recover data from a failing hard drive?

An external 3½" HDD seems to be in danger of failing — it's making ticking sounds when idle. I've acquired a replacement drive, and want to know the best strategy to get the data off of the dubious ...
4
votes
2answers
838 views

Does selecting “Remove Windows” option during install remove all my Windows partitions?

I had Windows 7 installed on my laptop, I installed Ubuntu and chosen the option to delete everything. But when I clicked that, it deleted my windows 7 partitions. C: Windows E: Documents F: ...
4
votes
2answers
4k views

ddrescue: safe to stop while “Splitting failed blocks”?

Trying to clone a failing disk with ddrescue sudo ddrescue -r 3 /path/to/home /destination/ logfile It's been running for about 10 days! Now it's Splitting failed blocks and hasn't read anything ...
4
votes
2answers
1k views

How to recover a lost partition on Ubuntu?

I had two Linux OS installed on my machine: Backtrack 5 Gnome and Backtrack5 KDE. I updated the Gnome version and when I rebooted my Grub2 boot manager displayed a grub rescue> command line. I ...
3
votes
2answers
229 views

Is there any way, to make Ubuntu resistant to corruption of data?

I was using Ubuntu 14.04 when due to power interruption, my computer was shut down. On reboot, it was corrupted and I lost all my data.I want to reinstall Ubuntu again, is there any way,other than ...
3
votes
2answers
4k views

How to recover data from NTFS partition that was made into a Swap partition?

I have extremely important stuff on my windows partition which during the ubuntu 10.10 installation,when it said that I should create something called swap space, I selected it to be a swap space ...
3
votes
2answers
9k views

Recover files from NTFS drive with bad sectors

A few nights ago I have created a backup of my data on an external 500 GB NTFS USB hard drive. I have then formatted my computer, reinstalled Ubuntu and started transferring back the data from the ...
3
votes
3answers
64 views

Formatted PC by mistake [duplicate]

I have Windows installed on my PC. I have tried to install Ubuntu 14.04, but unfortunately instead of creating a new partition, I chose the first option "Erase everything". I canceled it, but when I ...
3
votes
2answers
2k views

Is it possible to restore my lost photos from memory card?

My memory card was found yesterday, but I found the photos stored in it have gone, is it possible to restore them back? If so, how? Please recommend some affordable program and works for my memory ...
3
votes
1answer
1k views

How to recover from wiping by dd a partition table on external disk?

Yesterday I used dd to write an OS into my Raspberry Pi flash card. Even though all my commands ( I checked history ) were for /dev/sdd which was the flash , when I checked my external drive(500GB) ...
3
votes
1answer
3k views

How to recover data from old encrypted hard drive?

I am trying to work out how to recover the data from the hard drive that was in my old laptop. It was running the latest ubuntu and I am now running Ubuntu satanic 11.04 as i do not like 11.10. Uhe ...
3
votes
2answers
2k views

All files erased after installing Ubuntu [duplicate]

Yeah, I know I should have backed up my files before proceeding, I completely forgot. Well, the thing is that I had a dual-boot system with Windows 7 and Ubuntu 10.10. Yesterday, I installed Ubuntu ...
3
votes
1answer
106 views

Is it possible to recuperate a file overwritten by Ubuntu One?

I had an .odt file which was synced via Ubuntu One. I made changes on the file on my Ubuntu Computer. To check whether the file was synced I opened it on my Windows computer. It was not synced, but ...
3
votes
1answer
58 views

Move GZ archives with specific content

After a restoration of my HDD with PhotoRec I have a folder with 36,500 GZ archives. Of those, around 200 are very important for me. Each of these archives contains exactly one TAR archive. These TAR ...
3
votes
1answer
2k views

How to recover a file after deleting and merging multiple partitions?

I've used all my web search skills to make sure this question wasn't already asked. So here is my unique situation. My 320GB hard drive had 5 partitions - let's call them A, B, C, D and E ­٠A: ...
3
votes
1answer
830 views

Can I use testdisk to recover the Windows partition over which Ubuntu was installed?

I got a new Windows 7 laptop, tried to install Ubuntu 12.04 for dual boot and messed up my hard drive partitions. So opted for a clean install of Ubuntu by formatting the entire disk. (Which makes my ...
3
votes
1answer
144 views

usb drive wiped during install

Yeah I tried to install ubuntu on my computer and instead it wiped my USB drive (which has critical files) and now there's ubuntu 'installed' on my USB drive. How do I get my files back?!?!
3
votes
1answer
189 views

After installing ubuntu 14.04 my windows 8.1 seems to be missing?

I installed ubuntu 14.04 when it was still in beta, and I clicked the option run along side windows. It seems that it didnt actually do that or possibly broke the boot for it something. I am still ...
3
votes
1answer
362 views

Recovering data from hard disk after an accidental Ubuntu reinstallation

My computer got wiped accidentally due to a fresh Ubuntu installation. Since the drive contains very important data and codes, it would be really great if the same could be recovered. It is a 2TB ...
3
votes
1answer
753 views

Mount an image created from ddrescue

I know this question has been asked before, but following those answers does not seem to work for me. I have created an image of a USB stick this is on my laptop harddrive. How do I mount this ...
3
votes
1answer
5k views

Repair ext4 filesystem on USB drive [closed]

Yet another filesystem question. I wanted to use a USB drive that I hadn't mounted for a month or so and was surprised by the fact Ubuntu was unable to mount it. I looked it up in the disk utility and ...
3
votes
1answer
155 views

Recover deleted encrypted home dir after Ubuntu install over partition

I had an encrypted home dir in my Ubuntu partition (system and home together). I left the live usb plugged in and someone reinstalled Ubuntu over that partition. I read all I could on the net about ...
3
votes
0answers
728 views

How can I recover my data after choosing “Erase disk and install Ubuntu”?

I installed Ubuntu 12.04 on my laptop and chose the option "Erase disk and install Ubuntu" from liveUSB without any backup. When I realized that this would format my whole HDD, I immediately unplugged ...
3
votes
2answers
2k views

rescue data from usb disk - don't want to format

I have a problem with my usb flash disk. It's a Kingston Datatraveler. I use it intensely, and since yesterday it has become corrupted. I can't remember that I took it out before dismounting (or ...
2
votes
3answers
4k views

Unallocated space with important data

I used GParted to convert a primary partition to extended one after copying the data to another partition. After having the extended partition I moved the data back. To my utter shock after a restart ...
2
votes
3answers
293 views

Recover data from formatted LVM (Luks, Ext3) after Ubuntu installed over it

I have a 1TB HDD and some days ago I did a mess That disk had: One EXT3 partition ( / ) One EXT3 partition ( /boot ) One LUKS LVM which had a EXT3 partition of about 200 GB I wanted to replace ...
2
votes
4answers
60 views

Protection For rm

I sometimes work with my server over ssh. I don't want to lose anything because of an accidental rm. Is there a way of creating a trashbin for my server? I know it sounds stupid, but I just want to ...
2
votes
1answer
247 views

Partitions disappeared after power loss while installing

I had Ubuntu 14.04 LTS installed on my Laptop. After a while I had some troubles starting it up. I decided to reinstall Ubuntu. I had 3 ntfs partitions, 2 ext3 partitions the mount point for the ...
2
votes
3answers
1k views

Windows Vista disappeared after installing Ubuntu10.10?

I had Windows Vista Ultimate SP2 160 GB HDD, 1GB RAM,INTEL DUAL CORE One of my friend told that UBUNTU is also a better OS and is an open source programme and u can use alternately both Ubuntu or ...
2
votes
1answer
465 views

accidentaly deleted partition when installing ubuntu

As the title says I deleted my HDD partition while trying to install ubuntu 13.04. I installed windows 7 to get a recovery software (Phoenix recovery) I chose to recover after formatting but of course ...
2
votes
1answer
94 views

photorec alternative for scanning ram dumps?

I want to scan some RAM dumps for files. I was hoping I could use PhotoRec, but it prompts me to select a hard drive, and not scan from a file. Is there a way to do this? Thanks!