Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Nov 2004 20:17:41 -0300 (ART)
From:      Fernando Gleiser <fgleiser@cactus.fi.uba.ar>
To:        Trey Sizemore <trey@fastmail.fm>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to edit file in single user mode
Message-ID:  <20041128201638.N66254@cactus.fi.uba.ar>
In-Reply-To: <41AA5AFC.2090902@fastmail.fm>
References:  <41AA5AFC.2090902@fastmail.fm>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 28 Nov 2004, Trey Sizemore wrote:

> I made a typo in rc.conf and now am able to boot only into single user
> mode.  I thought vi would be available to edit the file, but cannot
> execute it (vi not found).  How can I edit my rc.conf at this point/

After you drop into single user, say the magic words:

# mount -a

that will mount all the filesystems and then vi will be available.


			Fer



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