From owner-freebsd-questions Tue Aug 1 9:40:51 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtpproxy1.mitre.org (mbunix.mitre.org [129.83.20.100]) by hub.freebsd.org (Postfix) with ESMTP id 18BB137BD38 for ; Tue, 1 Aug 2000 09:40:48 -0700 (PDT) (envelope-from jandrese@mitre.org) Received: from avsrv1.mitre.org (avsrv1.mitre.org [129.83.20.58]) by smtpproxy1.mitre.org (8.9.3/8.9.3) with ESMTP id MAA08422 for ; Tue, 1 Aug 2000 12:40:44 -0400 (EDT) Received: from mailsrv2.mitre.org (mailsrv2.mitre.org [129.83.221.17]) by smtpsrv1.mitre.org (8.9.3/8.9.3) with ESMTP id MAA24176 for ; Tue, 1 Aug 2000 12:38:35 -0400 (EDT) Received: from mitre.org ([128.29.145.140]) by mailsrv2.mitre.org (Netscape Messaging Server 4.1) with ESMTP id FYMGZV00.JXD; Tue, 1 Aug 2000 12:40:43 -0400 Message-ID: <3986FE46.B011666@mitre.org> Date: Tue, 01 Aug 2000 12:43:50 -0400 From: "Andresen,Jason R." Organization: The MITRE Corporation X-Mailer: Mozilla 4.73 [en]C-20000509M (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: erik witkop Cc: freebsd-questions@FreeBSD.ORG Subject: Re: I hosed myself as always References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG erik witkop wrote: > > I think it is fixable though. I edited my rc.conf file and now on > reboot I get this. > > /etc/rc.conf:22 :syntax error:unterminated quote. > enter full pathname of shell or RETURN for /bin/sh: > > I pressed return but I cannot do any commands to fix it from that > prompt. Where is my shell by default. Anyy ideas what the correct path > is? Your shell is most likely on /usr, which isn't mounted. You need to mount root ( fsck, then mount it) and edit your rc.conf and fix the problem. Unfortunatly the only editor available is ed, which is not something you want to learn while fixing your system, so you can fsck and mount /usr to get the tools you are used to (vi). When you are done fixing the rc.conf, simply exit out of the shell and let FreeBSD boot normally. -- _ _ _ ___ ____ ___ ______________________________________ / \/ \ | ||_ _|| _ \|___| | Jason Andresen -- jandrese@mitre.org / /\/\ \ | | | | | |/ /|_|_ | Views expressed may not reflect those /_/ \_\|_| |_| |_|\_\|___| | of the Mitre corperation. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message