LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices



Reply
 
Search this Thread
Old 02-27-2007, 09:26 PM   #1
Vensan
LQ Newbie
 
Registered: Jul 2005
Posts: 16

Rep: Reputation: 0
can not write to usb stick, only read


i mounted my usb stick as rw but everytime i try to write to it, it gives me the error,
- Error "Read only file system" creating new folder.

i used to be able to write to a few weeks ago but now i can't.

i mounted it onto /dev/sda4

when i mount it onto /dev/sda
all files with strange filenames come up, like it's corrupt.

i've tried puting all kinds of options in /etc/fstab but still is the same.

/dev/sda4 /mnt/drives/usb_stick vfat rw,user,noauto,umask=000 0 0

the only thing i think it might be is that because i used it on windows, windows did something to it so i can't write to it now.

thanks
 
Old 02-27-2007, 09:40 PM   #2
netsupremacy
LQ Newbie
 
Registered: Nov 2006
Distribution: SuSE 10.1, Fedora 4, dyne:bolic 2.3
Posts: 19

Rep: Reputation: 0
i wouldnt think that windows would do anything to it to make it not writable...i use usb drives with win and lin all the time without issues...but you might check it to make sure that it isnt corrupt using:

fdisk <device>

and it wouldnt happen to be formatted as NTFS? (although im not too sure that you can even do that in windows)

and just asking, but do you really have 4 partitions on a usb stick?! (i noticed the /dev/sda4)
 
Old 02-27-2007, 10:13 PM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
It sounds like the filesystem is corrupt and so it is being mounted read-only as a precaution. You could unmount it and use the fsck.vfat command to repair it. Since you are using windows as well, you can try repairing it in windows as well.
 
Old 02-28-2007, 07:54 PM   #4
Vensan
LQ Newbie
 
Registered: Jul 2005
Posts: 16

Original Poster
Rep: Reputation: 0
thanks
i just copied the files of the stick and reformated it, and now it's all fine.
 
  


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
Unable to read/write usb 256mb memory stick Aju Linux - Hardware 13 03-09-2009 04:24 AM
Cannot write to usb stick todders Slackware 8 11-29-2006 04:37 PM
USB Stick reads but won't write jaws_tas Linux - Hardware 3 09-23-2005 01:36 AM
Can't WRITE to USB stick, Mount OK NO WRITE! ClericPreston Linux - Newbie 4 12-04-2004 11:43 AM
write protect freezes my usb stick db391 Linux - Hardware 3 09-25-2004 05:43 AM


All times are GMT -5. The time now is 06:17 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration