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

10
votes
4answers
2k views

what does star in passwd file mean?

I have a computer that I need to boot into, but the passwords seem to be bogus. Additionally i cant mount the drive for writing, and it is a mips processor, so I cant stick it in another machine to ...
0
votes
0answers
30 views

ddrescue recovering 0B but drive appears in device manager. Is it failing to connect?

I guess that this is a variant on a previous question "Is this ddrescue command doing anything?" Apologies for going over similar ground. I have a failing 2TB Seagate Barracuda drive which came from ...
2
votes
3answers
320 views

Why creating partitions in linux is a good solution for easy recovery?

I have heard if you don't make partitions in linux, it is so hard to recover the data. And if you make few partitions it would be easy to recover the data. for example if you make /par1 /part2 /part3 ...
2
votes
1answer
24 views

SSD failiure. grub rescue sees files, but I can't mount drives

I have a 2 year old SSD that apparently has died. 2 out of the 3 partitions are completely unmountable (only EFI boot partition mountable). When i turn on my computer I am greeted with grub rescue ...
3
votes
2answers
785 views

Is pvcreate destructive? Attempting to recover an lvm2 volume group

I don't want to lose any data, so I'm asking if the solution Novell offers is safe to try. If not, are there safe alternatives? Step-by-tedious-step: I have two volume groups: main and Rand; Rand ...
2
votes
3answers
2k 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 ...
7
votes
5answers
5k views

How to clone a NTFS partition (WinXP) from a damaged disk to a new one?

I'm an Italian Windows programmer. I know almost nothing of Linux, so please be patient if the question is dumb and pardon my bad english. I need to clone a NTFS partition from a damaged, near to die ...
1
vote
0answers
18 views

Recovering files with directory structure

EDIT: I am using Debian 8.1.0 So I somehow deleted my /etc directory. While I have not been able to recover the complete /etc directory hierarchy with all files, I have received different parts from ...
0
votes
0answers
38 views

ext4: How to save free blocks / inodes to a file

I'd like to save all free blocks / inodes from an ext4 file system to one or more files for further analysis and file recovery. It would be good to create one file for every contiguous set of free ...
-2
votes
1answer
37 views

How to know under what filesystem etc comes?

Accidentally I have deleted some important file of ldap server now I am trying to recover all these files so I tried this post and run below commands # mount /dev/mapper/VolGroup00-LogVol00 on / type ...
0
votes
1answer
35 views

Help installing in Lubuntu?

I'm fairly new to Linux and don't know how to get the data recovery softwares as they're not in the Lubuntu Software Center nor Synaptic Package Manager. Recuva Diskdigger Testdisk R-Linux
0
votes
2answers
5k 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 ...
1
vote
1answer
23 views

To recover OSX data in Debian

I have had taken backups by TimeMachine and now my Macbook Air 2013-mid finally died so I have to rescue files in Debian 8.1. However, it seems that no backups of so directories have been taken. I ...
21
votes
7answers
90k 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?
1
vote
0answers
40 views

How has this arrangement of RAID disks occurred and is it recoverable?

I some months ago set up two RAID arrays for a system under CentOS 7. I was somewhat confused that the device list included two entries for each array, i.e. one had /dev/md126 and /dev/md126p1. The ...
0
votes
0answers
11 views

Is it possible to recover deleted files on RAID1 UFS provided by FreeNAS?

I have some files deleted on a RAID1 UFS filesystem provided by FreeNAS 8.3 p2. Is there any solution or software can help in this case?
2
votes
0answers
28 views

Recover corrupt tarball

I have a corrupt tarball on my hands. My first attempt at recovery went like this: $ tar --ignore-failed-read --ignore-command-error -xf tarball.tar tar: Skipping to next header tar: Archive contains ...
2
votes
1answer
4k views

Accessing the iPhone file system via Linux/Unix

My old iPhone is semi-bricked. It turns off after a few minutes and doesn't get past the load screen. It has important data on it which wasn't backed up. I'm trying to access the hard-drive's ...
-1
votes
1answer
85 views

How to recover the deleted file from linux system? [duplicate]

I am using centos7 locally. Mistaken I deleted text file(keystone.conf.disabled) using rm, from /etc/httpd/conf.d directory, How to recover this file. This file is very important to me. Please help ...
12
votes
2answers
739 views

Accidentally deleted /etc/redhat-release file

I accidentally deleted /etc/redhat-release file. How can I restore or create a new one? I have CentOS Linux release 7.0.1406 (Core).
1
vote
1answer
79 views

“grep: memory exhausted” error on large partition

I was editing a text file with my notes on linux commands when I noticed a big chunk of it was missing (copy without paste, probably). The problem is that I already saved the document. (And this is a ...
3
votes
1answer
82 views

Problems with partition table on 3tb NTFS drive

I have a 3tb HDD which was formatted with NTFS and put in a USB enclosure. It was used under Windows and Linux, with no problems for a year. Recently it stopped mounting under Linux and Windows, and ...
0
votes
1answer
90 views

Recover deleted files using foremost

In the foremost manual it says that it can be used to recover files using their headers, footers and data structures. Since file deletion does not actually erase data and data is still there until ...
10
votes
3answers
36k views

undelete a just deleted file on ext4 with extundelete

Is there a simple option on extundelete how I can try to undelete a file called /var/tmp/test.iso that I just deleded? (it is not so important that I would start to remount the drive read-only or ...
36
votes
7answers
15k views

Recovering accidentally deleted files

I accidentally deleted a file from my laptop. I'm using Fedora. Is it possible to recover the file?
5
votes
1answer
3k views

How to recover broken/partially deleted git repository

I accidently ran an rm -r on my .git directory. Luckly rm stopped when it got to a write-protected file, but I've still lost several things in my .git. Files I still have: FETCH_HEAD ORIG_HEAD ...
1
vote
0answers
20 views

How can you recover from disk corruption on a backup drive whilst maintaining all hard links?

So, I have a scenario that is similar to How to copy directories with preserving hardlinks? that I wish to use however I have corruption from the backup hardlink source. My Scenario: 1. I backup my ...
0
votes
1answer
61 views

Extract files from a corrupted .gz file

I tried to compress a directory using tar -zcvf output.gz input_dir. I suppose I should have used a .tgz extension for compressing. How do I untar output.gz? I tried both tar zxvf output.gz, which ...
1
vote
2answers
33 views

Recovering an overwritten file

I accidentally misused the cp command and overwrote one file's contents on an ext4 filesystem. Is there anyway I can recover this old file's contents and possibly its metadata (i.e., last write time, ...
0
votes
1answer
53 views

Volume Group fails to recover

For the last 10 days I've been living a nightmare trying to recover my data. I'm trying to recover VG and mount it to access the data here's what I get [root@]# pvscan Found duplicate PV ...
2
votes
0answers
98 views

Exundelete can't restore the file

I'm trying to restore 2 important tar.gz files I know their directory but extundelete not restoring them although it's giving me the inode number. Loading filesystem metadata ... 2127 groups loaded. ...
2
votes
0answers
28 views

recover lvm formatted partition

I had 2 old drives having LVM installed showing as 1 drive. They were attached by the datacenter to the new server to migrate data but they weren't able to be mounted I tried everything possible until ...
2
votes
1answer
90 views

Data Recovery from a 4-Disk NAS RAID 10

I know there are similar questions to this but none specific to RAID 10 extracted from a NAS, so any help is greatly appreciated. So, basically the NAS is kaput but the drives are ok. Following the ...
3
votes
1answer
62 views

Recover LUKS partition after overwriting first few bytes of LUKS container? System still up!

I have a 1.5 TB partition of data, of which I accidentally overwrote some bytes at the beginning, due to a typo like: ssh somewhere command | dd of=/dev/sda3 // should have used quotes here, dd ...
8
votes
1answer
7k views

How to check/test .tar.bz archives?

I've been using tar with its "--use-compress-prog=pbzip2" function to archive my files then compress them with pbzip2 to get an "*.tar.bz" archive. Afterwards I checked the resulting file with ...
2
votes
1answer
56 views

Recovering accidentally deleted files, block device

I accidentally deleted /dev/loop special block device. Is it possible to recover it?
0
votes
1answer
20 views

testdisk partition recovery

Looking to recover data/partition index from this disk.. ⚡ root@jg  ~  ls /dev/disk/by-label lrwxrwxrwx. 1 root root 10 May 4 21:06 4tb1 -> ../../sde1 drwxr-xr-x. 7 root root 140 May 4 21:06 .. ...
0
votes
1answer
37 views

Why my rescued PDFs forms are empty?

First, I'm no expert, so don't assume I know much about data recovery. I'm using ddrescue and photorec to try to rescue files from a USB stick. It's a 32GB stick that has no more partition information ...
2
votes
0answers
31 views

Recoving LVM logical volumes after having to recreate the physical volumes

After reinstalling my system to a new SSD, my existing LVM was toast, it couldn’t find any physical volumes or volume groups. I also don’t have backups of my LVM configuration. Also to further ...
0
votes
0answers
46 views

How to recover a deleted partition from a NTFS disk with GNU parted?

I'm testing different methods to recover deleted Windows partitions under Linux. For this experiment, I created a partition in Windows, placed some data on it and deleted it. In order to ...
3
votes
1answer
60 views

How to restore RAID5 Array

I have a RAID5 array consisting of 3 identical 2TB drives. Suddenly GRUB wouldn't boot anymore and gave the error out of disk. Eventually booted a livecd and ran some mdadm commands: mdadm --examine ...
5
votes
3answers
14k views

Recovered deleted files on Mac by command line

I accidentally deleted a file by running: rm -rf ./Desktop/myScript.sh I think it's possible to recover the file, because the rm command removes temporarily. How can I recover the deleted file on ...
0
votes
1answer
48 views

make `tar` archive from NTFS with non-ascii file names

Loaded a live disk into a Windows based machine with NTFS files. Being a Linux user for some years, using tar came to my mind instantly and made some backup archives from partitions and stored them ...
1
vote
1answer
110 views

Recovering broken USB drive: ddrescue disk to disk vs disk to image?

I am a bit confused about few things and I hope someone could clear this up for me. Is there any particular difference in disk to disk vs disk to image file approach? I executed following code to ...
0
votes
1answer
54 views

Accidentally ran mkfs.vfat on my backup drive [duplicate]

I ran mkfs.vfat /dev/sdb (whole device, not just one partition) on my backup drive, ironic, right. Is there any way to recover my files.
2
votes
1answer
6k 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 ...
1
vote
1answer
84 views

How to recover a shell script I deleted from a specific folder in Debian 7?

So in a merry mood last night, I deleted an important shell script from my system. I mistook it for something else and figured it wasn't needed. I am trying to recover it. I have tried 'scalpel' and ...
0
votes
0answers
45 views

Directories and files changed to unknown type [duplicate]

After breaking my Debian jessie system with the mistyped command: # chmod -R 0644 / now I am using a live CD to backup my data but all the files and directories are of unknown type now and ...
12
votes
3answers
7k 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 > ...
1
vote
0answers
85 views

Overwritten superblock and dd backup files recovery

Good day, yesterday I tried to extend my swap partition ('cause suspend/hibernation didn't work) and I needed to decrease size of my debian linux disk (I don't ever remember if it was ext2/et3 or ...