Questions tagged [data-recovery]

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.

Filter by
Sorted by
Tagged with
2 votes
1 answer
131 views

Accidentally used fdisk on mdadm RAID1 array, can I recover my data?

I installed a new disk today and was prepping it, before realizing that I'd done my "prep" work on an existing RAID1 array!! I'd LOVE to be able to recovered if possible. My array was ...
Vince's user avatar
  • 41
4 votes
3 answers
349 views

Does writing data on one LV keep deleted files on another LV from the same group intact?

Suppose we have one LV group with 2 logical volumes: /dev/lvm/home and /dev/lvm/root. Suppose I've accidentally deleted some important data on /dev/lvm/home, then turned off the PC the moment I ...
rsxrwscjpzdzwpxaujrr's user avatar
-1 votes
1 answer
41 views

I need to recover a particular file which may be completely impossible to recover [closed]

I wrote a somewhat important essay in early January. Without going into too many specific details, I submitted this essay and assumed I wouldn't need this essay stored locally after I submitted it, so ...
IneedThatEssay's user avatar
-2 votes
0 answers
19 views

Kali linux purple 2024 letest version data recovery [duplicate]

Installing new versions of kali linux purpule then i was installing a kali linux partition its "choosing partition option by default set Guided disk partition option" *Here i mistakenly ...
darktruth05's user avatar
0 votes
1 answer
65 views

Recover poorly backed up gpg secret keys

I have just restored my data from a borg backup repository after a computer failure. My ~/.gnupg folder seems fine, private keys are there, and permissions look correct. Usually borg does a good job ...
lyndhurst's user avatar
0 votes
0 answers
24 views

reconstructing ext4 inode structure after folder deletion

My ext4 partition that had my whatsapp data had its entire folder deleted ( that is file / folder delete - no partition ). As I understand inodes have the metadata tree for files including their ...
user1874594's user avatar
0 votes
0 answers
54 views

/bin/bash accidentally moved to another location

I have an Azure VM and while I was moving some files from my present working directory with the command mv, I accidentally missed the . in front of my source and instead wrote mv /* /destination/path ...
Amit Sharma's user avatar
0 votes
0 answers
15 views

Dual boot caused problem with FIRST monitor (not second) on Linux Mint Cinnamon, need to recover files from the partition

I need to recover some files from an office computer where I installed Windows 10 + Linux Mint, but the only monitor I have access to isn't recognized by the OS. Back around 2018/2019, I had two ...
Emilio Kolomenski's user avatar
0 votes
1 answer
65 views

How can I recover moved jpg files

On my ubuntu system I ran a command and moved all my jpg files to a single file by mistake src_dir=$1 echo "src_dir: $src_dir" for f in $src_dir/*; do if [ -f $f ]; then new_dir=...
Daemon's user avatar
  • 103
0 votes
0 answers
73 views

Recover exFAT filesystem after bad fsck operation

I spotted a message in dmesg: "Volume was not properly unmounted. Some data may be corrupt. Please run fsck.", and so I ended up running a command: doas fsck /dev/sda. This produced some ...
Ernest Izdebski's user avatar
5 votes
2 answers
4k views

Accidentally ran `rm -rf /home`

Note that the command I accidentally ran was to recursively delete the root home directory, not the user one. Also not I do not have sudo nor root privileges. This is not a question about data ...
Sergio Gliesh's user avatar
0 votes
1 answer
91 views

how to recover a yaml file on ubuntu 22.04?

I've googled and searched for the answer, but non of the software mentioned on the answers can search for yaml file?. I've changed the config of Foremost duplicating the txt line, changing the txt ...
Eugene1111's user avatar
0 votes
0 answers
52 views

How to recover data from my flash drive that appears to be wiped out and which may potentially be infected with a Windows virus?

I have a flash drive of 256GB with two partitions containing some important data.  Today I had to connect my flash drive to my university's Windows computer to copy some files... but after connecting, ...
Erpo's user avatar
  • 1
0 votes
0 answers
73 views

Recover files from disk image

I had backed up /dev/mapper/luks-.... (since I use FDE) using dd: sudo dd if=/dev/mapper/luks-... of=backup.img I don't seem to be able to access or restore the files. I have tried both mounting the ....
TimidFuzz's user avatar
0 votes
1 answer
57 views

Can the data on corrupt XFS disk be saved?

I have 6 SSD disks (Disk model: Samsung SSD 970 EVO Plus 2TB) equipped on a Linux server (Rocky Linux 9.1). Two m.2 to pcie converter cards are used, one holds 4 disks and the other holds 2. All disks ...
Ben Lau's user avatar
0 votes
0 answers
51 views

Corrupted portable SSD, wrong size detected, what to do?

I have a 240 GB portable SSD from Transcend. ESD230C Portable SSD Model: TS240GESD230C SN: F43849-0038 Recently there have been long delays in reading data. During another such long delay, I ...
abg's user avatar
  • 101
0 votes
2 answers
121 views

Rename command seemed to remove a bunch of files. Can I recover them?

Using Ubuntu 22.04 I had a folder with a bunch of files I wanted to change the file extension so I used: rename 's/\.zip$/\.cbz/' *.zip The command completed without throwing any errors, but I found ...
image_muck's user avatar
0 votes
1 answer
81 views

Corrupt SD card image only shows zeros in HexEditor

in our sports club somebody stole money over and over again. So some members set up a hidden camera to record him. After the next day the money was gone and they checked the camera. The SD card worked ...
DerScheini's user avatar
0 votes
0 answers
61 views

How can I retrieve data from a HDD that couldn't finish os reinstall?

My sister asked me to fix her laptop that couldn't recognise some of the peripheries including the network cards. She hasn't used it for almost a year. First (almost half a year ago) I asked her to ...
szonyeghal's user avatar
2 votes
0 answers
50 views

I ran `mkfs.btrfs -f` on a disk containing an existing btrfs file system (HDD), can btrfs tools help me recover? If not, what else might I consider?

I did something very stupid yesterday. I have two physical drives (both HDD), call them X and Y. Both contained (separate) btrfs file systems that extended over their whole size. Let @x be a subvolume ...
bzm3r's user avatar
  • 373
0 votes
1 answer
90 views

First 32GB of a 4TB ext4 filesystem overwritten. How to recover?

Due to an accident specifying a block device, the first 32GB of a 4TB ext4 filesystem on a SATA disk was overwritten by the dd command with the contents of a USB flash drive. fdisk -l /dev/sda reports ...
AbelianMemes's user avatar
0 votes
1 answer
73 views

How do I recover data from a Linux KVM virtual machine?

I am currently experiencing the following problem: after an untimely power outage, my Linux KVM virtual machine no longer boots up. It shows no signs of life at all. But there are many important files ...
Andrewww's user avatar
0 votes
1 answer
53 views

BTRFS partition will not mount after power off

I'm running Fedora 38 on a BTRFS partition and just had to do a hard power off due to system hang. Now the system goes into emergency mode on bootup. I'm currently running the fedora live CD but the ...
heebiejeebies3's user avatar
0 votes
0 answers
55 views

Trying to recover information from an encrypted HDD

My primary HDD is encrypted has failed or is failing. I am trying to recover any data from it. After getting a new drive with Pop_os! installed, I have been able to unlock it and can see the ...
CrypticalCoop's user avatar
0 votes
0 answers
41 views

Searching a 1T block device for a specific byte sequence at a specified offset

I'm performing data recovery after an accident with dd. In the longer term, I'll need to use some recovery tools to try and repair the file system In the meantime, there's an image on the system that ...
user587941's user avatar
0 votes
0 answers
190 views

I accidentally moved a temp .zprofile to my actual .zprofile's file

My OS is MacOS Catalina. I was using a temporary .zprofile so I moved it to .zprofileold then moved .zprofilereactor to .zprofile but when switching back I accidentally moved .zprofile to .zprofileold ...
The_AH's user avatar
  • 11
-1 votes
1 answer
32 views

Will testdisk undelete write over deleted files?

I have an external drive that I accidentally deleted a lot of files off of. I can still see all the files in testdisk and have the option to undelete everything, but will recovering the files onto the ...
trenchweather's user avatar
0 votes
0 answers
45 views

Data Recovery from deleted PopOS

I have a SSD and a 1TB Hard drive in my PC. SSD had the Windows 10 and Hard Drive had Linux(PopOS). I was installing the new windows and accidentally deleted the hard drive having the Linux at windows ...
Muhammad Salman's user avatar
0 votes
2 answers
309 views

Using GParted to remove EFI partition of SSD on USB

I have a problem with GParted not being able to complete an operation. Background: In brief: I have a 2Tb M.2 SSD drive that was running Windows 11. Windows suffered a fatal registry failure and ...
Martin's user avatar
  • 139
0 votes
0 answers
175 views

How to recover data off of a broken linux system with full-disk encryption

I am running Manjaro. I have it set up with full-disk encryption through LUKS. Booting up my computer I noticed some things were weird, like some of my settings had reverted to their default. I tried ...
Medynsky's user avatar
0 votes
1 answer
2k views

mount .img file to extract data

I have an HDD (2.0 TB WD20EARS) with NTFS that crashed. The disk was pure storage and never had been used for OS installation. I cannot mount it to my mint pc but I can get .img file from gnome-disks. ...
Kostas's user avatar
  • 1
0 votes
1 answer
263 views

Accidentally overwrote /usr/lib/x86_64-linux-gnu(using mv command) with file

While trying to move a file into /usr/lib/x86_64-linux-gnu, I accidentally overwrote x86_64-linux-gnu itself. The system(ArchLinux) is still running, but I'm not sure how to safely recover x86_64-...
Shringe_'s user avatar
0 votes
1 answer
183 views

Accidentally deleted /dev directory

I've accidentally performed sudo rm -fr /dev Will I suffer from data loss or any side effects? I've rebooted the system and my data seems ok, but I'm afraid there is hidden or non-obvious loss of ...
ibrahem's user avatar
  • 111
0 votes
0 answers
354 views

btrfs backup file is not mounting - wrong fs type, bad option, bad superblock

I accidentally deleted all of my user directory files. There are a lot of important files and scripts which I didn't uploaded to GitHub. I have learned my lesson I have to take backups. I am ...
Fahmida Tasnuva's user avatar
0 votes
1 answer
53 views

Recover Directory imediatly after failed 'nnn' (filebrowser) renaming

After building a local data-server with a bunch of older hard drives on one HDD I've observed that I had switched the naming of two directories. With the 'nnn' file-browser (with the 'r' keybinding, ...
alex's user avatar
  • 983
1 vote
0 answers
161 views

LVM2 partially destroyed using the "fio" command in a wrong way - how to recover what can be recovered

i already posted my question on the Proxmox forum because that is the hypervisor i am using, however i take the opportunity of doing it here as well, the more people sees it the better chance i have ...
mauro23's user avatar
  • 11
-1 votes
1 answer
67 views

Recover libraries deleted from /lib

I deleted gtk from /lib, the system lib, und an Ubuntu installation. Is there a way to recover that?
GGinside's user avatar
0 votes
0 answers
102 views

Help make sense of xfs_logprint output

I recently came across this thread about recovering file in linux: Recover deleted files on Linux. After consulting the top answer which describes recovering in the ext file system family, I wanted to ...
amoosebitmymom's user avatar
0 votes
0 answers
113 views

Debian installation is emergency mode, how to recover data and create a new installation with previous installation's apps and data?

I'm using a Raspberry Pi as a home media server, and it has been in emergency mode for a while. Despite being in this mode, it continues to function normally. My question is, is there an effective way ...
Jimmy Bungalo's user avatar
0 votes
0 answers
178 views

LVM disappeared after reboot!

I had an PV, VG, and LV on /dev/sda5 partition. Dealt with some corruption on the filesystem with xfs_repair until all filesystems were mountable with no errors. After rebooting the node, the pv,vg,...
qMo's user avatar
  • 23
1 vote
1 answer
283 views

Recover from parted -s /dev/sda1 mklabel gpt

Ok. Please don't judge me. I had no coffee yet when I did this... I tried to format a new USB drive and the drive didn't mount and I didn't think straight... long story short, I did parted -s /dev/...
Gerald's user avatar
  • 13
0 votes
0 answers
90 views

Recover formatted ext4 partition with file structure that was damage before format

I have a an 18TB External Hard Drive that I connected to a HDD docker with another HDD. I disconnected the other HDD properly with the safely eject command, but for some reason both disk disconnected ...
AnswerSeeker369's user avatar
1 vote
1 answer
65 views

Rebuilt RAID6 Array Mounting Issue

Having succssfully imaged the 7 hard disk drives from a failed Thecus N7700 Pro NAS and having apparently successfully rebuilt the RAID6 array from backed images I'm getting an old PV header warning ...
ridgedale's user avatar
0 votes
0 answers
31 views

Cannot find external partitions from Live USB

I have a dual-booted laptop (Windows 10 and Manjaro). After changing the battery (which was not functioning properly anymore), I could not log into Manjaro anymore and I am trying to first recover all ...
Patrick.B's user avatar
1 vote
1 answer
33 views

Imaging Hdds from Failed 7-Bay NAS RAID 6

I have a failed Thecus 7700 Pro v1 NAS unit, that is completely inaccssible over the network and has no video output (- tried connecting a stripped VGA cable to the empty VGA socket on the motherboard ...
ridgedale's user avatar
2 votes
2 answers
684 views

Problems accessing files on a RAID1+LVM from failed QNAP

Brief context I have a QNAP TS-451. The NAS has failed, but I'm pretty sure the drives are still fine. I have a new QNAP TS-462 to try to replace it and I'd like to ensure my data is intact in the ...
Danny Sung's user avatar
1 vote
0 answers
182 views

Is it possible to recover this LUKS-encrypted SD card?

I have a large size SD card that was encrypted with LUKS using the GNOME Disk Utility running on Ubuntu. I had some cherished photos on it. I've managed to accidentally format the SD card and wish to ...
BlandCorporation's user avatar
3 votes
1 answer
796 views

how to access linux data from another machine physically?

My laptop is failing, but I know for sure the hard drive is okay and fine. I want to take the data inside it, I connect my laptop's hard drive (open suse tumbleweed with btrfs filesystem) to my ...
buncis's user avatar
  • 133
0 votes
0 answers
50 views

Troubleshooting HDD formatting mistake and data recovery on Ubuntu 23.04

I have a Dreambox device with an HDD that was mistakenly formatted. I can access the HDD using the following command: /run/user/1000/gvfs/ftp:host=192.168.xx.xx/media/hdd Now, I would like to know ...
user572367's user avatar
1 vote
1 answer
149 views

How to recover VOB video files in camcoder dvd with udf filesystem which appears empty but it's not

I recently discovered some old double-sided mini dvd-rw disks (2.8GB) which were used for recording video with a Sony DCR-DVD201E handycam. Both sides already had content but they were unfinalized so ...
Kostas Filios's user avatar

1
2 3 4 5
18