Date: Tue, 6 Feb 2007 17:37:50 -0500 From: Jerry McAllister <jerrymc@msu.edu> To: Don Munyak <don.munyak@gmail.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: rc.conf ...need help Message-ID: <20070206223750.GA17481@gizmo.acns.msu.edu> 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 Tue, Feb 06, 2007 at 03:58:06PM -0500, Don Munyak wrote: > Hello, > > 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. It is probably not in your limited path in single user or not in a mounted partition. You may have to mount the partition containing 'vi', probably /usr. While in single user, do: fsck -p mount -u / mount -a swapon -a Then you should be able to use vi as: /usr/bin/vi /etc/rc.conf using the full path for vi skips over putting it in your path. Make your fix and reboot. ////jerry > > Thanks > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070206223750.GA17481>