Questions tagged [ddrescue]

`GNU ddrescue` is a data recovery tool for block oriented media.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

ddrescue -- automatically restart disk when it starts timing out

I'm trying to save a damaged 8TB disk with ddrescue. I'm not sure that the disk has many bad sectors, but after copying for some time it starts erroring out on every read (or timing out? I'm not sure ...
1 vote
0 answers
18 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
0 answers
57 views

How can I recover data from a failing drive if the drive has been encrypted with bitlocker

I have an ssd that has failed. I keep getting i/o errors when I try to open the drive. The drive is a gpt drive with windows installed on partition 3 and the windows partition has been encrypted using ...
  • 283
0 votes
1 answer
69 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....
  • 113
0 votes
0 answers
135 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
1 vote
0 answers
88 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 ...
  • 11
1 vote
1 answer
57 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
169 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 ...
  • 257
0 votes
1 answer
184 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 ...
  • 141
0 votes
0 answers
151 views

Recovering as much data as possible from bad SD card, ddrescue image file 0 bytes, advice needed

I have a bad SD card that probably failed while being used in a camera. I am not sure on how this happened but after the card stopped showing signs of saved data I might have freaked out and done a ...
2 votes
1 answer
190 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 ...
  • 405
2 votes
1 answer
236 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 ...
  • 23
0 votes
1 answer
593 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
53 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 ...
  • 30.7k
0 votes
1 answer
356 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 ...
  • 167
3 votes
1 answer
128 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 ...
  • 95
0 votes
0 answers
32 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
171 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
41 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
409 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 ...
1 vote
1 answer
360 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
80 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
4k 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
87 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
142 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. ...
  • 109
0 votes
0 answers
18 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
520 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 ...
  • 285
0 votes
1 answer
1k 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 ...
  • 1,223
0 votes
0 answers
175 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
239 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
2k 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
100 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
105 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 ...
  • 129
0 votes
1 answer
122 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
709 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 ...
  • 121
0 votes
1 answer
142 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
402 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 ...
  • 11
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
146 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
0 votes
0 answers
216 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
457 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 ...
  • 157
1 vote
0 answers
217 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'...
  • 129
1 vote
1 answer
3k 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
448 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 ...
  • 121
0 votes
1 answer
667 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 ...
  • 1
0 votes
0 answers
206 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 ...
  • 1,646
0 votes
1 answer
442 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
1 vote
1 answer
775 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 ...
  • 309
1 vote
1 answer
890 views

Usage ddrescue with -d option?

I am learning to use ddrescue and I would like to know what the -d (direct) option is for and in what scenarios it is recommended to use.
  • 151
1 vote
1 answer
204 views

Datarescue with ddrescue location of files

I am recovering a 2TB harddisk with one NTFS partition with ddrescue. Only 300GB of the 2TB are used (mainly photos). My problem is that I have not 2TB availbable on the rescue pc. Can I assume that ...