DIGIT-ARC read-only archive · snapshot: July 23, 2026

How to repair corrupted external hard drive in Ubuntu 12.04 ?

4 posts · originally from https://geek.digit.in/community/threads/how-to-repair-corrupted-external-hard-drive-in-ubuntu-12-04.161856/

trublu
trublu Original post #1
Aug 17, 2012 at 6:10 PM
My friend has a Seagate FreeAgent Go external hard drive, which has probably developed some bad sectors, and isn't getting detected in Windows. The drive shows up in device manager, but doesn't show up in the list of drives in "My Computer". So I can't repair it using Windows.

It doesn't show up in Ubuntu either ( or does it? ) - I'm confused about this, since the sticker on the drive says it's 500 GB, but the Ubuntu disk utility detects a 2.2 TB drive :D

BTW, disks utility says there is one bad sector on this hard drive. I tried to do a sudo badblocks, but it seems to be taking ages to complete.

What should I do?

EDIT : I tried to run a SMART self-test, but got this error :

"sk_disk_smart_self_test: Operation not supported (udisks-error-quark, 0)"

Looks like I have posted this in the wrong section. Mods - can you help move this to the hardware section?
JojoTheDragon
Aug 18, 2012 at 9:16 AM
Is the drive in windows supported format ?
trublu
trublu #3
Aug 18, 2012 at 11:54 PM
Yes. The guy who owns it uses Windows only :D .
d6bmg
d6bmg #4
Aug 20, 2012 at 12:13 AM
Generally SMART isn't supported by external HDDs. You need to run sudo badblocks. As it is 2TB HDD, it will take time. AFAIK, there is no other way.