Skip site navigation (1)Skip section navigation (2)
Date:      22 Oct 2002 17:19:49 +1000
From:      Duncan Anker <d.anker@au.darkbluesea.com>
To:        Steve Warwick <ukla@attbi.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Oops! rc.conf mistake
Message-ID:  <1035271190.7208.18.camel@duncan>
In-Reply-To: <B9DA4A89.3A34%ukla@attbi.com>
References:  <B9DA4A89.3A34%ukla@attbi.com>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1035271190.7208.18.camel>