Solved

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

Posted on 2008-06-18
3
4,524 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
  • 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

773 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