Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Apr 1999 09:26:04 +1000
From:      Andrew Johns <A_Johns@TurnAround.com.au>
To:        Rick Knebel <rknebel@uplink.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Please Help with boot freeze
Message-ID:  <3709468C.42E27380@TurnAround.com.au>
References:  <000501be7fb9$b0ec3520$aa88fea9@inteva>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3709468C.42E27380>