• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5203
  • Last Modified:

cp: cannot create regular file `rc.dat': Read-only file system

I edited rc.sysinit as root then on next boot the whole system is read only and can't re-edit it

Seams etc/rc.sysinit is linked to etc/rc.d/rc.sysinit

I tried chmod +rw and 777 still say read only file system

Any help appreciated
0
MacNuttin
Asked:
MacNuttin
  • 2
1 Solution
 
omarfaridCommented:
please try

 mount -n -o remount,rw /
0
 
MacNuttinAuthor Commented:
Thanks that worked. Can you explain? Was entire file system remounted a read write?
0
 
omarfaridCommented:
it seams that your root filesystem / was mounted read-only and the provided command remounted it read / write
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now