Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've used the "Disks" utility to zero out a USB flash drive (pendrive). Now it's not showing up anymore as a usable storage medium.

I need to use this usb drive (of 4 GB) again to write an OS image to it to re-image an old laptop, however I can't seem to do anything with it at this point.

Where do I go from here? I have no clue where to start looking for a solution.

share|improve this question
    
What "zeroed" means? –  That Brazilian Guy Jan 18 '13 at 2:15
1  
@ruda.almeida Overwriting the whole drive with zeroes is what that means usually. –  gertvdijk Jan 18 '13 at 2:17
    
@gertvdijk Agreed, but in this context the OP could also mean "removed all the partitions". Not sure if the distinction matters here. –  That Brazilian Guy Jan 18 '13 at 2:20
1  
@ruda.almeida Well, if you zero out the first 512 bytes your partition table is gone too... :) –  gertvdijk Jan 18 '13 at 2:20
add comment

1 Answer

up vote 2 down vote accepted
  1. First re-install a partition table on it. You can do this in GParted or any other generic partition table editor. Make sure you select the right device in the top right corner of the window. Then in menu Device -> Create partition table and select the good-old MSDOS partition table layout.

  2. Create a new partition. Choose a nice file system you like to use (e.g. FAT32, Ext3, ...)

  3. Apply all changes.

  4. Re-plug the pendrive in the PC. Should work again!

share|improve this answer
    
Lord, bless this man, for he has saved my many hours of sleep. –  Mike Jan 18 '13 at 2:47
    
Thank you sir! Sorry, it's my first time posting, I have no clue what I'm doing. –  Mike Jan 18 '13 at 2:54
    
@Mike No problem, that's why I was suggesting it. You'll find out more later by using this site more, don't worry! :) –  gertvdijk Jan 18 '13 at 2:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.