Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

here is the thing my flash disk is password protected when i plugged in Ubuntu i didn't see the flash disc but when i plugged in on windows machine i can see the drive but can't open the drive it says 'format" but when i click on format it says "password protected" is there a way to format my drive and back to the original?

Thanks,

share|improve this question

1 Answer

up vote 1 down vote accepted

I don't have any experience with password protected flash drives but most probably password protection is a software feature and not the hardware one. If that is the case then you can run gparted on ubuntu and delete the current partition(s) on your flash, then recreate a partition(s) and format it to your desired file system.

To install gparted use:

sudo apt-get install gparted

you can then run it System->Administration->gparted

Update:

Your disk may be failing, try running

sudo badblocks -v /dev/sdb

if the ouput from this command says zero bad blocks then try write mode test to make sure that your disk is fine. Use

sudo badblocks -v -w /dev/sdb

for write mode test.

share|improve this answer
thank you, i tried that but gparted unable to format the partition error massage: "input/output error during write on /dev/sdb error fsyncing/closing/dev/sdb:input/output error" – Achu Jan 28 '11 at 9:17
Your disk may be failing, try running "sudo badblocks -v /dev/sdb" – binW Jan 28 '11 at 9:23
When i run that command it says "checking for bad blocks (read-only test)" after that i tested again gparted. but same problem. – Achu Jan 28 '11 at 9:52
did u let it complete? I mean it should give some output – binW Jan 28 '11 at 10:08
Yes i let it complete and the output is "pass completed, 0 bad blocks found." – Achu Jan 28 '11 at 10:12
show 9 more comments

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.