Date: Tue, 6 Feb 2007 16:02:26 -0500 From: John Nielsen <lists@jnielsen.net> To: freebsd-questions@freebsd.org Cc: Don Munyak <don.munyak@gmail.com> Subject: Re: rc.conf ...need help Message-ID: <200702061602.27569.lists@jnielsen.net> In-Reply-To: <6207f7d90702061258k2ace8012ld479065f2455b454@mail.gmail.com> References: <6207f7d90702061258k2ace8012ld479065f2455b454@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 06 February 2007 15:58, Don Munyak wrote:
> I was tweaking the /etc/rc.conf file and apparently had a typo. Now
> the system boots into single user mode. I know what my error is
>
> syslogd_enable=YES" {left off the first "}
>
> How can I edit rc.conf while in single user mode. I've tried vi & ee,
> but system doesn't recognize either.
You can mount /usr (assuming that's not related to whatever you're trying to
fix) by typing "mount /usr". You'll also need to mount / read/write before
you can modify rc.conf so I usually just do "mount -a". "mount /" will
re-mount / with the default r/w settings.
If you do have a problem with /usr, there are statically linked versions of
both system default editors in /rescue. So you could also
do "/rescue/ee /etc/rc.conf", for example.
JN
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702061602.27569.lists>
