Questions tagged [ddrescue]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
51 views

ddrescue used all space and now I cannot boot

Good day y'all, I have Ubuntu 20.04 LTS. I was using GNU ddrescue to copy what can be copied from a failed disk to a brand new disk. The failed disk was mounted on /dev/sdb and the backup disk on /dev/...
user avatar
  • 53
0 votes
0 answers
200 views

dd Input/Output error trying to image an Ubuntu Mate USB flash image

We are trying to make backup images of our Raspberry Pi test stations using the standard dd command but can not get past an IO error. dd has an IO error and ddrescue has a unaligned error but gparted ...
user avatar
1 vote
1 answer
348 views

Recovery of failing HDD with ddrescue: "remaining time 37days"?

I've got this important 600GB music collection on a failing external HDD, which give me problems for accessing the files, not always but often. I've started ddrescue to copy the whole drive to a ...
user avatar
0 votes
1 answer
306 views

I unmounted ext4 (Ubuntu OS) with gparted. Now it is unallocated. What is happening?

A quick summary: I have 500 GB SSD. There is only Ubuntu 20.04 installed in it. I wrote win10.iso file inside of its EFI System Partition with dd command. After that I couldn't boot. Then I boot ...
user avatar
  • 1
0 votes
0 answers
54 views

Data recovery of failing hdd & disappearing hdd devices

I have a failing 6TB SATA hdd with one NTFS partition (the source drive, /dev/sdc2) from which I'm trying to recover the data. I was using the disk in my Windows PC. To recover the data, I'm using a ...
user avatar
  • 1
0 votes
1 answer
333 views

Help ! DDrescue very very very ... Slow

I am very new to Linux, Im using Ubuntu usb portable version and I'm running ddrescue to try to save data from a 1tb external hard drive and I am using another external 10tb disk with NTFS format to ...
user avatar
  • 1
2 votes
1 answer
613 views

Trying to use DDRescue on a live copy of Ubuntu, how do I install DDrescue?

I am using a "live" version of Ubuntu on my computer, 20.04LTS. I want to install DDrescue. I have run these terminal commands in order: sudo add-apt-repository universe sudo apt update ...
user avatar
1 vote
0 answers
55 views

Formatting of the infile shows as /dev/nvme0n1 instead of /dev/sda

In terms of using Ddrescue to clone the drive, I noticed that my infile is to be /dev/nvme01n instead of /dev/sda. The likelihood of it this based on the SSD drive. As long as I know which is my ...
user avatar
  • 11
0 votes
0 answers
24 views

wd drive data is deleting but not opening

I have a drive "wd my passport" 1tb. I am connecting it on Ubuntu 20LTS. I am not able to open any data, not even able to copy or move any data. While Coying ubuntu gives error of I/O. But ...
user avatar
  • 1
0 votes
0 answers
50 views

ddrescue recovering from extfat drive to ntfs drive

I am recovering an external hardrive (exfat) and storing the image file in ntfs drive. I made source drive to be read-only. Speed is very slow. Ddrescue is operating in B/s. Command I used in ddrescue ...
user avatar
  • 1
0 votes
0 answers
26 views

How to Use same logfile but Change its Location while ongoing ddrescue process?

I am recovering the data from a damaging external WD hardrive 1TB to another new WD 1TB hardrive using the command. sudo ddrescue -d -r 3 /dev/sdc '/media/jordan/Empty My Passport/ddrestored/drive.img'...
user avatar
  • 1
0 votes
0 answers
316 views

I want to interrupt the ddrescue and change the command and then resume it again.Is this possible?

I WANT TO SPEED UP THE DDRESCUE PROCESS AFTER RESUMING I am using ddrescue to recover video files from my external hard drive storage. The command I used: sudo ddrescue -d -r 3 source destination ...
user avatar
  • 1
0 votes
0 answers
51 views

Ubuntu screen turned OFF during ddrescue operation

I was recovering some files from my failing hardrive using ddrescue tool. I went for little walk ,when I came back I saw screen is black with screen backlight ON , KEYBOARD BACKLIT is also ON.I ...
user avatar
  • 1
0 votes
1 answer
281 views

ddrescue to recover files

I know nothing about ddrescue. I just ran the command Sudo ddrescue -d r 3 source destination logfile It's running right now, but I don't If I am doing it right. Errsize is 1Tb Errors:2 Rescued:...
user avatar
  • 1
4 votes
1 answer
196 views

Using Ubuntu to save a dying HDD, disk completely unreadable, even though it works on other OS

I have an old dying hard drive with loads of faulty sectors that I'm trying to save as much data from as I can (before ultimately throwing it out). Using ddrescue on my laptop on macOS did wonders, I ...
user avatar
0 votes
0 answers
284 views

recover data from ddrescue img fails

After seeing some corrupted partition I did recovered whole disk using ddrescue and file is imagefile.img ddrescue -f -r3 /dev/sda imagefile.img imagefile.log now I want to recover some folders from ...
user avatar
3 votes
2 answers
8k views

How to install gddrescue on Ubuntu 20.04?

How can I install ddrescue for Ubuntu 20.04?
user avatar
  • 87
0 votes
1 answer
209 views

How do I recover NTFS on HDD after mkfs on wrong drive

I'm a total novice that made a mistake while trying to learn about Linux. While trying to figure out how to mount my NTFS data drive (with all my back up photos, music, etc. on it) to a new Ubuntu 18....
user avatar
  • 1
3 votes
2 answers
4k views

How to rescue scratched CDs or DVDs using Ubuntu?

I have several old CDs that have scratches and won't play anymore. The same with a scratched video DVD. Is there any chance to recover the data using Ubuntu?
user avatar
  • 9,949
4 votes
4 answers
3k views

Files/Directories on exFat are not visible from Windows

Ubuntu 18.04 LTS exfat-fuse / exfat-utils 1.2.8-1 (The latest version that will install after running sudo apt-get update.) Linux is writing files to a Windows exFat partition on a Windows OS disk ...
user avatar
  • 508
2 votes
1 answer
679 views

ddrescue gives less error without the -r option(try reading bad sectors multiple times) than with -n option(omit bad sectors)

I have a hard drive partition (/dev/sdb1, ubuntu 16.04 partition)with bad sectors I intend to create an image of the partition with bad sectors and then restore to a new drive/partition. First I run ...
user avatar
  • 133
1 vote
1 answer
1k views

How to change ownership of files recovered by Scalpel onto exfat partition?

I ran scalpel to recover files. The input disk is a copy of a failing Windows disk I made using ddrescue. The output directory (from scalpel) is on an exfat partition on my Linux disk. I used exfat ...
user avatar
  • 508
1 vote
3 answers
1k views

How to Block Automounting of a Specific Drive (USB connection) With ** Three Mounted Partitions **

I need to block the auto mounting of a specific external drive (USB connection, by UID) that has three different mount points (partitions)? The contents of this drive were created with ddrescue - to ...
user avatar
  • 508
0 votes
1 answer
627 views

ddrescue: Write error: Invalid argument

I'm trying to recover my data from a 500 gigabyte hard drive that is failing. I'm attempting to use ddrescue with the syntax shown in the output below, but I keep getting the error in the title. What ...
user avatar
2 votes
2 answers
833 views

ddrescue failure question

I'm trying to run ddrescue on a damaged hard drive. For awhile, it ran smoothly but intermittently, often going several minutes to an hour without getting any data. After, it started going fast, but ...
user avatar
  • 21
0 votes
0 answers
55 views

Copy an OS drive with all its partitions, to a bigger hard drive

I have a Windows machine, and it's OS is alongside with the a few more partitions on one hard drive. I want to use Ubuntu live cd, in Order to copy that OS drive to another, bigger hard drive and ...
user avatar
2 votes
1 answer
2k 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 ...
user avatar
  • 23
0 votes
1 answer
2k views

How to mount .img file created from ddrescue from failing hard drive

I've been following this tutorial which got me far enough to create an image file of my failing disc. https://www.technibble.com/guide-using-ddrescue-recover-data/ I'm following step 3a, but I am ...
user avatar
0 votes
2 answers
8k views

Using ddrescue to recover hard drive - Don't know if image is being created

I'm an Ubuntu newbie that has tinkered around with it just a tiny bit, but ultimately don't know much about it except how powerful it could be for super users! Also, if this is the wrong place to post ...
user avatar
3 votes
1 answer
3k views

Use of block size in dd and ddrescue

I have seen examples of using the dd and ddrescue command, and I see that instead of asking the user for the size of the block on their device, they recommend using bs=1M and I do not understand why. ...
user avatar
  • 455
1 vote
1 answer
3k views

Recovering NTFS filesystem from image

I have a WD Passport 1TB external hard drive that ddrescue managed to save 95% of before the drive stopped reading at all. The recovered data is stored as recovery.img. $ mmls recovery.img DOS ...
user avatar
  • 2,433
1 vote
0 answers
390 views

Does inputting incorrect disk block size in a ddrescue command give errors in recovery?

I'm creating an image of my 1tb file and used the command: Sudo dd bs=976624564 if=/dev/sda of='/media/ubuntu/externaldrive/image file.img' I checked block size with command "sudo cat /proc/...
user avatar
3 votes
1 answer
1k views

Can I use ddrescue & Testdisk in ubuntu to create image to recover data? [duplicate]

I mistakely installed ubuntu over my 1tb drive removing essential data and photos which took about 5 mins to install, so I want to know if I can use ddrescue in Ubuntu to create a virtual image of the ...
user avatar
1 vote
1 answer
147 views

md5sum /dev/sdx

I'm trying to make a clone of my SSD, which has Windows 7 installed. I've used ddresuce, and using md5sum as shown below. I'm trying to make an exact copy; how do I verify that it is an exact copy? ...
user avatar
  • 325
0 votes
0 answers
57 views

how can I quickly clone a boot disk?

I have a boot disk (running ubuntu) that is all set up with nginx, php, motion, and some other server stuff, on a 16GB disk drive, using the entire disk. I have several computers to deploy this disk ...
user avatar
  • 14.1k
1 vote
1 answer
84 views

What's the "right thing to do" when latest version of some gnu software is not available via apt-get [duplicate]

I run Ubuntu 16.04 and need to use ddrescue from the gddrescue package. (NB: this is NOT the same software at all as dd_rescue from the ddrescue package). The latest version available via apt-get is 1....
user avatar
1 vote
0 answers
95 views

HDD partitions stopped mounting at startup

Apologies for a basic question about Ubuntu from a novice. My laptop has one SSD, where Ubuntu 16.04LTS is installed, and one HDD. They both have several partitions. Yesterday, I tried to recover ...
user avatar
1 vote
1 answer
2k views

what specifically does ddrescue --retrim do?

We are currently following the forensic suggestion with a no-retry-logged-scan, direct-read-retry-rescan and follow-up retrim direct scans on a failing hard drive. I thought I had a grasp of what the ...
user avatar
  • 141
7 votes
1 answer
35k views

Need help installing DDrescue on Ubuntu 16.04 thumb drive

I've done it before but I had to re-purposed that USB drive and I can't seem to figure out how I got ddrescue installed the first time around. Which file do I need from here http://ftp.gnu.org/gnu/...
user avatar
  • 71
1 vote
0 answers
400 views

gdd rescue terminate called after throwing an instance of std::bad_alloc

I'm trying to recover data from a failing hard drive with gddrescue. Gdd rescue runs just fine, finding no shortage of errors, utnil it hits a certain point and exits with the message: copying non-...
user avatar
  • 131
1 vote
0 answers
1k views

Recover data from corrupted sd card

My cell phone and computer can't access my SD card anymore which is maybe because of a corrupted block/sector. I tried everything as it contained some useful data i desperately need. It is still ...
user avatar
  • 111
0 votes
0 answers
149 views

Urgent Need help to rescue disk

Please help me to rescue my disk in which I have important data. I have tried with script given below. Nothing has happened. Please give some suggestions. Thanks RB $ sudo ddrescue -f -n /dev/...
user avatar
0 votes
1 answer
3k views

ddrescue succesful recue, but no rescued file on output?

I'm trying to recover data from a disk with multiple corrupted sectors. Damaged partition (windows partition, sdb2) in no longer mountable (it takes a lot of time, and sometimes makes ubuntu file ...
user avatar
0 votes
1 answer
2k views

Linux search entire hard drive hex bytes for byte string and list all files the data belongs to? [closed]

Apologies for the title. To be more specific, I recall reading this somewhere in the last year when I was trying to repair data damage to a hard drive. I have a windows XP hard drive that suffered a ...
user avatar
  • 1
1 vote
1 answer
2k views

Cannot mount USB (ddrescue) disk image

I was trying to recover some data from a faulty USB stick (NTFS) but before i tested on another USB stick. the Virtualbox VM detected the USB stick which was unmounted in order to make a ddrescue ...
user avatar
  • 11
2 votes
1 answer
829 views

Drive Recovery with ddrescue

I'm in the need of recovering data from a 1TB drive. The BIOS reported SMART error(s) and then Ubuntu was kind enough to tell me I have 2 SMART errors. On the drive there is about 250GB worth of ...
user avatar
1 vote
0 answers
441 views

"Fixing" Corrupt Sectors in Disk Image

I used ddrescue ( via the gddrescue package ) to create a disk image of a full 1.5TB drive that had multiple partitions. That completed fine using. ddrescue --no-split /dev/sd{X} /path/to/drive.img /...
user avatar
0 votes
2 answers
121 views

ddrescue backuped files from broken hdd on a larger HDD -> Partition not enlargeable

Hi I backuped files from a broken 1Terrabyte hdd on a larger 4Terrabyte HDD using Ubuntu. ddrescue -fr -i0 /dev/sdb3 /dev/sdc2 This seemed to work. Back on a Windows System the 4TB HD shows the ...
user avatar
0 votes
1 answer
3k views

ddrescue error: ddrescue: Can't open output file: No such file or directory

I have a Windows laptop hard drive that failed (500GB). I tried connecting it to a second computer and it froze the second computer whether it was connected via usb or SATA cable. It was recognized ...
user avatar
  • 103
1 vote
0 answers
1k views

ddrescure raw image? lvm encryption lubuntu hard drive to usb drive

I've read I should ddrescue my not-booting hard drive in raw to a larger USB drive. I read this GNU ddrescue Manual but I'm sure which command to use, and whether to chose direct disk access or raw? I ...
user avatar
  • 11