From owner-freebsd-questions@FreeBSD.ORG Fri Mar 5 01:07:10 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D7B716A4CE for ; Fri, 5 Mar 2004 01:07:10 -0800 (PST) Received: from ozlabs.org (ozlabs.org [203.10.76.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 071BE43D1F for ; Fri, 5 Mar 2004 01:07:10 -0800 (PST) (envelope-from grog@lemis.com) Received: from blackwater.lemis.com (blackwater.lemis.com [192.109.197.80]) by ozlabs.org (Postfix) with ESMTP id 30DDC2BEA4 for ; Fri, 5 Mar 2004 20:07:08 +1100 (EST) Received: by blackwater.lemis.com (Postfix, from userid 1004) id 259FC51219; Fri, 5 Mar 2004 19:37:06 +1030 (CST) Date: Fri, 5 Mar 2004 19:37:06 +1030 From: Greg 'groggy' Lehey To: Joe Pokupec Message-ID: <20040305090706.GJ67801@wantadilla.lemis.com> References: <0HU3000VYHSO4G@mmp-3.gci.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/qIPZgKzMPM+y5U5" Content-Disposition: inline In-Reply-To: <0HU3000VYHSO4G@mmp-3.gci.net> User-Agent: Mutt/1.4.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: Freebsd-Questions Subject: Re: SIngle User Mode Help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2004 09:07:10 -0000 --/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--