Subject: Re: Help! - Stuck in "single user mode"
To: netbsd-help <netbsd-help@netbsd.org>
From: James K. Lowden <jklowden@schemamania.org>
List: netbsd-help
Date: 02/15/2002 21:23:50
On Fri, Feb 15, 2002 at 04:31:21PM -0800, Beaker wrote:
> I screwed up an /etc/rc.conf entry (left off a quotation mark on the
> 'ifconfig_rtk0="~" entry) and rebooted and got a syntax error and a request
> for "Enter pathname of shell or RETURN for sh:". I entered 'bin/csh' got a
> "#" prompt, but don't know how to fix rc.conf as I can't seem to run vi. How
> do I get out of this mess?!?
Beaker,
mount -rw /
mount /usr
vi /etc/rc.conf
^D
That should do it.
--jkl