Can't format flash drive

iVikD

macrumors regular
Original poster
Sep 11, 2011
227
11
Spain
Hi, I've been trying to format a flash drive, but always get an error when trying to format.
The error reads "Unable to write to last block of the device."
Here's some screenies of a verification and attempt at repair.





Any reason why it's like this? Any way to fix this drive?
Thanks.
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
30,294
10,012
California
You might try going to the next tab over in Disk Util and remove the existing partition (U3) and then add back a new partition.
 

Weaselboy

Moderator
Staff member
Jan 23, 2005
30,294
10,012
California
Tried, get same "can't write to last block" error.
Hmm... did it ever work or is this a new USB key?

Sandisk was doing some wierd things with hidden partition on their USB keys as part of some sort of auto start software they had. There was a Windows exe you could DL to remove it, but no equivalent app to do the same in OS X. I wonder if that is what is causing the problem? Here is some discussion on it. (I see in that thread there is a link to a OS X removal tool)
 

iVikD

macrumors regular
Original poster
Sep 11, 2011
227
11
Spain
Hmm... did it ever work or is this a new USB key?

Sandisk was doing some wierd things with hidden partition on their USB keys as part of some sort of auto start software they had. There was a Windows exe you could DL to remove it, but no equivalent app to do the same in OS X. I wonder if that is what is causing the problem? Here is some discussion on it. (I see in that thread there is a link to a OS X removal tool)
Yeah, at some point it worked. When my friend gave it to me, it was in RAW format. The only other time I've seen a drive act this way was when forcefully removed during a formatting operation. I'll check the link and see if that's a fix.
 

M1LK3Y

macrumors newbie
Dec 4, 2011
10
0
Baton Rouge, LA
RE:Can't format flashdrive

I use a SanDisk USB and I remember it having that file management program on it. I just loaded it into Disk Utility and restored it to a random Unix .iso I had downloaded previously then reformatted and erased.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.