how can i remount root filesystem as read/write after modify readonly-root file
My linux distro is CentOS 5.3. Today I edited /etc/sysconfig/readonly-root and set "READONLY" to yes, now my /etc/sysconfig/readonly-root file is like this:
# Set to 'yes' to mount the system filesystems read-only.
# Set to 'yes' to mount various temporary state as either tmpfs
# or on the block device labelled RW_LABEL. Implied by READONLY
# Place to put a tmpfs for temporary scratch writable space
# Label on local filesystem which can be used for temporary scratch space
# Label for partition with persistent data
# Where to mount to the persistent data
After system rebooting I find any operation would throw an error saying "Read-only file system", i can not do anything.
Please help me.
Boot with a CD-ROM a edit that file. Probably your distribution disk is bootable.
The Centos DVD media should be be bootable. When it comes up, type
into the prompt
I have found another way of solving my problem. Log in to the system, and run "mount -n -o remount /" as root, this will recover my system to read/write mode.
|All times are GMT -5. The time now is 03:54 PM.|