Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

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.

ScreenShot2011-12-02at62923PM.png

ScreenShot2011-12-02at63342PM.png

ScreenShot2011-12-02at63404PM.png


Any reason why it's like this? Any way to fix this drive?
Thanks.
 
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.
 
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)
 
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.
 
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.