Page 1 of 1

Flash Drive Complete Rebuild

Posted: 11 Sep 2013, 00:26
by AkBKuU
Hello,
I have a Lexar JumpDrive USB 3.0 64Gb flash drive. I was using it with Ubuntu and it did something to it that has made it completely unusable. I had tried several different recovery methods a while ago but I don't remember what they were now. I stubled accross TestDisk yesterday when I had an HDD take a dive and it was able to recover the 1Tb+ files I had on it so I am hoping it can just make the flash drive usable. I don't have any data on it that I need to recover, I just want to be able to use it again. It Windows' Disk Management it says the drive is read only. Here are the results for different action in TestDisk using Intel partition table:

Analyze>Quick Search:

Code: Select all

* HPFS - NTFS     0 0 33 7787 159 52 125108192 [New Volume]
Analyze>Quick Search>Write:

Code: Select all

Partition: Write error
Advanced>Boot>Rebuild BS>Write:

Code: Select all

Write error: Can't write new NTFS boot sector
Write error: Can't write new NTFS backup boot sector
Delete:

Code: Select all

Write error: Can't clear partition table
What steps should I take to just get it back to being usable?

Re: Flash Drive Complete Rebuild

Posted: 12 Sep 2013, 08:54
by cgrenier
The disk may have a jumper that you can set for the read-only mode.
Under Linux, as root, run "hdparm -r /dev/sdb" (replace sdb by the correct device) to check if the disk is in read-only mode. You may force it back to read-write.

Output on my own-computer when a disk isn't in read-only:

Code: Select all

sudo hdparm -r /dev/sdb

/dev/sdb:
 readonly      =  0 (off)

Re: Flash Drive Complete Rebuild

Posted: 12 Sep 2013, 21:53
by AkBKuU
The drive does not have a jumper.

I'm away from the drive right now but I'll try that command when I have access to it again.