Solved

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

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Block sender e-mail address in Postfix 4 66
Edit linux file using python 4 40
linux copy files from usb to folder on system 14 60
AWS vpc peering connection 1 43
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

896 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now