Questions tagged [ddrescue]
`GNU ddrescue` is a data recovery tool for block oriented media.
129
questions
0
votes
0
answers
78
views
ddrescue on SD-card: Why is the output differing but no errors given?
I'm doing a backup operation on a SD-card. This card has been used for almost 8 y with regular write operation. Chances are that it is damaged somehow.
That's why I choose ddrescue to get the content.
...
2
votes
3
answers
437
views
Why does ddrescue not use distinct mapfiles for read and write errors? (And how to detect write errors?)
Sometimes, I have to clone a hard drive to another one that seems healthy (SMART values OK), but whose surface could not be checked fully for possible bad sectors.
Typically, if I clone a healthy hard ...
1
vote
0
answers
92
views
ddrescue: How to restart from pass 1?
I've been trying to recover data from a 500GB WD Scorpio Blue drive I found recently that was from an old Acer laptop. I ran it for about a day before the read rate had slowed down to about 50KB/S and ...
0
votes
1
answer
32
views
I cloned a failing HDD on the WRONG target disk
I accidentally cloned a failing external HDD on the wrong target drive using the
ddrescue -d -f /dev/sdSource /dec/sdTarget
command.
Is there any way to recover anything from the target drive ?
The ...
1
vote
0
answers
336
views
Is ddrescue/dd cloning compatible with GPT/UEFI boot?
I used ddrescue many times for failing HDDs with MBR partition tables. It always worked perfectly and if the failing HDD was bootable, the clone booted, too.
Now I have a possibly failing SSD, but ...
1
vote
0
answers
86
views
ddrescue recover LUKS1 partition - specific blocks
I need your help!
I wanted to take hash from partition table in order to crack the old password/passphrase which somehow changed for LUKS1 partition.
I wrongly used dd command. I forgot that backups ...
0
votes
1
answer
251
views
Why do we need to set loop devices when mounting ddrescue images?
In various tutorials I see the following command:
mount -o ro,loop,offset=123 harddrive.img /mnt/loop
but from reading the documentation I can't understand what are loop devices.
Why would harddrive....
0
votes
0
answers
414
views
ddrescue: Failing HD with 2 NTFS partitions
I'll try to describe my situation as precisely as possible.
TLDR :
SATA 2To HDD with 2 partitions failed
refused to boot
plugged from usb through adapter and booted.
Disk is shown as /dev/sde,
...
1
vote
0
answers
287
views
Restore damaged folder inodes in ddrescue image
I restored my failing external ntfs hdd using ddrescue, around 80% of the data is restored, the rest seems to be bad blocks. I can mount the created image file and ubuntu detects it and shows the ...
1
vote
1
answer
121
views
Trying to mount ddrescue .img file Failed to load $MFT
Here is what ive done to try and mount.
root@PartedMagic:/media/sdb2# parted recovery.img
GNU Parted 3.4
Using /media/sdb2/recovery.img
Welcome to GNU Parted! Type 'help' to view a list of commands.
(...
0
votes
3
answers
357
views
Why dd is giving me a different SD card than its source?
I have a 32 Gb SD card with my OS on it (Raspberry Pi OS Buster) and I wish to make a backup using standard dd, using sudo dd if=/dev/sdb of=/mnt/toshiba2tb/pi20211217.img bs=1M
The source SD card ...
0
votes
1
answer
568
views
How to recognize/restore corrupted files after data recovery?
So, I had an ext4 partition mounted at /home that started to fail. After confirming it was a HDD issue, I stopped using it, bought a new one and, from a live USB stick, I formatted the new one and ...
2
votes
1
answer
275
views
ddrescue only recovers subset of DVD
If I use the following command, I get a well-formed ISO which is 4.3 GB in size.
readom dev=/dev/sr0 f=img1.iso
If I use ddrescue however, it produces a 1 GB ISO, even though ddrescue does not ...
2
votes
1
answer
630
views
ddrescue generate mapfile on partial image after cat --generate-mode
Having a HDD of 1TB (931.5G). I did:
sudo sh -c 'cat /dev/sdf >disk_1t.img'
But it stopped with read error at 908G.
Thought next step, (should have been first), is to use gnu ddrescue. Problem is ...
0
votes
1
answer
1k
views
ddrescue: cloned partition to partition (different size)
I tried cloning a WD Red 4TB drive to another 4TB Toshiba drive using ddrescue-gui. It failed since the target drive was 2KB smaller.
I then wiped the target disk, created a single partition of all ...
0
votes
1
answer
86
views
ddrescue to the same disk
ddrescue will complain if the source device is the same as the destination device:
ddrescue: Infile and outfile are the same.
Even -f cannot convince ddrescue to do what I mean.
How can I trick ...
0
votes
1
answer
927
views
Is it possible to ddrescue only image files (jpg, png, etc.)
I have a corrupted NTFS partition. I am trying to use ddrescue on the same from ubuntu 20.10 liveUSB.
The command I am planning to use is this
sudo ddrescue -n -r 1 -c 16 /dev/sda4 /media/restored.img ...
3
votes
1
answer
213
views
Merge two binary image files by boolean OR (ddrescue output filename mistake)
I made a silly mistake by using the wrong output filename when resuming a ddrescue. This is what happened:
ddrescue -b 2048 -d -v /dev/sr1 IDTa.img IDTa.ddrescue.log
Then the computer crashed and I ...
0
votes
0
answers
45
views
Why can't I backup more than 15 minutes of a DVD to iso using a raspberry pi 3
I am using a raspberry pi 3. I am attempting to backup a DVD as an *.iso file (3 year old's movie). I have downloaded/installed the vlc's libdvdcss. I have tried a 1 and 2 USB portable DVD drive. I ...
0
votes
0
answers
483
views
salvage data from a failing drive
I have a 6TB WD My Cloud sitting on the NW filled with data, I just got a 12TB WD My Book which I plugged into Rpi4, and began moving the data into the 12TB drive, planning to use the 6TB for backup ...
0
votes
0
answers
131
views
How to make a file image of a pertition and mount it in linux?
My problem is that I have cloned a 500GB hard drive into a 1 TB hard drive and now I need an image copy of the first partition in order to work with it.
Now to clone the entire 1TB hard drive into an ...
1
vote
3
answers
1k
views
Please help me rescueing a failing hard drive
My both hard drives where all my data is stored are failing. My system insconstently refuses to load the disks and mount the partitions. I moved one hard drive to other computer where it is recognized ...
2
votes
1
answer
684
views
Recover Data from Failing External Hard Drive
I am attempting to recover the data from a failing Seagate external hard drive. I was going to attempt using ddrescue or safecopy. I am currently using Kali. The drive will not mount and the output ...
0
votes
1
answer
128
views
No space to recover data from a 6TB WD Red NASware
I have a 6TB MyCloudHome which stopped working a few months back. After searching several forums I found that the way to recover my data from it is to buy a docking station and use a linux operating ...
0
votes
1
answer
11k
views
Using ddrescue to recover files and detect files that were corrupted via fill mode
My goal is to rescue partition to a file (no need for full disk copy, or creating a bootable drive), then mount that image, and get the folders out to my filesystem onto the new 3x times bigger drive. ...
2
votes
1
answer
158
views
ddrescue creates image with no content
Whenever i try the following command
ddrescue /cygdrive/f /cygdrive/e/stickydump.dd
i get the following output:
GNU ddrescue 1.25
Press Ctrl-C to interrupt
ipos: 4294 MB, non-trimmed: ...
0
votes
1
answer
211
views
Writes to a brand new 16TB Exos enterprise drive are hanging for multiple minutes
I have a 16TB drive that is starting to fail. I ddrescued the first 12 terabytes of it to a 12TB WD Elements I had lying around and left the original drive unplugged until I had more storage space. ...
0
votes
0
answers
19
views
Determine which files are located in a physical area of an ext4 partition [duplicate]
I managed to create an image of a 1000 GB ext4 partition on a dying HDD using ddrescue. The image is almost complete: only an area of about ~34 MB could not be read surprisingly close to the "...
11
votes
1
answer
888
views
Using ddrescue to shred only rescued portions of disk
Magnetic drive has failed.
I used ddrescue to recover ~85% of it, with a map file, but the rest is borked and continuing to scrub it would take years.
I can return it for a replacement.
I'd like to ...
0
votes
2
answers
2k
views
GNU ddrescue to copy directories or folders from hard disk
Debian 9 (Stretch) laptop, and attached external hard disk in enclosure.
How to use GNU ddrescue to copy folders or files from failed hard disk? (not the whole disk image). For example, /home ...
0
votes
0
answers
404
views
How can I rescue broken data on an USB stick when ddrescue and safecopy do not find any errors on the drive?
After a friend wanted to copy pictures onto my 8 GB USB stick all data is corrupted.
The USB stick was mainly used on Windows before. Also my friend used Windows to copy the pictures. Maybe he ...
0
votes
1
answer
416
views
Follow up questions for using ddrescue with a USB enclosure
I was unable to recover my other account where I originally asked a question, so I'm hoping it's ok that I ask some follow up questions here
I'm looking to use ddrescue to clone a failing drive that I ...
3
votes
1
answer
3k
views
ddrescue with USB Enclosure
I'm about to start a recovery with ddrescue and was wondering if I'm on the right path with these steps. I'm planning to:
boot via Ubuntu live USB and use ddrescue
disable automount in Ubuntu
connect ...
0
votes
1
answer
181
views
ddrescue, range in multiples of bytes
When using ddrescue, is it possible to only specify the first 25Gio? I see that I can use the -i parameter with block sizes, but can this be specified with Gio directly?;)
1
vote
1
answer
170
views
ddrescue status is there any hope?
I have an external hard drive of 1Tb which stopped working. I'm trying to recover the information using ddrescue but I don't see anything been recovered.
I'm doing the copy from the external ...
0
votes
1
answer
164
views
ddrescue said most of sectors are good but I only got 20% files restored
One of my hdd broke down and I tried to use ddrescue to make an image and rescue my files.
sudo ddrescue -d -r2 /dev/sda4 ~/tmp/test.img ~/test.logfile
(I don't have enough space on my linux laptop, ...
2
votes
1
answer
1k
views
ddrescue: error in mapfile
I'm trying to recover a damaged partition on a damage hard disk thanks to gnu ddrescue.
I followed ubuntu tuto to do so and let it run all night long, but the 3rd and 4rt commands fail: see the logs ...
0
votes
1
answer
238
views
How to install ddrescue on Chrome OS via crosh or terminal?
I see that dd is installed in Chrome OS. I can access it both from crosh and the terminal. ddrescue is not installed. There is no apt-get command. How do I install ddrescue with either crosh or ...
1
vote
1
answer
654
views
ddrescue: 0% rescued on audio CD with 1 track that skips
I'm trying to get some lightly scratched albums (audio CDs) onto my computer via ddrescue. I ran the program on one disc with one track that has skipping problems, and it rescued 0%. The .iso was ...
2
votes
0
answers
1k
views
Need solution to recover disk, can't mount a ddrescue partition image
I used ddrescue to build out a 910G disk partition (sdh4) from a 1Tb disk. The disk looks like this.
Warning: ignoring extra data in partition table 5
Warning: ignoring extra data in partition table ...
0
votes
1
answer
206
views
ddrescue cloning disk to disk. I cannot see anything in the new disk why?
I have a failing disk 1TB which does a bit of noise so I decide to use ddrescue to clone disk to disk the failing disk into a new WD 1TB.
I was expecting to see information in the new disk while ...
1
vote
0
answers
271
views
Trying to save a 2012 macbook pro failing disk with ddrescue
I have a Macintosh HD disk that failed suddenly (system would not boot anymore - diskutil complained about a problem with the B-tree. Tried various diskutil commands in the past without success) which ...
0
votes
1
answer
703
views
ddrescue Understand
sorry about my English...
I have lost dates on my External hard disk with dd (I have on my External hard disk with ext4 format and have only videos and some Files), now to try the dates from my hard ...
1
vote
0
answers
264
views
SD card appears and dissapear after inserting it
I have a 16GB Kingston SDHC from a Canon SX40 that seems to be corrupted or has a hardware failure.
Camera shows only a few photos and videos (and something that camera says it can't read). But there'...
2
votes
1
answer
4k
views
ddrescue: Unaligned read error. Is sector size correct?
I'm trying to use GNU ddrescue to recover raw data from a failing SSD. System is Debian Stretch.
Thus far, I have this info out of it:
dmesg
[Sun Sep 8 15:04:20 2019] sd 7:0:0:0: [sdd] 468862128 ...
1
vote
0
answers
637
views
ddrescue to larger drive
I have a 2tb external hard drive with a ext3 filesystem on the entire drive, so no partitions. I suppose this means there is also no partition table? This drive is somewhat broken, as copying some ...
0
votes
1
answer
905
views
DDRESCUE - How to re-run first pass (don't do reverse yet)?
I ran ddrescue for a few days, and recovered about 60G. It had slowed to a crawl, and had an ipos of about 90M. I started again, adding -a100000, and it got another 35G in only 3 hours. It started the ...
0
votes
0
answers
271
views
What is the purpose of the -t (--truncate) option of ddrescue?
When specifying an output file without specifying a logfile, the output file will be truncated anyway.
How exactly is using ddrescue -t /dev/devicename outfile functionally different from ordinarily ...
0
votes
1
answer
669
views
gddrescue slow transfer, but no bad sectors [closed]
I recently noticed my 2ndary internal HDD was having issues when I wanted to back up information to my external HDD. 1.4 TB out of the 2TB was being used. My transfers rates were plummeting to 0 and ...
1
vote
1
answer
1k
views
How can gnu_ddrescue be resumed to wipe a hard disk? [closed]
Hard drives (non-SSD) are generally wiped with the command dd if=/dev/urandom of=/dev/sdX conv=fsync status=progress. Since power outages do occur, this lends to restarting the wipe process multiple ...