Questions tagged [ddrescue]

The tag has no usage guidance.

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

bad magic number in superblock in disk cloned with ddrescue

I am in deep water here and would appreciate some help. I feel I must be missing something basic. I have a failing 2TB external HDD, with an NTFS file system. The drive is about half-full of data. I ...
Quiddity's user avatar
0 votes
0 answers
146 views

Restore EXT4 Partition from NVME

I have a server running on Ubuntu and OpenMediaVault 6 as NAS software on a VM. For data storage I use a seperate NVME. After restarting the server I could not connect from my other PC to my NVME ...
user3358102's user avatar
1 vote
0 answers
34 views

ddrescue not starting after cancelling

I used ddrescue to copy data from an about-to-fail hard drive to another clean drive. I had formatted the targetted drive and began the process successfully but later canceled it because I had to get ...
Shamininski's user avatar
0 votes
0 answers
22 views

unable to install ddrescue [duplicate]

Im using the ubuntu 20.04 im trying to install ddrescue and ive tried most things ive seen here but i still get Unable to locate package .What coould be the issue . ive updated the repository enabled ...
izyeff's user avatar
  • 1
0 votes
1 answer
130 views

SD card ddrescue retrieved everything but badblocks lists bad blocks like crazy; how come?

It astonishes me that I was able to perfectly recover an SD card with ddrescue which was used in an RPi for quite a while. But when I'm scanning the SD card with badblocks -nvs bad blocks are listed ...
participant's user avatar
1 vote
1 answer
2k views

How can I get the current version of ddrescue?

I am running an Ubuntu 18.04.2 LTS from a live DVD to use ddrescue on an old HDD. When I do sudo add-apt-repository universe sudo apt update sudp apt install gddrescue I get version 1.22-1 which ...
Kurtibert's user avatar
  • 141
1 vote
0 answers
98 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/...
Aleph_0's user avatar
  • 53
0 votes
0 answers
706 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 ...
lynnejohn's user avatar
1 vote
1 answer
1k 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 ...
AbaratarCostes's user avatar
0 votes
1 answer
639 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 ...
nfs's user avatar
  • 1
0 votes
1 answer
776 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 ...
Eduvas's user avatar
  • 1
2 votes
1 answer
2k 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 ...
John Lahey's user avatar
1 vote
0 answers
138 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 ...
fin230's 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 ...
gkd's user avatar
  • 1
0 votes
0 answers
178 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 ...
gkd's user avatar
  • 1
0 votes
0 answers
77 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'...
gkd's user avatar
  • 1
0 votes
0 answers
880 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 ...
gkd's user avatar
  • 1
0 votes
0 answers
65 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 ...
gkd's user avatar
  • 1
0 votes
1 answer
488 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:...
gkd's user avatar
  • 1
4 votes
1 answer
259 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 ...
ExtraGoofy's user avatar
0 votes
0 answers
424 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 ...
user2426998's user avatar
3 votes
2 answers
14k views

How to install gddrescue on Ubuntu 20.04?

How can I install ddrescue for Ubuntu 20.04?
wst's user avatar
  • 87
0 votes
1 answer
398 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....
Rob Y's user avatar
  • 1
8 votes
2 answers
11k 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?
mniess's user avatar
  • 10.5k
4 votes
4 answers
5k 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 ...
JasonF4's user avatar
  • 548
2 votes
1 answer
2k 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 ...
user27665's user avatar
  • 143
2 votes
1 answer
2k 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 ...
JasonF4's user avatar
  • 548
1 vote
3 answers
3k 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 ...
JasonF4's user avatar
  • 548
0 votes
1 answer
1k 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 ...
Skylarr Watson's user avatar
2 votes
2 answers
2k 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 ...
Miton's user avatar
  • 21
0 votes
0 answers
67 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 ...
thebeancounter's user avatar
2 votes
1 answer
3k 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 ...
Arwen's user avatar
  • 23
0 votes
1 answer
3k 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 ...
Trevzilla's user avatar
0 votes
2 answers
9k 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 ...
Trevzilla's user avatar
3 votes
1 answer
4k 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. ...
MarianoM's user avatar
  • 655
1 vote
1 answer
4k 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 ...
qwr's user avatar
  • 2,802
1 vote
0 answers
603 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/...
HorizonBloom's 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 ...
HorizonBloom's user avatar
1 vote
1 answer
172 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? ...
Epsilon's user avatar
  • 325
0 votes
0 answers
62 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 ...
j0h's user avatar
  • 14.8k
1 vote
1 answer
97 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....
Scott Petrack's user avatar
1 vote
0 answers
97 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 ...
trap drap's 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 ...
Scott's user avatar
  • 140
8 votes
1 answer
41k 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/...
PaulS's user avatar
  • 81
1 vote
0 answers
431 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-...
cat40's 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 ...
Austin's user avatar
  • 111
0 votes
0 answers
158 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/...
Ramesh 's user avatar
0 votes
1 answer
4k views

ddrescue successfully rescued, but no rescued file on output

I'm trying to recover data from a disk with multiple corrupted sectors. Damaged partition (Windows partition, sdb2) s no longer mountable (it takes a lot of time, and sometimes makes Ubuntu file ...
Nicolas D's 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 ...
DChronosX's user avatar
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 ...
Pat's user avatar
  • 11