Skip to main content
Topic: How to recover an empty hard drive? (Read 98 times) previous topic - next topic
gripped and 2 Guests are viewing this topic.

How to recover an empty hard drive?

I have a "bricked" HD here. It was running fine today. I was able to make an image backup using Foxclone, but then I decided to re-partition it, and that failed. Now I can plug it in using a USB/SATA adapter, and see it as /dev/sde, but the system thinks there's no media there. Nothing I've tried will recognize it to do anything. Not fdisk, sfdisk, gnome-disks, or gparted. If I plug into a Win10 box, it shows up as E:, but also with nothing there, and I can't format it, or do anything with it. Even hdparm can't work on it.
Code: [Select]
$ hdparm --security-set-pass password /dev/sde
security_password: "password"

/dev/sde:
Issuing SECURITY_SET_PASS command, password="password", user=user, mode=high
The running kernel lacks CONFIG_IDE_TASK_IOCTL support for this device.
SECURITY_SET_PASS: Invalid argument

An example:
Code: [Select]
$ sudo dd count=8 if=/dev/null of=/dev/sde
[sudo] password for myname:
dd: failed to open '/dev/sde': No medium found

It shows up in lsblk as type disk, with a size of zero.

I also tried using Western Digital's drive utility, but that works only with their various external drives, and maybe with RAID controllers. Doesn't see it at all via USB.

I'm about to try it in another machine, connected to the SATA, using a live CD to boot from. But I'm pretty dubious about that working.

I know the drive isn't dead. I'd just like to use it as an external backup device. Any thoughts?

Re: How to recover an empty hard drive?

Reply #1
How many hours on the drive do you know it's stats at all?
Cat Herders of Linux

Re: How to recover an empty hard drive?

Reply #2
It came out of a system that originally had Win8 on it.  :P

But no, it isn't an issue of drive failure. It was working fine, right up until the failed re-partition.

I've since noticed the same issue on other drives I have around here. I wiped them with either Darik's Boot and Nuke or the equivalent GNU wipe/erase. Now they don't work(?) at all. (I was trying other drives as part of a decision path to find one to use as a detached archive drive.)

I installed that particular drive back into the system it came out of, and even the BIOS doesn't see it.

Or, something really odd, or simple, is going on, and I'm just not seeing it.

I wish I had a test system here with an eSATA port, so I could simply plug it in and try that. Alas, I have severely limited desktop / workbench space, and even if I had such a PC, I don't where I'd put it.  :(

Re: How to recover an empty hard drive?

Reply #3
According to this doing a Secure Erase through a USB > Sata adapter can brick the device.
 

Re: How to recover an empty hard drive?

Reply #4
Nope, didn't do that.

Re: How to recover an empty hard drive?

Reply #5
Is this a guessing game because you haven't told us what you did do ?
Quote
but then I decided to re-partition it, and that failed.
A masterclass in vague.

Model of this drive?

From what you say
Quote
I've since noticed the same issue on other drives I have around here. I wiped them with either Darik's Boot and Nuke or the equivalent GNU wipe/erase. Now they don't work(?) at all.
I'd suggest you cease secure erasing drives for now.

 

Re: How to recover an empty hard drive?

Reply #6
Oh, good grief, really? Is there some reason why you can't just ask useful questions?
Quote
Model of this drive?
Western Digital WD10EZEX. 1TB
Quote
I'd suggest you cease secure erasing drives for now.
And then just what? Give them to Goodwill so anyone can then take my data? I'm not interested in that particular discussion. I am very much conscious about data security, and personal privacy. Oh, I can pay a local shop to wipe them, but why spend the money?

FWIW, I can't see that it matters whether I used gnome-disks or gparted or something else. I'm just looking to find whether there's a way to unbrick the drive now, or any others. I also have one which came out of a Win10 box, direct into a static bag, and it's also apparently a brick. That one's a Seagate. Since I have 2Seagate 500GB drives here, I now couldn't tell you which one in the pile is that particular one.

I'm grateful for any useful advice. People don't need to get snarky about it.