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 (1)

46
votes
10answers
64k 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 ...
32
votes
5answers
135k views

Adding SSH Keys to Authorized_Keys

I have an Ubuntu server on Amazon EC2, that I use for development, and today I stupidly cleared everything out of the authorized_keys file for SSH. Luckily I have an SSH open, so I am still ...
24
votes
1answer
23k 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 ...
23
votes
5answers
13k views

Can files/directories deleted with rm be restored?

Is it possible to restore files/directories which are deleted from terminal using rm and rm -r?. If a file is deleted from graphical interface, it could be restored from trash, but how do you restore ...
20
votes
2answers
40k 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 ...
18
votes
1answer
515 views

How can I make my laptop “phone home” if it ever gets stolen?

If my laptop ever gets stolen, I want it to make an attempt to "phone home" so that I can track it down. What can I set up to accomplish this?
14
votes
4answers
5k views

Recover deleted data with rm -rf on Wubi?

I accidentally deleted /home with sudo rm -rf. I tried to restore it with testdisk, but because Ubuntu is from Wubi, it cannot list the filesystem and I don't know another way to do this. How could ...
12
votes
2answers
1k 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
28k views

Tool for recovering deleted data from a flash drive

What is the best tool for recovering deleted data from a flash drive (pen drive)?
11
votes
2answers
23k views

Accidentally deleted a folder [duplicate]

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?
11
votes
5answers
3k views

Is there a way to recover files from a storage device partially overwritten with dd?

I'm an idiot, I was writing an image to a USB drive using dd when instead of typing /dev/sdb I typed /dev/sdd and wrote the 135mb image to my 750gb External Hardrive full of files. Is there ANY ...
9
votes
4answers
8k 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 ...
9
votes
4answers
15k views

Is there any recovery software available for ext4?

Well, I have accidentally deleted my Ubuntu drive. I just want to recover all the contents of /home. Is there a way to do it? I referred to foremost, where I need to specify the extensions of files. ...
9
votes
3answers
5k views

How can I make an Ubuntu recovery image on external media?

I am about to expand my Ubuntu partition, so I think I should make a backup of current one in case something goes wrong. Is there some software to make a bootable USB and recovery image?
8
votes
4answers
12k views

Mounting ddrescue image after recovery (in over my head)

I'm having problems mounting the recovery image. I've tried to mount the image multiple ways. quark@DS9 ~ $ sudo mount -t ext4 /media/jump1/1recover/sdb1.img /mnt mount: wrong fs type, bad option, ...
8
votes
2answers
63k 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 ...
8
votes
2answers
12k views

How do you recover from a failed upgrade ('apt-get -f install' and 'dpkg --configure -a' fail)?

During an upgrade from lucid (10.04) to precise (12.04), the X session froze, and I have been trying to recover the upgrade to get a stable system. I have performed the following steps: Used ssh to ...
8
votes
4answers
5k views

Anyway to make a liveCD from my current installation?

Remastersys is no longer maintained and UCK as well as Live-Magic aren't exactly what I'm looking for as they remaster a livecd. What I'm aiming for is something like PCLOS's makelivecd so I can have ...
8
votes
0answers
20k views

Retrieve files deleted by command rm in terminal [duplicate]

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 ...
7
votes
3answers
4k 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
4answers
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. ...
7
votes
2answers
283 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
39k 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 ...
7
votes
2answers
5k views

How do I get my USB keyboard to not freeze up in the recovery menu? [closed]

I am using Ubuntu 11.10, and whenever I enter the recovery menu, my keyboard freezes and I can't make any selections. I have tried using GRUB_PRELOAD_MODULES="usb usb_keyboard" but this doesn't help ...
6
votes
2answers
6k views

Ubuntu deleted files from guest account desktop

I have Ubuntu 12.10 and was using guest account. I downloaded some files on desktop and shutdown my m/c after use. Now today when I logged in to guest account to copy those files but surprisingly ...
6
votes
4answers
6k 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
9k views

Recovering user files with a Live CD

For some reason my bootup isn't working. I get an error akin to "Operating System Not Found". So I tried bootrepair, and that didn't work. So then I decided I would just save my personal files, wipe ...
6
votes
1answer
8k views

Recovering Files from a Corrupt CD/DVD

I have certain old CD/DVD's which are not in good condition. I want to recover from them anything that can be recovered. in windows you had software like Isobuster and Cd Recovery which will let me do ...
6
votes
2answers
13k 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
7k views

Enable Wi-Fi in Recovery Terminal

How do I enable WiFi from the Ubuntu 11.10 netroot recovery terminal? After just 12 hours with Ubuntu, I managed to destroy my ATI fglrx drivers and now I can't repair them without Internet access.
6
votes
1answer
3k 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
2k views

NTFS partition becomes read-only after system upgrade?

I was using ubuntu 11.04 on my Laptop. While installing it from a DVD, I have created a 10 GB NTFS partition at the beginning of the hard disk, as primary. All other partitions ( swap, a ext3, a ext4 ...
6
votes
1answer
106 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 ...
6
votes
3answers
10k views

How to change the graphics card driver via terminal?

I recently tried changing the driver for my Asus Radeon HD 7870 to the proprietary one (a friend told me it was much faster), however that seems to have killed my install of Ubuntu. Now whenever I ...
5
votes
2answers
576 views

Can I recover a deleted file? [duplicate]

I have mistakenly deleted a file via while connected ssh. How I can recover that file or, if ubuntu has something like trash bin or so ?
5
votes
1answer
2k views

I lost Unity desktop when I uninstalled nautilus. How to get it back?

I did something silly I think. I wanted to use dolphin as default file manager. So I used package manager (synaptic) to remove nautilus file manager (because Ubuntu makes it so hard to change the ...
5
votes
2answers
62k views

How can I repair my installation?

Does ubuntu 11.10 have a repair setup like windows that repairs the operating system files? Or do we have to do a whole new installation? If not, is there a backup solution so I can re-install ...
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
3answers
11k views

Tool for File Recover | Deleted Files Recovery

Advise me please some recovery tools for File Recover | Deleted Files Recovery | Damaged Files
5
votes
1answer
2k views

How to recover files after deleted my Ubuntu partition?

I normally dual-boot with 12.04 and Win XP pro sp3 on a Thinkpad R60. I needed to reinstall windows because of problems piling up, so I ran the computer's built-in hard-disk recovery software. I ...
5
votes
2answers
2k views

How to restore /etc/services?

Using tee without the --append flag, I just managed to clear out my /etc/services file. Can someone send me their copy from Maverick? How to recover from silly mistakes like this on the command ...
5
votes
1answer
8k views

How to create a complete recovery Image for my new netbook

I just got a new acer netbook, it comes with windows 7. I wanted to know how I could create a recovery image using tools like dd. I want to know what command creates the exact backup of the hard disk ...
5
votes
4answers
3k views

is it necessary to delete the recovery partition?

I have Windows 7 on my HP laptop and I want to install Ubuntu. I tried to shrink my boot and system partition, it does not allow me to shrink the partition more than 97 MB. Is it necessary to delete ...
5
votes
3answers
3k views

Ntfs recovery software for ubuntu?

I need a free linux application to recover some files on an NTFS. Please suggest me a best one?
5
votes
2answers
8k views

How do I boot to a windows recovery partition from GRUB on a Toshiba computer?

This should be simple but I cannot figure out how to do it. I've been dual booting Ubuntu and Vista for a while. About 8 months ago, I realized my windows partition got corrupted and wouldn't boot. ...
5
votes
2answers
966 views

How to find reasons for journal recovery

Recently, when I've been starting my computer I'm informed that it is recovering the journal for one of my ext3 partitions. One might expect this behaviour if the computer shutdown improperly, but, ...
5
votes
2answers
166 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
1answer
811 views

Create Ubuntu recovery partition [duplicate]

I have an HP laptop that came with Windows 7 installed with a recovery partition which was accessible through the boot menu in the same way you could access the bios. I wanted to be able to create an ...
5
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 ...
5
votes
3answers
11k 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 ...