0

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

1
  • 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, 2013 at 9:26

1 Answer 1

0

Assuming that your file system has been mounted on /

Run the following command

mount -o remount,rw /
1
  • 2
    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, 2013 at 9:52

Not the answer you're looking for? Browse other questions tagged .