From owner-freebsd-questions Wed Jun 12 20:41:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dewey.paralynx.net (dewey.mindlink.net [204.174.16.4]) by hub.freebsd.org (Postfix) with ESMTP id 315EE37B405 for ; Wed, 12 Jun 2002 20:41:11 -0700 (PDT) Received: from [198.69.4.139] (helo=rcreighton.org) by dewey.paralynx.net with esmtp (Exim 3.14 #8) id 17ILTt-00062m-00 for freebsd-questions@FreeBSD.ORG; Wed, 12 Jun 2002 20:41:06 -0700 Message-ID: <3D07B1CB.6090407@rcreighton.org> Date: Wed, 12 Jun 2002 20:40:43 +0000 From: Randall Creighton User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020608 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Re: Recovering from misconfigured rc.conf References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 OOPS Forgot to cc this back to the list. Shih Just type " mount -a" from the prompt in single user mode. this will mount the rest of the dirs listed in your /etc/fstab Randy LIM_Shih_Hsien@ida.gov.sg wrote: >Hi, i had entered a wrong syntax for a line in /etc/rc.conf. > >FreeBSD will now dump me into single user mode upon bootup, after >highlighting the syntax error. > >Is there any way I can edit rc.conf in this mode to comment out the >offending line pls? I only have / mounted in the single user mode, and >cannot access vi or similar commands in the csh session. > >I am running FreeBSD4.5-STABLE. > >Many thanks, >Shih Hsien Lim > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message