I am using dual operating system on a single machine- windows and ubuntu.
There is a folder in windows C:\ProgramData\Folder_name
which seems to be a virus to me, as it does not get deleted whenever I try to. Also, it comes up again and again even if I try to delete it.
I tried to delete it from ubuntu. and this worked hopefully!!! But today, I got again the same folder at same location. I again tried to delete it from ubuntu, using
user@user$sudo su
root@user$rm -f /location/to/folder
rm: cannot remove `/location/to/folder': Is a directory
root@user$sudo umount /location/to/folder
umount: /location/to/folder: not mounted
root@user$rm -r /location/to/folder
rm: cannot remove `/location/to/folder': Directory not empty
root@user$ls -a /location/to/folder
ls: reading directory /location/to/folder: Input/output error
So, I tried unmounting it, which says it is not mounted. I tried rm
which says it is directory. Can anybody help me please?
EDIT: here is the output with ls -la
command when not inside that directory, going inside the directory and executing ls -la
command gives the input/output error.
drwx------ 1 ashutosh ashutosh 8192 Apr 2 01:01 .
drwx------ 1 ashutosh ashutosh 24576 Apr 1 23:15 ..
drwx------ 1 ashutosh ashutosh 0 Feb 20 22:00 Adobe
lrwxrwxrwx 2 ashutosh ashutosh 84 Jul 14 2009 Application Data -> /media/10DC42B6DC42963E/ProgramData
drwx------ 1 ashutosh ashutosh 0 Jan 27 02:55 ATI
drwx------ 1 ashutosh ashutosh 0 Mar 20 14:40 Avangardo
drwx------ 1 ashutosh ashutosh 0 Feb 19 02:35 Connectify
drwx------ 1 ashutosh ashutosh 0 Feb 18 02:32 DAEMON Tools Lite
drwx------ 1 ashutosh ashutosh 4096 Apr 2 01:01 DC48CCC40D3C963E0000DC47F0809ABC
lrwxrwxrwx 1 ashutosh ashutosh 120 Jul 14 2009 Desktop -> /media/10DC42B6DC42963E/Users/Public/Desktop
lrwxrwxrwx 2 ashutosh ashutosh 128 Jul 14 2009 Documents -> /media/10DC42B6DC42963E/Users/Public/Documents
drwx------ 1 ashutosh ashutosh 4096 Mar 9 20:40 EPS
lrwxrwxrwx 2 ashutosh ashutosh 128 Jul 14 2009 Favorites -> /media/10DC42B6DC42963E/Users/Public/Favorites
drwx------ 1 ashutosh ashutosh 8192 Mar 13 02:26 Microsoft
drwx------ 1 ashutosh ashutosh 8192 Feb 18 02:35 Microsoft Help
-rw------- 1 ashutosh ashutosh 434 Feb 3 17:49 ntuser.pol
drwx------ 1 ashutosh ashutosh 32768 Feb 18 02:51 Package Cache
drwx------ 1 ashutosh ashutosh 0 Feb 18 03:19 PreEmptive Solutions
drwx------ 1 ashutosh ashutosh 0 Feb 18 02:48 regid.1991-06.com.microsoft
drwx------ 1 ashutosh ashutosh 0 Feb 10 14:44 Samsung
drwx------ 1 ashutosh ashutosh 0 Mar 19 12:05 Skype
lrwxrwxrwx 2 ashutosh ashutosh 200 Jul 14 2009 Start Menu -> /media/10DC42B6DC42963E/ProgramData/Microsoft/Windows/Start Menu
drwx------ 1 ashutosh ashutosh 0 Jan 29 23:28 Sun
drwx------ 1 ashutosh ashutosh 0 Mar 21 03:35 TEMP
lrwxrwxrwx 2 ashutosh ashutosh 196 Jul 14 2009 Templates -> /media/10DC42B6DC42963E/ProgramData/Microsoft/Windows/Templates
drwx------ 1 ashutosh ashutosh 4096 Feb 18 03:21 Windows App Certification Kit