Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Mar 2004 19:37:06 +1030
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        Joe Pokupec <joepok@ninestar.com>
Cc:        Freebsd-Questions <freebsd-questions@freebsd.org>
Subject:   Re: SIngle User Mode Help
Message-ID:  <20040305090706.GJ67801@wantadilla.lemis.com>
In-Reply-To: <0HU3000VYHSO4G@mmp-3.gci.net>
References:  <0HU3000VYHSO4G@mmp-3.gci.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--/qIPZgKzMPM+y5U5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thursday,  4 March 2004 at 23:48:05 -0900, Joe Pokupec wrote:
> Hey Guys,
>
> I'm constantly botching up my fstab file and the system will fail to boot
> correctly. I've learned to create a working fstab and call is fstab.orig
> which I can overwrite the botched file if I end up in Single User Mode...
>
> I can't find any info on Single User Mode to help me:
>
> - I use mount -u / to mount the filesystem as read/write
>
> - I cannot access any editors like vi or pico (my personal) favorite once in
> single user mode... Why?

Probably because the file system on which they're located hasn't been
mounted.  Try:

  # mount /usr

> - I can't use the locate command, because the /usr/libexec/locate.updatedb
> script is not accessible

Same thing.

> - I can't su because this is not a recognized command

In single user mode you should be root.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger grog@FreeBSD.org for PGP public key.
See complete headers for address and phone numbers.

--/qIPZgKzMPM+y5U5
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQFASEM6IubykFB6QiMRAoKMAJ9xVb9KMjFx/uFuWUWGTTklNB9eyACcCsIz
katqe6DY2LFVUVUAcWqtutI=
=k8di
-----END PGP SIGNATURE-----

--/qIPZgKzMPM+y5U5--



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