Solved

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

Posted on 2008-06-18
3
4,620 Views
Last Modified: 2013-12-16
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
Comment
Question by:MacNuttin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 40

Accepted Solution

by:
omarfarid earned 250 total points
ID: 21814085
please try

 mount -n -o remount,rw /
0
 
LVL 11

Author Comment

by:MacNuttin
ID: 21814212
Thanks that worked. Can you explain? Was entire file system remounted a read write?
0
 
LVL 40

Expert Comment

by:omarfarid
ID: 21814310
it seams that your root filesystem / was mounted read-only and the provided command remounted it read / write
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question