Flash Drive Complete Rebuild

Using TestDisk to repair the filesystem
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Posts: 2
Joined: 11 Sep 2013, 00:08

Flash Drive Complete Rebuild

#1 Post by AkBKuU » 11 Sep 2013, 00:26

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

Code: Select all

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

Sponsored links

User avatar
Site Admin
Posts: 4784
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France

Re: Flash Drive Complete Rebuild

#2 Post by cgrenier » 12 Sep 2013, 08:54

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

 readonly      =  0 (off)

Posts: 2
Joined: 11 Sep 2013, 00:08

Re: Flash Drive Complete Rebuild

#3 Post by AkBKuU » 12 Sep 2013, 21:53

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.


Who is online

Users browsing this forum: No registered users and 2 guests