Questions about recovery from failure. This includes file corruption or deletion and broken software components after an update. For lost data, "data-recovery" may be a better tag.

learn more… | top users | synonyms (1)

26
votes
5answers
104k 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 ...
18
votes
1answer
504 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?
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
24k 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)?
9
votes
1answer
8k views

Cannot lock '/etc/group' in recovery mode

I've currently booted into recovery mode, because I removed my sole user from admin :/ When I run adduser oadams admin, I get gpasswd: cannot lock /etc/group; try again later. For what it's worth, ...
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?
9
votes
3answers
36k views

How to resolve “Failed to download repository information”?

Whenever I try to install anything with the Ubuntu Software Center, the following error appears. Failed to download repository information Check your Internet connection. E:Unable to ...
8
votes
4answers
13k 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. ...
8
votes
2answers
4k views

I unexpetedly deleted administrator account and the other accounts are asking root password

I unexpectedly deleted my user account (the only administrator for the machine). I have another account which is standard account now i cant access my hard disk or anything with that standard account ...
8
votes
4answers
4k 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 ...
7
votes
2answers
10k 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 ...
7
votes
2answers
8k views

How to reset lost user password on a guest on VMWare server?

I have a ubuntu 10.10 VMWare image that I set up a while back and have forgotten the login details. Normally I'd boot into single user mode to fix this, but I'm having trouble doing this on the ...
7
votes
2answers
4k 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 ...
7
votes
3answers
1k views

Unable to boot into 11.10 in normal (get a black screen) OR recovery (get just a flashing cursor, no cli)

Okay, so I had a dual boot of Tango Studio (based on Ubuntu 10.04) and Windows XP. Yesterday I downloaded the .iso for Ubuntu 11.10 and attempted to install from a USB (my BIOS won't normally boot ...
6
votes
2answers
5k 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
10k 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, ...
6
votes
2answers
8k 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
7k 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
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 ...
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
56k 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
2answers
9k views

How to boot to root shell when GRUB recovery menu fails to load a shell?

Can't seem to boot into root shell in recovery mode from GRUB. I try booting into recovery mode from the GRUB menu and don't ever get a shell, just log messages from the kernel bootup. Ctrl+Alt+F1-F12 ...
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
10k views

Tool for File Recover | Deleted Files Recovery

Advise me please some recovery tools for File Recover | Deleted Files Recovery | Damaged Files
5
votes
4answers
21k views

Ubuntu boots on terminal only, how do I recover the GUI desktop?

Where is my Ubuntu desktop? Its booting and going always default to terminal screen, if i press Ctrl+Alt+F7 still in terminal Ctrl+Alt+F1 still in terminal. No GUI, how do I recover it? EDIT: ...
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
1answer
6k 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.
5
votes
1answer
8k views

How to boot into Single-User recovery mode?

In desktop Ubuntu there is handy GRUB menu, but there is no such menu in Ubuntu Server. How do I get into recovery (single-user) mode on Ubuntu Server then?
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
2answers
782 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
3k views

Can't start without X server in order to install video drivers

On 10.10 I was able to make quick Video Drivers installs just by starting Ubuntu in "recovery mode", which would me allow to modify the X server. But now if I start the system in recovery mode it ...
5
votes
1answer
745 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
1answer
333 views

12.04 home encrypted and I have written down encryption passphrase. How to reset login password?

I set up a friend with 12.04 and he forgot his password. I encrypted his home directory and I have written down the encryption passphrase during the first boot. If he changed his password after I ...
4
votes
2answers
7k views

How I can recover a previous version of a file?

I modified a .txt file and saved it. When I opened it again, I saw that I deleted one thing from the last version I saved. So I would like to know if I can recover what I deleted? This file is very ...
4
votes
4answers
1k views

Recover 1TB disk erased with startup disk creator

Hello. I was trying to make a bootable flash drive from the startup disk creator, and when I went to erase the flash drive I accidentally erased the wrong drive, a 1TB removable drive. The operation ...
4
votes
4answers
7k views

Possibility of recovering files from a dd zero-filled hard disk

I have "zero filled" (complete wiped) an external hard disk using dd, and from what I have heard: people said you should at least "zero fill" 3 times to be sure that the data are really wiped and no ...
4
votes
1answer
149 views

How to restore a replaced file in /bin?

I have created a C program which will sort the array of int given at runtime named 'com'. And mistakenly typed following command: sudo mv com /bin/cp so now cp work as com and there is no cp, ...
4
votes
2answers
2k views

How to exit the recovery console?

I was having problems with Ubuntu 11.04 freezing up with Firefox, then it was freezing up with other applications as well. At login I tried Recovery Console and now I can't get out of it. Ubuntu ...
4
votes
3answers
832 views

Mounted mac drive file error

I accidentally killed my MacBook by water damage, and now I'm to primarly extract my images. I mounted the drive (HFS+ formated) on my stationary PC using the Storage Device Manager. I'm able to ...
4
votes
1answer
2k views

Using word list to brute force encrypted partition

I used the Disk Utility to encrypt an external HDD about a month ago. Now it seems that I have forgotten the password. I have formed it according to a set of rules, so I have generated a word list ...
4
votes
5answers
3k views

Install Ubuntu on ThinkPad, recovery section must remain intact

I want to install Ubuntu on a Lenovo ThinkPad T500 that I've got. However, due to some licensing and warranty issues, the recovery section on the disk (the one that enables the "ThinkVantage" button) ...
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
2answers
783 views

Recover EXT4 Partition from Interrupted Resize

world! [that's funny, it automatically takes out leading "hello"s] I'm installing Ubuntu on a friend's laptop, and I encountered a problem while resizing the Ubuntu partition. I was expanding it to ...
4
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?
4
votes
1answer
106 views

Why Linux doesn't provide break-point Recovery to restore system to previous safe State? [closed]

Many times, I feel need to restore my linux system to some previous safe state. Few utility based option such as 'apt-get remove (for Ubuntu)' etc are available but are limited to cleaning unwanted ...
4
votes
2answers
535 views

How to recover removed packages with the purge flag?

I accidently removed a package with the purge flag and it removed large parts of the Ubuntu system, including the pulseaudio server, the software center, system settings and many, many other programs ...
4
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. ...
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 ...