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

0
votes
0answers
7 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
50 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 ...
4
votes
3answers
11k 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
22 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
23 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
26 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.
1
vote
3answers
1k 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 ...
1
vote
1answer
4k 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 ...
33
votes
7answers
12k views

Recovering accidentally deleted files

I accidentally deleted a file from my laptop. I'm using Fedora. Is it possible to recover the file?
1
vote
1answer
46 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 ...
10
votes
3answers
3k 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 > ...
6
votes
3answers
21k 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 ...
0
votes
2answers
4k 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
votes
0answers
26 views

deleted partition from windows and I need to recover it

I installed Ubuntu 14.04 LTS, and its my first time with Ubuntu, and I had two partitions, with information that are now deleted, how can I recover them? thank you.
1
vote
0answers
39 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 ...
-1
votes
2answers
1k views

How to recover NTFS drive formatted in ext4?

I just installed Linux Mint 17 and when it asked me where to install it I selected the option to overwrite the old Mint 14. Previously I had also windows with NTFS partition of 900GB. Not it is all ...
0
votes
0answers
47 views

Is there a way to recover my vi-edited file?

2 days ago, I remotely logged into my school's Unix system and wrote a lengthy file with vi. I saved with :wq and reopened it multiple times to check if it saved (it did). Today, I log back in and ...
4
votes
1answer
42 views

Recovering data written to file that moved

I have a Python daemon running on CentOS that opens a file at the beginning of a session, and keeps writing to it. A cronjob however, gzipped the file that was being written to, and so the file moved ...
4
votes
2answers
639 views

extundelete does not finish its work

I need to restore a file on sda7 so I remounted ro und startet extundelete manuel@P5KC:~/recovery/RECOVERED_FILES$ sudo extundelete --restore-all /dev/sda7 WARNING: Extended attributes are not ...
0
votes
0answers
33 views

How can I recovery data? Or how can I fix file system without deleting of data?

I have done fsck.ext4 -f /dev/sda5 but questions were too much and I close one several times. After that I used several times e2fsck. But it was very slowly and I stopped one several times too. ...
7
votes
4answers
4k 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
13 views

Strange hang while attempting mounting LVM2 in recovery mode

I am running a RHEL 7 vm and I am trying to mount an LVM disk in recovery mode. I can see the disk with fdisk -l. lvscan shows it being active. When I try to mount the disk to the system I see the ...
4
votes
3answers
12k views

Recovering data from a damaged hard-drive: the “freezer trick”

I'm currently in the business of recovering data from a damaged---and dying---hard-drive (check this question for background info). The drive was dropped while the system was running; and while ...
3
votes
0answers
46 views

Have I destroyed data on drive?

I stupidly ran the following command on an external ext4 USB disk, typing /dev/sdb instead of /dev/sda which was the new disk I was setting up: dd if=/dev/zero of=/dev/sda bs=512 count=100 These ...
0
votes
0answers
50 views

Restoring data from NTFS formatted pre-ext4 partition

MS recovery just formatted my 1TB Backup disk to NTFS which was ext4 before. It was an MBR disk before but now it's a GPT one. Now I'm on SystemResqueCD and can check with the testdisk. What is the ...
3
votes
2answers
2k views

How to recover saved (stored) emails after damage to KMail configuration?

Recently my computer had to be hard-reset, and fsck ran on /home filesystem, producing lots of errors (old HDD drive). After reset I don't see all my saved emails in KMail (KDE 3.5.3), at least those ...
1
vote
2answers
43 views

challenging failed raid5 recovery

I have a personal raid 5 array that is in rough shape. The failed array has eight 2 TB drives that were built up over time in my n-2 desktop machine. The array is from an in-house computer that ...
9
votes
2answers
2k views

How can I dump the full system memory?

After starting VirtualBox, the computer became sluggish and then hung completely due to OOM. Usually, OOM should be starting killing processes in order to free up some space, but this did not happen ...
0
votes
1answer
86 views

Mounting a Partition & recovery

To keep the story short, i am taking the easy way out and now trying to mount a partition to recover a few text documents. I tried to 'sudo mount -t ext4 /dev/sda4 /mnt' but received this error sudo ...
2
votes
3answers
266 views

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

I have heard if you don't make partitins in linux it is so hard to recovery your data. And if you make some partitions it would be easy to recovery. for example if you make /par1 /part2 /part3 it is ...
5
votes
3answers
24k views

How to repair a corrupted HFS+ partition from a damaged hard-disk?

I have a friend's Mac OS X disk that comes with an HFS+ partition. I am supposed to recover the personal data from this disk, and I'm not yet sure if the filesystem is corrupted or the disk is dying). ...
18
votes
2answers
40k views

How to recover a crashed Linux md RAID5 array?

Some time ago I had a RAID5 system at home. One of the 4 disks failed but after removing and putting it back it seemed to be OK so I started a resync. When it finished I realized, to my horror, that 3 ...
3
votes
2answers
32 views

How to prevent FreeBSD from disconnecting a drive device?

While accessing a drive with high error rates (as, for example, here for opensuse) in FreeBSD, the system eventually disconnects the drive and it disappears from /dev. This makes it impossible to run ...
5
votes
4answers
7k views

How to recover a corrupted “tar.gz” file

I suddenly needed to recover an old tar.gz file, but as soon as I execute so: tar -zxvf filename.tar.gz I get this: gzip: stdin: invalid compressed data--format violated tar: Child returned ...
0
votes
0answers
29 views

How to recover a partition recreated with gparted

Yesterday I've had the bad idea to try to follow this tutorial : http://fds-team.de/cms/articles/2013-12/use-a-real-windows-7-partition-in-virtualbox-kvm-vmware-player-u.html these are the commands ...
0
votes
0answers
29 views

Testdisk 6.14 unable to fix 20GB WD ROM scroprio device

Using partedmagic iso , with pre-configured utility testdisk 6.14 I tried to repair WD 20GB hard-disk. It failed in sense it got me "read errors". I don't know how to fix it? Please help me. I'm ...
0
votes
0answers
29 views

basic help with safecopy

I have a drive with "Many Bad Sectors". After much deliberation I've chosen to try recovering with safecopy (the choices of tools are overwhelming, and they are all just as cryptic to me - but I ...
0
votes
0answers
20 views

haproxy - in CentOS is running but the whole directory is no more available and i do not have configuration backup

I had haproxy configured in /var/tmp directory by compiling, i did not had any backup after few months its still running but my /var/tmp/ is having no haproxy anymore. Can anyone please recover it i ...
1
vote
1answer
219 views

Live linux distribution that includes TrueCrypt, to be used for data recovery [closed]

I want to be able to use a CD/USB bootable "live" linux distribution to: read a truecrypt volume mount local drives Ubuntu Privacy Remix seemed perfect as it does include TrueCrypt, but it ...
1
vote
1answer
59 views

ecryptfs-recover-private deleted files?

After running ecryptfs-recover-private --rw ./ and doing some basic tasks on the mounted directory it seems that all files have been deleted somehow, yet the folder structure remains. This is very ...
1
vote
1answer
87 views

Recovering from bad superblock on external drive

read a few similar questions/posts and tried the solutions, still stuck. My scenario is simple, external ext4 drive was powered off (via cat) while operating, and failed to mount on boot. As I dug ...
2
votes
2answers
47 views

Find newest version of file recovered by PhotoRec, or suggest other recovery program

I accidently deleted ALL files for my web server yesterday, and for some silly reason I have not made a backup in the last three monts... Shame on me, I know. The files were deleted with a bad rm ...
1
vote
1answer
54 views

How to recover root for system?

I have accidentally executed rm -rf /. How to recover the / file system. Is there any way to recover the root file system.
8
votes
5answers
31k views

How to recover data from a bad SD card?

I have a 4GB SD card with some family pictures on it that I need to recover. When I insert the card into my card reader, it shows up as an unknown 32MB device (as /dev/sde) and cannot be mounted. When ...
1
vote
1answer
93 views

Recovering a LUKS partition

I have a drive with 2 partitions 1st is plain ext4 2nd is encrypted LUKS. The partition table has been overwritten. I've found the beginning of the second partition, which I need to recover, ...
4
votes
1answer
180 views

Can I find out if a given ext4 block is in the inode table, and if so, can I pick it out of a journal with no header by hand?

So en route from my old laptop to a new one my old laptop's hard drive got some physical damage. badblocks reports 64 bad sectors. I had a two-month-old Ubuntu GNOME setup with a split / and /home ...
2
votes
3answers
234 views

Restore from lost+found

There was a problem on an EXT4 FS/memorycard and after and fsck all the files were put in the lost+found. Question: how can I restore the old filename/hierarchy from the lost+found? Or it is ...
0
votes
2answers
31 views

How to recover the data that has possibly overwriten by the installation of another system? [duplicate]

I had Linux mint installed in my computer in one partition and had another partition for Data. I just installed Ubuntu Kylin 14.04 and during the installation there was an option like "install Ubuntu ...
0
votes
1answer
60 views

Accidental deleted partition with gparted

I Accidentally deleted a partition, using gparted. It contains valuable data. Can I get the data back?