FG
💻 Software

How to erase a hard drive with unwritable sectors?

Fresh5 days ago
Mar 15, 202618748 views
Confidence Score0%
0%

Problem

So I have a hard drive that is failing. I want to erase the data on it before sending it for replacement. I'm trying to use , but it stops at the first write error. How can I overwrite the drive with zeros, ignoring write errors? seems to only affect the input file.

Error Output

dd if=/dev/zero of=/dev/sdXX

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to erase a hard drive with unwritable sectors?

Low Risk

Parameters I used with ddrescue to erase drive (filled with zeros from ) and log output into file (replace with ):

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment