Tuesday, September 24, 2013

Turn USB write protect flag off

Error:

[sdb] No Caching mode page present
[sdb] Assuming drive cache: write through
[sdb] Attached SCSI removable disk

Reason:

Most of the virus programs try to turn on write protect flag of USB disks after inserting their malicious code programs/applications in to that. So that none of the programs can able to delete that even format the disk too.

Solution:

Take a Linux console and give the below command to reset the write protect flag. Then the drive comes to normal read/write mode.

Assuming that your USB device is /dev/sdb.
         hdparm -r0 /dev/sdb

No comments:

Post a Comment