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)

53
votes
10answers
86k 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 ...
43
votes
5answers
187k 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 ...
30
votes
2answers
58k 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 ...
26
votes
1answer
27k 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 ...
25
votes
5answers
24k 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 ...
18
votes
1answer
529 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
6k 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 ...
13
votes
2answers
34k 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)?
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
4answers
10k 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 ...
11
votes
2answers
29k 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 ...
10
votes
2answers
14k 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 ...
10
votes
5answers
6k 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 ...
9
votes
4answers
18k 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
2answers
11k 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 ...
9
votes
4answers
14k 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, ...
9
votes
3answers
6k 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
3k 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. ...
8
votes
2answers
70k 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
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
5k 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
294 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
1answer
9k 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 ...
7
votes
3answers
44k 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
1answer
8k 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.
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
1answer
389 views

How to recover accidentally removed /bin/ls binary

I have mistakenly deleted the ls executable from the /bin folder. Can I recover it or install it through the terminal?
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
2answers
70k 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 ...
6
votes
1answer
6k 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 ?
6
votes
5answers
9k views

Is it possible to pull data off a linux hard drive using windows 8.1?

My Ubuntu laptop died recently and I've pulled the hard drive out of it. I'm trying to read the data on it from a windows 8.1 laptop but I don't think its recognizing the file system. I've tried ...
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
14k 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
5k 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
109 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
13k 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 ...
6
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 ...
5
votes
2answers
1k 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
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
4answers
25k views

Back up the whole ubuntu system or system image creation [duplicate]

Possible Duplicate: How to make a disk image and restore from it later? In windows back is very easy with Norton ghost. Run it and forget it, What is the same type of software for backing ...
5
votes
1answer
9k 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
9k 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
3answers
3k 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
2answers
1k 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, ...