Help! I Accidentally Formatted My External Drive on Linux—What Can I Do?

0
15
Asked By CuriousCat88 On

I made a mistake while copying files on my Linux machine. Instead of using the command to copy files to "/dev/sdd1," I accidentally used "/dev/sdd" and now Linux, Windows, and MacOS can't read the drive. MacOS says it's unformatted, and Windows shows a question mark next to it. I used to have two partitions, but now it appears only one is functioning. Is there any way to recover my data, or is it lost for good?

3 Answers

Answered By DataDude42 On

It sounds like you might have damaged the partition table on your drive, which could make data recovery tricky—and potentially expensive. Before you do anything else, use a cloning tool to create an image of the drive on another storage device. This way, you can attempt recovery from the image instead of the original drive itself. You can rebuild the partition table to get the drive back in working order, but that won’t restore the data you lost.

Answered By RecoverRex On

I’m not sure how that specific command would cause the issue, but I’ve read that some recovery software can help. Just be careful and don't write anything else on the drive! Check out lists of recovery tools online; some good options include TestDisk and Wise. A while back, I accidentally flashed a large ISO to an external drive and was able to recover most of my data using Wise—it just took a while to scan the drive.

Answered By TechieTina On

Using the command you mentioned wouldn’t typically overwrite the drive, but it can mess up the partition table. There's actually software that might help you recover data, but make sure you don’t write anything new to the drive! There are several tools available like TestDisk, Stellar, and Recuva that could do the job. I had a similar issue once and managed to recover most of my files using one of those programs, though it took a bit of time.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.