Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Oct 1997 16:40:15 -0400
From:      Matthew Hunt <mph@pobox.com>
To:        "Tony D'Andrade" <blue@visinet.ca>
Cc:        questions@FreeBSD.ORG
Subject:   Re: New Installation (fwd)
Message-ID:  <19971022164015.10333@mph124.rh.psu.edu>
In-Reply-To: <Pine.LNX.3.95.971022155717.13226A-100000@ceylon.visinet.ca>; from Tony D'Andrade on Wed, Oct 22, 1997 at 03:58:11PM -0400
References:  <Pine.LNX.3.95.971022155717.13226A-100000@ceylon.visinet.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 22, 1997 at 03:58:11PM -0400, Tony D'Andrade wrote:

> Hi does anyone know how i can boot up in single user mode where i can edit
> files in the /etc directory ???

Sure.  At the Booteasy "Boot:" prompt, type "-s" without the quotes and
hit enter.  You'll boot into single user mode.  Other such options
are described in "man boot".

Since you want to change things on the disk, you will need to remount
the root filesystem read-write, since it initially mounts read-only.
You can normally do that with:

mount -u -w /

If /usr is a separate partition, you may need to mount it so that you
can use vi or other tools that you prefer.  If /etc/fstab is in good
shape, then you should be able to:

mount /usr

Hope this helps.
 
-- 
Matthew Hunt <mph@pobox.com> * Think locally, act globally.
finger hunt@mph124.rh.psu.edu for PGP public key.



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