Skip site navigation (1)Skip section navigation (2)
Date:      12 Jun 2002 21:57:30 -0500
From:      Larry Rosenman <ler@lerctr.org>
To:        LIM_Shih_Hsien@ida.gov.sg
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Recovering from misconfigured rc.conf
Message-ID:  <1023937051.366.16.camel@lerlaptop>
In-Reply-To: <OF37AB9D89.35D3F8C2-ON48256BD7.000F1DEA@gems2.gov.sg>
References:  <OF37AB9D89.35D3F8C2-ON48256BD7.000F1DEA@gems2.gov.sg>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2002-06-12 at 21:54, 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.
mount -u /
fsck /usr
mount /usr
vi /etc/rc.conf

> 
> Many thanks,
> Shih Hsien Lim
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


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?1023937051.366.16.camel>