I have Sony 8Gb pen drive. I was trying to make it usb win 7 bootable drive using command prompt and messed it up.
Now I have two comps with Win and Ubuntu on it:
On win7,it shows up under disk management but not able to format.
On ubuntu i have drive disk utility, gparted, fdisk and dmesg; nothing could help to format the hard disk.
I get this message:
[ 402.263947] usb 2-5: device descriptor read/64, error -110
[ 417.553939] usb 2-5: device descriptor read/64, error -110
[ 417.816654] usb 2-5: reset high speed USB device using ehci_hcd and address 3
[ 430.443970] usb 2-5: USB disconnect, address 3
[ 430.443997] sd 6:0:0:0: Device offlined - not ready after error recovery
[ 430.444014] sd 6:0:0:0: [sdb] Unhandled error code
[ 430.444018] sd 6:0:0:0: [sdb] Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK
[ 430.444024] sd 6:0:0:0: [sdb] CDB: Read(10): 28 00 00 00 00 00 00 00 08 00
[ 430.444039] end_request: I/O error, dev sdb, sector 0
[ 430.444045] __ratelimit: 21 callbacks suppressed
[ 430.444050] Buffer I/O error on device sdb, logical block 0
[ 430.444149] ldm_validate_partition_table(): Disk read failed.
[ 430.444190] Dev sdb: unable to read RDB block 0
[ 430.444247] unable to read partition table
[ 430.444552] sd 6:0:0:0: [sdb] READ CAPACITY failed
[ 430.444557] sd 6:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[ 430.444563] sd 6:0:0:0: [sdb] Sense not available.
[ 430.444583] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 430.444588] sd 6:0:0:0: [sdb] Attached SCSI removable disk
You can use this link to help in doing the secure erase and even though it is from the OCZ forum and is for a SSD all you have to do is substitute the pen drive for the SSD. The post is long and may seem to be hard to do as it did to me the first time I tried it but it is easy to do.