Need to edit rc.conf, but FS won't allow.
Jerry McAllister
jerrymc at msu.edu
Wed Aug 22 12:08:18 PDT 2007
On Wed, Aug 22, 2007 at 01:32:30PM -0400, Lisandro Grullon wrote:
>
> Hi all,
> I was playing around with rc.conf under /etc and accidentally didn't quote
> properly one of my "YES" entries, now the system won't boot. I tried
> booting into single user and re-editing the file, yet the time I tried
> saving it it tells me that the root files systm is read only. Is there
> a way around this. Thanks in advance.
Yes, when you boot single user, it comes up with root mounted read-only
and no other file system mounted.
You need to remount root.
At minimum do:
mount -u /
Actually, from long habit, when I boot single user,
I do the whole schmear as follows:
fsck -p
mount -u /
mount -a
swapon -a
and then go on to fix up what I need.
////jerry
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list