ex/vi: Error : Unable to create temporary file: Read-only file system

Code:
vi /etc/rc.conf

ex/vi: Error : Unable to create temporary file: Read-only file system

Prior to last reboot I've modified /etc/rc.conf by adding
Code:
dbus_enable="YES"
hald_enable="YES"
After a reboot, I see
Code:
/etc/rc.conf: 9: Syntax error: Unterminated quoted string
Enter full pathname of shell or RETURN for /bin/sh:
and I press RETURN

then attempt to remove / check /etc/rc.conf by typing

Code:
# vi /etc/rc.conf

ex/vi: Error: /var/tmp/vi.recover: Read-only file system
ex/vi: Modifications not recoverable if the session fails
ex/vi: Error: /etc/rc.conf: Read-only file system
ex/vi: Error : Unable to create temporary file: Read-only file system

PLEASE HELP PLEASE
 
after rebooting in Safe Mode system still reports
Code:
/etc/rc.conf: 9: Syntax error: Unterminated quoted string
Enter full pathname of shell or RETURN for /bin/sh:

# mount
/dev/ada0s3a on / (ufs, local, read-only)
devfs on /dev (devfs, local, multilabel)
#
 
Remount the root partition as read-write
# mount -u /
and fix the problem in /etc/rc.conf.

Post the contents of /etc/rc.conf if you want us to take a look at it.
 
A little more complete:
Code:
fsck -y
mount -u /
mount -a -t ufs
swapon -a
 
Thank you. Above allowed me to mount / read/write

I've reviewed /etc/rc.conf and found
Code:
dbus_enable="YES"
hald_enable="YES
...missing double quote

Next time I'll hopefully remember to double check...

THANK YOU
 
Back
Top