Jump to content
xisto Community
Sign in to follow this  
iGuest

Linux Only Recognises Usb Drive As Read-only

Recommended Posts

Hi.I have a 2gb Cruzer Micro (USB Drive), that I use for transferring files between computers. It works fine whenever I use computers with Windows, but on Linux it has a problem, it keeps saying the drive's read only. I don't know if this is a bug to do with Linux or just My USB Drive locking itself when it doesn't recognise the OS as Windows.When I had SuSE 10.1, in GNOME. It would hardly work at all in Nautilus. It was really slow and kept freezing, and I had to use Konqueror.I now Have Ubuntu 7.10, with GNOME, and I can view and copy files from it fine in the File Browser (Presumably still Nautilus), except when I try to write to it, it says it's a read-only disk. And that's the message I get when I try to change the permissions, as well.It was a while since I got my usb drive, but I'm pretty sure there weren't any drivers I needed, and even if there were, I'm 99% sure there wouldn't be any for Linux.So....Help? Please! :rolleyes:

Share this post


Link to post
Share on other sites

i had this problem using my usb drive in kubuntu when i had it. i no i fixed it but i cant remember how. i gather its an k/x/edu/go/ubuntu thing. later on i could go on centOS and see wot it does about my usb drive and if it has the same problem then ill try and fix it and tell you how. although i think it works in centOS.lol at least u have ubuntu, i have an iso which im not gonna do anything with for a while. i think we're getting a new cd/dvd drive soon, i hope we do anyway, the computer wont recognise mine anymore and when it did it couldnt read or write from and to discs.

Share this post


Link to post
Share on other sites

for 1 -- what is the filesystem on the drive? since you mentioned windows i would almost guess you might have formatted it with ntfs...also... linux doesn't allow the chmod command on filesystems that are mounted as read only.... my only suggestion for now would be to try to mount your drive as read/write with permissions for the user with which you login... however, this doesn't work too well for ntfs drives, as most distros of linux support r/w on ntfs drives only partially, and without warranty... obviously, ntfs is a proprietary format --so really, if it is an ntfs drive, but you want it compatible for read/write with both windows and linux you should look into the fat32 filesystem... as long as you dont want to cram 4gb files on there (i mean 4gb per one file, not total) -- fat32 should work just fine...however, i distrust Microsoft's format utility, because (at least with the windows 2k version I tried) likes to screw up after wasting about a half an hour... you might want to look into a linux partitioning utility... i think the one for ubuntu would be "qtparted" --- which you should be able to find with your software updater...on the other hand, since i use openSUSE (10.3 now) -- i just use the parted utility which is actually encapsulated by YaST2...<<<MAKE SURE YOU UNMOUNT THE DRIVE BEFORE YOU TRY TO FORMAT IT>>>I myself have two external hdd's... one i formatted fat32... and the other i formatted ntfs (well, actually the person who gave it to me formatted it in this way...) -- unfortunately i'm stuck on the ntfs drive because it fails repeatedly to format fat32, saying it's too large... which of course is funny, because it's about half the size of my fat32 external... all in all, I gave up because of time, and because I just plugged it into my windows xp system, and have avoided linux for now...I would reformat it for real, but it's quite timely to distribute my files across my network to the various computers with little space to hold the files... basically i'm poor and running low on quality disk space, so I have to split it up across computers, and reassemble when I reformat the hard drive as ntfs...all in all, since you said it was a USB stick... i'm pretty sure you should have little or no difficulty formatting it fat32 as it shouldn't be too large...if you filesystem is in fact fat32 already... then you may just simply have to look into your fstab and see if somehow linux didn't decide to mount it as read-only...as far as the device is concerned... i'm pretty sure they could care less what operating system you're currently using...hope this helps at least a little...

Share this post


Link to post
Share on other sites

The filesystem on it is FAT. But... I also have another 256mb usb drive using FAT, and that works fine with both Linux and Windows.

Share this post


Link to post
Share on other sites

The filesystem on it is FAT. But... I also have another 256mb usb drive using FAT, and that works fine with both Linux and Windows.

Take a look at the kernel log. You might be getting a ton of filesystem panics that are causing the kernel to pop it on readonly. I get this occasionally when I b0rk one of my truecrypt containers by not unmounting it properly.

dmesg | grep -i panic
will show you any panic messages. If you're seeing alot of them relative to the disk, copy all the files you can to another disk and use dosfsck to fix the FAT partition, or, since you've backed it up anyway, just mkfs.vfat on the sucker so you have a proper FAT32 filesystem on there.

Share this post


Link to post
Share on other sites

how come ur step dad always calls your computer brick? y cant he just keep it as localhost.i remember when i came to ur house and u had suse. one of the first things i noticed was that it was called brick... i spose if he really wants to...

Share this post


Link to post
Share on other sites
Linux Only Recognises Usb Drive As Read-onlyLinux Only Recognises Usb Drive As Read-only

Try this:

System > Administration > Disk Utility

Navigate to the flash disk on the left sidebar.

Then, on the right side, "Unmount Volume", then "Mount Volume".

Mine works this way ...

-reply by axmukher

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.