From owner-freebsd-questions@FreeBSD.ORG Fri Mar 5 08:55:43 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 10A1016A4CE for ; Fri, 5 Mar 2004 08:55:43 -0800 (PST) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E7E043D31 for ; Fri, 5 Mar 2004 08:55:42 -0800 (PST) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.7p1+Sun/8.11.7) id i25Gt5J25937; Fri, 5 Mar 2004 11:55:05 -0500 (EST) From: Jerry McAllister Message-Id: <200403051655.i25Gt5J25937@clunix.cl.msu.edu> To: joshua@twobirds.us (Joshua Lokken) Date: Fri, 5 Mar 2004 11:55:03 -0500 (EST) In-Reply-To: <20040306135123.GA55765@voyager.swabbies.org> from "Joshua Lokken" at Mar 06, 2004 05:51:23 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org 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 16:55:43 -0000 > > * Jerry McAllister [2004-03-06 02:42]: > > > > > > 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... > > > > You're right to make a copy before tinkering. > > > > > I can't find any info on Single User Mode to help me: > > > > > > - I use mount -u / to mount the filesystem as read/write > > > > That is correct, but, of course, it only gets the root (/) filesystem > > mounted. You may need stuff on other ones, especially /usr. > > > > Try doing > > fsck /usr or fsck /dev/d0s1f > > mount /usr or mount /dev/d0s1f /usr or whatever slice and > > partition you have /usr on > > > > > - I cannot access any editors like vi or pico (my personal) favorite once in > > > single user mode... Why? > > > > Or, to make things easier: > > prompt# fsck -p Except this might not work if he has bollixed up his fstab as indicated in the original question. > prompt# mount -u / > prompt# mount -a -tufs This might not wokr either with a bad fstab. but doing it for specific devices to specific mount points should work even with a messed up fstab. ////jerry > > just like pre-buildworld... > > -- > Joshua > > Another war ... must it always be so? How many comrades have we lost > in this way? ... Obedience. Duty. Death, and more death ... > -- Romulan Commander, "Balance of Terror", stardate 1709.2 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >