External hard drive not recognized?

Also, I've noticed this with USB devices from time to time. If you've plugged it in and plugged it, or if you've tried numerous operations on it, you have to reboot the whole computer for it to work.

This is a long page that I'm going to link next. It's my 'go to' when you find USB devices that can't be formatted.


There's also a chance that the drive is just plain failing. If it's spinning platter and took a solid whack, that can happen.
 


I have salvaged USB flash drives by wiping the partition data from the drive. All data is utterly lost and unretrievable. This is a fix of last resort. There is no turning back. When you are done, you may be able to use the drive for new data. Can you trust it?

I wipe the USB drive from the Terminal on a Mac. Why Mac? Because that is what I have and use today. I am convinced the same solution will work from Linux.

SEVERE DATA LOSS WARNING:
-> You must be sure of the proper IDENTIFIER for your USB drive. If you make a mistake, you could easily wipe all of the data from your primary drive or another drive. BE VERY CAREFUL!!
Code:
dd bs=4096 if=/dev/zero of=/dev/IDENTIFIER
Code:
sudo dd bs=4096 if=/dev/zero of=/dev/IDENTIFIER

If you are impatient, you can stop the command with CTRL-C - the partition table is wiped quickly, and wiping the rest of a flash drive is unimportant.

Once the partition table is wiped, I format the USB drive using Mac, Windows, or Linux.
-> Sometimes it helps to format the drive just plain old FAT (MS DOS) with MBR. Once that works, you should be able to format it any way you want.

Mac Only Hints:
Find IDENTIFIER names:
Code:
diskutil list

Unmount a drive that you want to wipe. First ask yourself, why is it mounted??? Are you sure you have the correct drive??? ... then ask both questions again ...
Code:
diskutil unmountDisk /dev/IDENTIFIER

.

Sorry to be posting a Mac-based solution, but it is what I use that works for me. I am convinced that the same solution works from Linux. I confess that I struggle to figure out which device IDENTIFIER to use with Linux. It is just a web search away.

Note that USB drives can fail in various permanent ways that cannot be recovered. If the USB drive is old and has been used extensively with many writes, it could be "used up" with a unrecoverable failure.

I just looked online, and the price of USB flash drives is so low that recovering one for reuse does not seem worth the hassle or risk to me.
 
OP,

Did you solve your problem...if so let us know...did any advice given help. ?
m1516.gif
 

Members online


Top