Re: [Hampshire] remove viruses on external HDD from Linux bo…

Top Page

Reply to this message
Author: Lisi
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] remove viruses on external HDD from Linux box
Thanks, Al
On Friday 10 October 2008 14:31:50 Alan Pope wrote:
> 2008/10/10 Lisi <hantslug@???>:
> > I am trying to remove one of the viruses that ClamAV found but was unable
> > to remove. I too am having no success at removing them, being told that
> > the file system is read only.
>
> One of the _suspected_ viruses that ClamAV found...
>

Thanks for that pointer. I obviously accept too easily what ClamAV tells me.
In future I'll look up identified "viruses" to check them before I do
anything.

> > Could some kind soul tell me what the command should be if I want the
> > filesystem to be read/write (so that I can remove the infected files)? I
> > am running as root from the command line (and have the box disconnected
> > from the router). My last attempt was:
> >
> > # mount -t ntfs -rw /dev/sdb1 /media/disk
>
> Shouldn't that be:-
>
> # mount -t ntfs -o rw /dev/sdb1 /media/disk
>
> > I had concluded from my looking up*, obviously erroneously, that that
> > ought to work :-(
>
> Google plus "mount filesystem read-write" finds:-
>
> HowTo Mount NTFS Filesystem Partition Read Write Access in ...
> http://www.swerdna.net.au/linhowtontfs.html
>
> Which reveals:-
>
> hostname:~ # mount -t ntfs-3g -o rw,uid=1000,gid=100,umask=0022
> /dev/sda2 /path_to/mount_point

:-(

There is an art to using Google which I have obviously not yet mastered.
First, one must ask the right question and second one must chose the right
reply.

Sadly that just produced the error message

Unknown file system ntfs-3g

:-(
Lisi