LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   can't delete content of pendrive form my suse10.2 (https://www.linuxquestions.org/questions/linux-newbie-8/cant-delete-content-of-pendrive-form-my-suse10-2-a-758046/)

ashwinidubey 09-27-2009 05:45 AM

can't delete content of pendrive form my suse10.2
 
hi,
i am a noob to linux and installed dual boot xp and suse10.2 linux.
now i have got a pen drive...
i have formatted it as NTFS, it appears blue in WinXP and Vista.
;
;
;
now,
i have hell lot of virus in penDrive;
but i can't delete it from linux..
i can see every thing but can't delete it.
in fact i can't delete any thing.
suse10.2 says, read only error.
cannot modify or delete.
...
can some give me some...
help here.

sycamorex 09-27-2009 05:58 AM

If you don't mind reformatting the pen drive (which btw is probably the best option), try to install the program called gparted which has a nice graphical user interface and will let you format the drive. You'll need to run it as root.

~sHyLoCk~ 09-27-2009 06:15 AM

Quote:

Originally Posted by sycamorex (Post 3698408)
If you don't mind reformatting the pen drive (which btw is probably the best option), try to install the program called gparted which has a nice graphical user interface and will let you format the drive. You'll need to run it as root.

Or just
Quote:

mkntfs /dev/hdb
??

Anyway, that's not really what the OP want's I guess. It is permission problem. I will say mount the pen drive manually:
Quote:

mount -t ntfs -o users,rw,force /dev/hdb /mnt
Check out which one your pen drive is by "fdisk -l"

sycamorex 09-27-2009 06:21 AM

Quote:

Originally Posted by ~sHyLoCk~ (Post 3698414)
Or just
mkdosfs /dev/hdb or mkntfs /dev/hdb

??

Sure, just make sure that you identify your pendrive correctly. /dev/hdb is just an example here. On your system it could be /dev/sdb dev/sdc, etc. If you issue 'fdisk -l' (as root) you'll see all drives attached to your computer at the moment (or you'll also see it in gparted)

sycamorex 09-27-2009 06:25 AM

Quote:

Originally Posted by ~sHyLoCk~ (Post 3698414)
Or just


??

Anyway, that's not really what the OP want's I guess. It is permission problem. I will say mount the pen drive manually:

Yes, but wiping out the whole drive would probably be the safest solution anyway. You never know what nasty files lurk in the dark:)

ongte 09-27-2009 07:43 AM

Guys, it's not a permission issue. OpenSUSE 10.2 does not have NTFS write support out of the box. You will need to install ntfs-3g and fuse manually. So I suggest upgrading to the latest OpenSUSE 11.1 or alternatively you could just format the pendrive back to FAT.


All times are GMT -5. The time now is 06:38 AM.