I have an HDD which has failed in my NAS, and which I want to return to the manufacturer. I want to remove the data first since I had not encrypted the drive. The drive is recognized by Windows and the like, but it fails when creating partitions or formatting. So right now, I am stuck with what Windows says is one single RAW partition on the drive. (I do know it was two partitions before, one for the Synology firmware and the second for data).
For wiping the disk, I cannot find a tool that allows me to freely specify the range of sectors that I want wiped. All zero-wiping tools I have tried fail after at most a few percent due to bad sectors, so I never arrive at wiping the middle of disk. Is there any tool where I can choose which sections to wipe, regardless of parition boundaries?
dd if=/dev/zero of=...
command with the seek= option should work. Simply writing zeros should suffice in place of "wiping the drive".