Re: Can not format USB drive
On Sat, 2013-09-21 at 23:11 +0200, twpim-www@yahoo.com.au wrote:
> - on Windows box original folders are not visiable only newly created
> executable files are showed with icon as folders and without .exe extension
It's normal for default settings, that Windows doesn't show extensions.
> Maybe somebody can identify by this description which virus is this?
At the moment _nothing_ does lead to a virus, but more likely to e.g. a
broken controller. What makes you think that it is a virus? Is there any
information you didn't give us? Perhaps you need to ask at a Windows
forum or Windows support, since the Debian mailing list isn't for fixing
Windows issues.
> I can mount this drive in Debian box but only in read-only mode. It make
> no difference if mounting as regular user or superuser:
>
> # mount /dev/sda1
> mount: block device /dev/sda1 is write-protected, mounting read-only
If you've got good luck, then the controller isn't broken, but you need
to remove the write protection.
> I even tried this with no success:
> # dd if=/dev/zero of=/dev/sda
> dd: opening `/dev/sda': Read-only file system
Why should this work for a write-protected device?
Windows:
http://www.rmprepusb.com/tutorials/54---how-to-fix-write-protected-disks
http://www.pcadvisor.co.uk/how-to/storage/3456666/how-format-write-protected-flash-drive/
Linux:
As root run
hdparm -r0 /dev/sd?
where ? is for a, b, c ... z, IOW the number of your USB stick.
[rocketmouse@archlinux ~]$ hdparm --help
-r Get/set device readonly flag (DANGEROUS to set)
Regards,
Ralf
Reply to: