LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-27-2009, 05:45 AM   #1
ashwinidubey
LQ Newbie
 
Registered: Jun 2007
Location: Mumbai, India
Posts: 25

Rep: Reputation: 15
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.
 
Old 09-27-2009, 05:58 AM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,823
Blog Entries: 1

Rep: Reputation: 1218Reputation: 1218Reputation: 1218Reputation: 1218Reputation: 1218Reputation: 1218Reputation: 1218Reputation: 1218Reputation: 1218
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.
 
Old 09-27-2009, 06:15 AM   #3
~sHyLoCk~
Senior Member
 
Registered: Jul 2008
Location: /dev/null
Posts: 1,173
Blog Entries: 12

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by sycamorex View Post
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"

Last edited by ~sHyLoCk~; 09-27-2009 at 06:23 AM.
 
Old 09-27-2009, 06:21 AM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,823
Blog Entries: 1

Rep: Reputation: 1218Reputation: 1218Reputation: 1218Reputation: 1218Reputation: 1218Reputation: 1218Reputation: 1218Reputation: 1218Reputation: 1218
Quote:
Originally Posted by ~sHyLoCk~ View Post
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)
 
Old 09-27-2009, 06:25 AM   #5
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,823
Blog Entries: 1

Rep: Reputation: 1218Reputation: 1218Reputation: 1218Reputation: 1218Reputation: 1218Reputation: 1218Reputation: 1218Reputation: 1218Reputation: 1218
Quote:
Originally Posted by ~sHyLoCk~ View Post
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
 
Old 09-27-2009, 07:43 AM   #6
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
File content delete ajkannan83 Linux - Software 4 07-01-2008 04:16 AM
Delete SUSE10, start over chicoharv Linux - Newbie 3 03-11-2006 12:08 AM
Delete text content syseeker Programming 5 02-07-2006 07:32 AM
delete content form a file bru Programming 1 04-30-2004 07:41 AM
How does one delete directories with content as the SU? Ferrell Ramey Linux - General 2 08-22-2002 07:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration