From owner-freebsd-questions Tue Oct 22 0:21:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C10E837B401 for ; Tue, 22 Oct 2002 00:21:29 -0700 (PDT) Received: from mail.au.darkbluesea.com (mail.au.darkbluesea.com [203.185.208.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EFD643E65 for ; Tue, 22 Oct 2002 00:21:28 -0700 (PDT) (envelope-from d.anker@au.darkbluesea.com) Received: (qmail 90768 invoked by uid 82); 22 Oct 2002 07:20:35 -0000 Received: from unknown (HELO ?10.0.0.188?) (10.0.0.188) by mail.au.darkbluesea.com with SMTP; 22 Oct 2002 07:20:35 -0000 Subject: Re: Oops! rc.conf mistake From: Duncan Anker To: Steve Warwick Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 22 Oct 2002 17:19:49 +1000 Message-Id: <1035271190.7208.18.camel@duncan> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, 2002-10-22 at 17:21, Steve Warwick wrote: > Hey all, > > I wonder if anyone can tell me how to get out of this stupid mistake. > > I edited rc.conf to add a virtual interface and left a quote off the end > (unterminated string) - now I cannot get past mounting root, so no editors. > And before you ask, no, I did not backup rc.conf... I told you it was > stupid. Boot to single user: # mount -uw / # mount /usr # vi /etc/rc.conf This assumes you have access to the console :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message