From owner-freebsd-questions Mon Apr 5 16:26:57 1999 Delivered-To: freebsd-questions@freebsd.org Received: from WEBBSD1.turnaround.com.au (webbsd1.turnaround.com.au [203.39.138.49]) by hub.freebsd.org (Postfix) with ESMTP id AAEA3153A8 for ; Mon, 5 Apr 1999 16:26:52 -0700 (PDT) (envelope-from A_Johns@TurnAround.com.au) Received: from TurnAround.com.au (dhcp64.turnaround.com.au [192.168.1.64]) by WEBBSD1.turnaround.com.au (8.8.7/8.8.7) with ESMTP id JAA11507; Tue, 6 Apr 1999 09:31:57 +1000 (EST) (envelope-from A_Johns@TurnAround.com.au) Message-ID: <3709468C.42E27380@TurnAround.com.au> Date: Tue, 06 Apr 1999 09:26:04 +1000 From: Andrew Johns Organization: TurnAround Solutions P/L X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Rick Knebel Cc: questions@FreeBSD.ORG Subject: Re: Please Help with boot freeze References: <000501be7fb9$b0ec3520$aa88fea9@inteva> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Rick Knebel wrote: > > Hi, > > I am very upset. > I just got my freebsd 3.1 the way I wanted with my home network and thinga > and now I have a big problem. > > I was editing my rc.conf and must have got sloppy. > On my nest reboot the bootup stopped right where it was mounting my drivce > and said: > /etc/rc.conf > 16:Synatax error: > end of file unexpected. > Enter full name of shell or return for /bin/sh. > > If I hit retrn I can see the files on my hard drive but cannot bring up an > editor to fix the rc.conf file. > > I tried copying rc.conf~ to rc.conf but it says file is read only. > > Please help. > I do not want to reload freebsd again. > Don't worry - at the single user mode sh prompt, enter: mount -u / This will (re)mount / in read/write mode - then you will be able to: mount -a to mount the remaining partitions in /etc/fstab and then you will be able to: vi /etc/rc.conf as vi will be accessible from /usr/somewhere/vi (until the last mount -a, /usr will not have been mounted). HTH -- Regards | _/\_/\ Andrew Johns BSc (Comp Sci) | / \ TurnAround Solutions Pty Ltd | \_...__/ http://www.turnaround.com.au/ | \/ "The box said 'Requires Windows 95, NT, or better,' so I installed FreeBSD." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message