Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Damaged USB Partition


  • Please log in to reply
15 replies to this topic

#1 Tenis

Tenis

    Bleepin' FX


  • Malware Study Hall Senior
  • 1,234 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:India
  • Local time:12:54 PM

Posted 31 March 2015 - 01:27 PM

Hi there,

 

I got my teacher's pen drive which seems damaged.I can't format or do any write operation.

I have recovered all files from it using data recovery software but problem now is i can't use it because is raw.

 

I read many topics and tried many things but none of them worked.

Windows Format : "Windows was unable to complete the format"

Diskpart

HP USB Disk Storage Format Tool: "Device media is write-protected"
HDD Low Level Format Tool: "Format Error occurred at offset _____: ___ - Device I/O error" 

 

Also testdisk :

Error:

Can't write partition table

Can't open filesystem.Filesystem seems damaged

 

dN9BHmh.jpg

 

also ran testdisk in linux and in that it doesn't even able to find any partition.

I doubt on what it says "HD jumper settings,BIOS detection" 

 

 

I have my files recovered ,just need to format the partition so it start work again.

 

 

 

Thanks

 



BC AdBot (Login to Remove)

 


#2 RolandJS

RolandJS

  • Members
  • 4,525 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Austin TX metro area
  • Local time:02:24 AM

Posted 31 March 2015 - 01:35 PM

Maybe try SDFormatter v4?


"Take care of thy backups and thy restores shall take care of thee."  -- Ben Franklin revisited.

http://collegecafe.fr.yuku.com/forums/45/Computer-Technologies/

Backup, backup, backup! -- Lady Fitzgerald (w7forums)

Clone or Image often! Backup... -- RockE (WSL)


#3 Tenis

Tenis

    Bleepin' FX

  • Topic Starter

  • Malware Study Hall Senior
  • 1,234 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:India
  • Local time:12:54 PM

Posted 31 March 2015 - 01:54 PM

thanks RolandJS but i already tried it not working.

Actually i tried many tools so i didn't list them all in my post.



#4 Aura

Aura

    Bleepin' Special Ops


  • Malware Response Team
  • 19,664 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:03:24 AM

Posted 31 March 2015 - 03:05 PM

Is it possible that the USB Flash Drive is damaged physically and that's why you're not able to use it? Did you run a health check utility on it? What's the brand and model?

unite_blue.png
Security Administrator | Sysnative Windows Update Senior Analyst | Malware Hunter | @SecurityAura
My timezone UTC-05:00 (East. Coast). If I didn't reply to you within 48 hours, please send me a PM.


#5 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 13,258 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:05:24 PM

Posted 31 March 2015 - 04:05 PM

Try GParted -- Download

 

Download the ISO, burn it to CD, Then boot your PC from the CD, delete the partition, Then create a new one.


Arch Linux .
 
 Come join the fun, chat to Bleeping computer members and staff in real time on Discord.
 
The BleepingComputer Official Discord Chat Server!


#6 marcoose777

marcoose777

  • Members
  • 63 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:08:24 AM

Posted 31 March 2015 - 04:05 PM

If you have access to a linux box insert the USB stick and go to bash and type 'dmesg | tail', <most usb sticks have a device assignment of sd%n - where % is a letter and n is a number (partition)> you should see something like like /dev/sdc ...  You have now worked out where the usb stick is in the /dev(ice) nodes.
Alternatively you can try 'lsusb' if it's installed (usbutils hint hint!), or 'blkid -c /dev/null', another way 'sudo fdisck -l', and another way 'sudo parted -l' or look at here be warned further down the page the sillier/less helpful the suggestions become. Now you know where the stick is
You now have 2 options :

1) Attempt a repair using fsck
2) Completely zero it out and start again using dd (disk destroyer ;) ), fdisk, parted, or gparted etc...

 

Option 1 : Repair guide is available here or in man by typing 'man fsck' in bash }:)

 

or

 

Option 2: My prefered route is detailed here CAUTION !!! BE VERY CAREFULL WITH dd - IT  TAKES NO PRISONERS AND THERE IS NO UNDO

                Alternatively fdisk here or gparted can be found here

 

Please note all these tools owing to there destructive potential need elevated privileges to use so something like 'sudo' or 'su' get you those privileges.

 

spongebob@undersea> sudo command arguments

<enter password>

...

or

 

spongebob@undersea> su

<enter password>

patrickthestarfish@undersea$ command arguments

patrickthestarfish@undersea$ command arguments

patrickthestarfish@undersea$ exit # don't forget



#7 JohnC_21

JohnC_21

  • Members
  • 24,024 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:03:24 AM

Posted 31 March 2015 - 06:47 PM

Run Testdisk again and select Advanced > Boot. Does it say the Boot Sector is damaged and the Backup Boot Sector is okay? 



#8 Tenis

Tenis

    Bleepin' FX

  • Topic Starter

  • Malware Study Hall Senior
  • 1,234 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:India
  • Local time:12:54 PM

Posted 01 April 2015 - 09:37 AM

Is it possible that the USB Flash Drive is damaged physically and that's why you're not able to use it? Did you run a health check utility on it? What's the brand and model?

It was working fine before but now its not.If it physically damaged then i shouldn't able to recover files from it which i did.Only read operations working No write operations.

I ran health check and it shows n/a status.It has no brand name.Here's details of flash drive:

Model : FLASH Drive UT_USB2.0
Firmware : 0.00
Serial : ÿÿ

 

 

Try GParted -- Download

 

Download the ISO, burn it to CD, Then boot your PC from the CD, delete the partition, Then create a new one.

I try to do with it and same result.

  • Can't create partition table
  • New partition: No Partition Table found on device

 

If you have access to a linux box insert the USB stick and go to bash and type 'dmesg | tail', <most usb sticks have a device assignment of sd%n - where % is a letter and n is a number (partition)> you should see something like like /dev/sdc ...  You have now worked out where the usb stick is in the /dev(ice) nodes.
Alternatively you can try 'lsusb' if it's installed (usbutils hint hint!), or 'blkid -c /dev/null', another way 'sudo fdisck -l', and another way 'sudo parted -l' or look at here be warned further down the page the sillier/less helpful the suggestions become. Now you know where the stick is
You now have 2 options :

1) Attempt a repair using fsck
2) Completely zero it out and start again using dd (disk destroyer ;) ), fdisk, parted, or gparted etc...

 

Option 1 : Repair guide is available here or in man by typing 'man fsck' in bash } :)

 

or

 

Option 2: My prefered route is detailed here CAUTION !!! BE VERY CAREFULL WITH dd - IT  TAKES NO PRISONERS AND THERE IS NO UNDO

                Alternatively fdisk here or gparted can be found here

 

Please note all these tools owing to there destructive potential need elevated privileges to use so something like 'sudo' or 'su' get you those privileges.

 

spongebob@undersea> sudo command arguments

<enter password>

...

or

 

spongebob@undersea> su

<enter password>

patrickthestarfish@undersea$ command arguments

patrickthestarfish@undersea$ command arguments

patrickthestarfish@undersea$ exit # don't forget

Didn't work.

DD log:

dd: writing `/dev/sdb': No space left on device
7713+0 records in
7712+0 records out
8086618112 bytes (8.1 GB) copied, 1621.63 s, 5.0 MB/s
 

 

 

Run Testdisk again and select Advanced > Boot. Does it say the Boot Sector is damaged and the Backup Boot Sector is okay? 

No.it says "No Partition  available".



#9 Aura

Aura

    Bleepin' Special Ops


  • Malware Response Team
  • 19,664 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:03:24 AM

Posted 01 April 2015 - 09:46 AM

I guess you could always try to use GParted on the USB and see what it gives, but if it worked flawlessly until now, I guess it's pointless to try.

HP USB Disk Storage Format Tool: "Device media is write-protected"


Did you try removing the write protection on the USB via diskpart?

unite_blue.png
Security Administrator | Sysnative Windows Update Senior Analyst | Malware Hunter | @SecurityAura
My timezone UTC-05:00 (East. Coast). If I didn't reply to you within 48 hours, please send me a PM.


#10 Tenis

Tenis

    Bleepin' FX

  • Topic Starter

  • Malware Study Hall Senior
  • 1,234 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:India
  • Local time:12:54 PM

Posted 01 April 2015 - 10:09 AM

yes i did.i have tried everything i could to do that.



#11 JohnC_21

JohnC_21

  • Members
  • 24,024 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:03:24 AM

Posted 01 April 2015 - 11:51 AM

Is there a make for the flash drive other than UT_USB2.0?



#12 Tenis

Tenis

    Bleepin' FX

  • Topic Starter

  • Malware Study Hall Senior
  • 1,234 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:India
  • Local time:12:54 PM

Posted 02 April 2015 - 03:05 AM

sorry i didn't understand what you mean.



#13 JohnC_21

JohnC_21

  • Members
  • 24,024 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:03:24 AM

Posted 02 April 2015 - 07:23 AM

Is there a brand name stamped on the USB flash drive?

#14 Tenis

Tenis

    Bleepin' FX

  • Topic Starter

  • Malware Study Hall Senior
  • 1,234 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:India
  • Local time:12:54 PM

Posted 02 April 2015 - 07:49 AM

No.Nothing stamped on it.

Looks fake flash drive to me  :lmao:



#15 JohnC_21

JohnC_21

  • Members
  • 24,024 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:03:24 AM

Posted 02 April 2015 - 08:12 AM

I am not sure if you will have any luck but check here. Make sure you download ChipGenius from a reputable site and do a scan at Virus Total. If your USB flash drive has a common chip you may be able to bring it back by replacing the firmware. For the price of flash drives, it may not be worth the bother.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users