Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
Linux Only Recognises Usb Drive As Read-only
Posted 04 December 2007 - 05:58 AM
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.
Posted 04 December 2007 - 06:20 AM
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.
Posted 04 December 2007 - 11:42 PM
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...
Posted 06 December 2007 - 03:22 PM
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 panicwill 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.
Posted 09 December 2007 - 06:15 AM
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...
Posted 16 August 2010 - 02:50 AM
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
Reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users