I
I
Intelide2016-10-02 20:47:56
linux
Intelide, 2016-10-02 20:47:56

How to skip bad sectors when copying?

Hello, I have a hard drive that is full of bad sectors.
When copying files through mc, you have to press enter to skip an unreadable sector.
Is there an option how to copy information from working sectors, and skip the one on the broken ones?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nikolai Romanovich, 2016-10-02
@Intelide

The ddrescue utility is specifically designed for this.

Y
younghacker, 2016-10-03
@younghacker

dd?
noerror continue after read errors
You can also call dd from find -type f and copy file by file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question