From owner-freebsd-questions@FreeBSD.ORG Tue Feb 6 22:39:21 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B20E216A403 for ; Tue, 6 Feb 2007 22:39:19 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 82A8013C4B3 for ; Tue, 6 Feb 2007 22:39:19 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l16MbpFO017509; Tue, 6 Feb 2007 17:37:51 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l16MboIV017508; Tue, 6 Feb 2007 17:37:50 -0500 (EST) (envelope-from jerrymc) Date: Tue, 6 Feb 2007 17:37:50 -0500 From: Jerry McAllister To: Don Munyak Message-ID: <20070206223750.GA17481@gizmo.acns.msu.edu> References: <6207f7d90702061258k2ace8012ld479065f2455b454@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6207f7d90702061258k2ace8012ld479065f2455b454@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: FreeBSD Questions Subject: Re: rc.conf ...need help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Feb 2007 22:39:21 -0000 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"