Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I'm new with linux, I was running Virtual box while the computer crashed, so i forced the computer to shutdown, when i started the computer again it seems like there is something went wrong with the hard disk volumes, so I ran the following

lvm vgscan
lvm vgchange -ay
e2fsck -f /dev/cg_rotanpc/lv_root
e2fsck -f /dev/cg_rotanpc/lv_home
exit #every thing started successfully after the exit [OK]

and restarted the computer and now when ever i try to do anything with the computer it gives me an error about

Read-only file system

now i can open any application even the browser because of the read only issue

how can i solve this issue ?

your help will be very very appreciated

share|improve this question

closed as not constructive by Greg Askew, EightBitTony, John Gardeniers, MadHatter, Dave M Jan 18 '13 at 14:52

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

I'm flagging this as off-topic because it is dubious that this question is being asked in a professional capacity. This is something for your local Linux administrator to begin diagnosing. – Andrew B Jan 18 '13 at 9:26
up vote 0 down vote accepted

Assuming that your file system has been mounted on /

Run the following command

mount -o remount,rw /
share|improve this answer
It is very likely that the file system got automatically mounted read-only because of a file system error. I wouldn't write to it (= mount it rw) before a run of fsck. – scai Jan 18 '13 at 9:52
Thanks both, your hint was very helpfull – user155001 Jan 20 '13 at 14:41

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