1
vote
2answers
891 views

Clone hdd with bad sectors

I have a 250 gig hdd and a 240 gig ssd. I want to transfer the data from the 250 gig hdd to the 240 gig ssd. I have tried a variety of methods with no success: (keep in mind i can boot perfectly from ...
0
votes
3answers
3k views

How to mark bad-sectors on SSD drive?

My SSD drive has started to have some bad sectors. My plan is to to copy it to another drive using dd, but it seems like a few bad sectors are making this impossible. How do I mark bad sectors on ...
10
votes
5answers
5k views

How to erase a hard drive with unwritable sectors?

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 dd if=/dev/zero of=/dev/sdXX, but it stops at the first write error. How can ...