Questions tagged [ddrescue]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
24 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....
user avatar
  • 113
0 votes
0 answers
46 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, ...
user avatar
  • 1
0 votes
0 answers
31 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 ...
user avatar
  • 1
1 vote
1 answer
31 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. (...
user avatar
0 votes
3 answers
95 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 ...
user avatar
  • 237
0 votes
1 answer
79 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 ...
user avatar
  • 141
0 votes
0 answers
43 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 ...
user avatar
2 votes
1 answer
154 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 ...
user avatar
  • 395
0 votes
0 answers
33 views

ddrescue with gap + combine gapped images to one

Followup to ddrescue generate mapfile on partial image after cat --generate-mode Did various attempt with ddrescue. For example: ddrescue --no-scrape --sector-size=512 --input-position=900GiB /dev/...
user avatar
  • 23
2 votes
1 answer
140 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 ...
user avatar
  • 23
0 votes
1 answer
318 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 ...
user avatar
0 votes
1 answer
40 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 ...
user avatar
  • 29.5k
0 votes
1 answer
226 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 ...
user avatar
  • 167
3 votes
1 answer
99 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 ...
user avatar
  • 75
0 votes
0 answers
27 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 ...
user avatar
0 votes
0 answers
107 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 ...
user avatar
0 votes
0 answers
35 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 ...
user avatar
1 vote
3 answers
255 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 ...
user avatar
1 vote
1 answer
246 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 ...
user avatar
0 votes
1 answer
63 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 ...
user avatar
0 votes
1 answer
3k 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. ...
user avatar
2 votes
1 answer
63 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: ...
user avatar
0 votes
1 answer
90 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. ...
user avatar
  • 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 "...
user avatar
11 votes
1 answer
428 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 ...
user avatar
  • 286
0 votes
1 answer
988 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 ...
user avatar
  • 1,183
0 votes
0 answers
144 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 ...
user avatar
0 votes
1 answer
181 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 ...
user avatar
3 votes
1 answer
1k 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 ...
user avatar
0 votes
1 answer
58 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?;)
user avatar
1 vote
1 answer
76 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 ...
user avatar
  • 129
0 votes
1 answer
104 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, ...
user avatar
2 votes
1 answer
591 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 ...
user avatar
  • 121
0 votes
1 answer
128 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 ...
user avatar
1 vote
1 answer
330 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 ...
user avatar
  • 11
2 votes
0 answers
986 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 ...
user avatar
0 votes
1 answer
126 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 ...
user avatar
  • 1
0 votes
0 answers
204 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 ...
user avatar
0 votes
1 answer
401 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 ...
user avatar
  • 147
1 vote
0 answers
197 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'...
user avatar
  • 129
1 vote
1 answer
2k 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 ...
user avatar
1 vote
0 answers
396 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 ...
user avatar
  • 121
0 votes
1 answer
597 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 ...
user avatar
  • 1
0 votes
0 answers
186 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 ...
user avatar
  • 1,608
0 votes
1 answer
385 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 ...
user avatar
  • 1
1 vote
1 answer
694 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 ...
user avatar
  • 309
1 vote
1 answer
686 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.
user avatar
  • 151
1 vote
1 answer
184 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 ...
user avatar
1 vote
1 answer
378 views

SD card img created with dd is all zeros [closed]

A computer illiterate family member asked me to recover photos from an SD card she used in her camera. She went to fetch them from her computer when it informed her that the device needed to be ...
user avatar
1 vote
0 answers
96 views

Generate gddrescue log file from badblocks list?

I have a list of badblocks. How do I generate a gddrescue mapfile/logfile from it? Assuming that the sector size is known. This is the reverse way of Generating dead LBA list from gddrescue mapfile/...
user avatar
  • 1,608