My USB have had many files with write protected permission and those are some Trojan, so I have tried the belewo methods :
sudo hdparm -r0 /dev/sdb1
/dev/sdb1:
setting readonly to 0 (off)
readonly = 0 (off)
and tried this instruction:
sudo fsck -n /dev/sdb1
And get the below result which is taking many minutes for ending and I stopped it by pressing ctrl+shift+z
, which could be seen at here with more details:
So I asked here for finding some way to format this strange USB drive.
Update 1:
Base of the first comments, I added the reason for thinking I have one some Trojan in my USB flash Storage :
Node32 in windows said it have had some Trojan which I don't remember its name, another reason for thinking it has some Trojan it's Chinese strange file name because I don't have any chines file on my USB flash storage!
Update 2:
based of 4th comment, I have tried to use the mkusb
as said at here:
But it has been failed and get the below errors (more information could be seen here):
Also, the mkusb
has failed in formatting the USB flash by selecting the first option, as you can see below:
Thanks.