LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   dd on Debian 9 Stretch is failing. (https://www.linuxquestions.org/questions/linux-kernel-70/dd-on-debian-9-stretch-is-failing-4175619086/)

OctanGaming234 12-06-2017 01:19 PM

dd on Debian 9 Stretch is failing.
 
So, over the past few weeks my internal HDD had been malfunctioning,
I decided to dd my disk to another using a disk image.

I created an Debian bootable USB and did this:

sudo -i

then after that, I did:

dd if=/dev/sda3 conv=sync,noerror bs=32M | gzip -c > /media/pi/OctanMyPassport/backup.gz

It is very slow an usually comes up with errors like: Error splicing file.

AMD E1-7010 Radeon R2 Graphics APU @ 1.5Ghz
4GB DDR3 RAM
1TB HDD TOSHIBA MQ100ABD01
2TB HDD WD MY PASSPORT WD001765AAS

Please help as my HDD is dying, 7000 sectors bad.

Emerson 12-07-2017 10:18 PM

Use ddrescue instead of dd.

OctanGaming234 12-12-2017 03:36 PM

Thanks I will try it out!


All times are GMT -5. The time now is 12:05 AM.