A friend of mine gave me a thumb drive that he's been unable to fix. He installed OSX on it in an attempt to make a "Hackintosh". Attached is a screenshot of the device's current partition scheme. Any time I try to modify the device's partition scheme it fails. I've tried doing it with GParted and the Gnome Disk Utility (palimpsest), as well as doing the following command as root to try and force a low level format.
dd if=/dev/zero of=/dev/sdc
The command completed successfully and said that all 8 GB were duplicated, but it didn't actually affect the device.
The type of thumb drive in question is an 8 GB Centon Datastick Pro. There is no write protection measure that I'm aware of on this thumb drive, I have several of them identical to it that are 4 GB and other than two small holes in the end to attach a wrist strap, there are no physical features on the device.
Running dmesg reveals these lines of output, along with a few others, regarding the device /dev/sdc
[10304.701316] sd 9:0:0:0: [sdc] Add. Sense: Write protected
[10304.701320] sd 9:0:0:0: [sdc] CDB: Write(10): 2a 00 00 00 00 00 00 00 28 00
I've installed hfsutils and all the other hfs programs recommended to me, but even without those you'd think that using dd to do a low level format would wipe the drive regardless of what was on it, but it didn't.
I'm out of solutions for this problem, can any of you guys offer any suggestions?