Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I plug in my USB pen drive, it is automatically mounted as read/write, as expected.

However, after a random time it suddenly gets unmounted and remounted as read-only.

A part from waiting for this annoying bug to be fixed, is there a workaround to prevent this from happening?

share|improve this question

open terminal and type dmesg & insert your pen drive and check the Log of it .dmesg contains the system log .

for more info , look at here

share|improve this answer

To expand on raja.genupula's answer, this could mean you need to do a filesystem check on the drive.

Try this, open up Terminal, type dmesg, then insert your pen drive and wait for it to become read-only. dmesg shows you system log messages, and if you see any like this after it becomes read-only:

[17183798.908000] FAT: Filesystem panic (dev sda1)
[17183798.908000]     fat_get_cluster: invalid cluster chain (i_pos 0)
[17183798.908000]     File system has been set read-only

Then it likely indicates that you need to do a filesystem check. To check the filesystem, use "Disk Utility" (under System, Administration), find your device, unmount it, check the file system, then mount it again.


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.