From owner-freebsd-questions@FreeBSD.ORG Wed Sep 3 07:11:36 2003 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 EB6FC16A4BF for ; Wed, 3 Sep 2003 07:11:36 -0700 (PDT) Received: from webserver.get-linux.org (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id CD63E43FEC for ; Wed, 3 Sep 2003 07:11:33 -0700 (PDT) (envelope-from oremanj@webserver.get-linux.org) Received: (qmail 28464 invoked by uid 1000); 3 Sep 2003 14:13:43 -0000 Date: Wed, 3 Sep 2003 07:13:43 -0700 From: Joshua Oreman To: Colin Watson Message-ID: <20030903141343.GD28275@webserver> References: <00bf01c37224$6a5a7c90$0b4e1151@blackbox> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00bf01c37224$6a5a7c90$0b4e1151@blackbox> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: Booting bit-by-bit (rc.conf broken) 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: Wed, 03 Sep 2003 14:11:37 -0000 [Format recovered] On Wed, Sep 03, 2003 at 03:05:22PM +0100 or thereabouts, Colin Watson wrote: > My rc.conf file appears to be broken in some way, and this is > preventing my system from booting. It boots to a heavily resticted > system, with only the / file system mounted and the statically > linked binaries available. Problem is, I can't edit my rc.conf or > remove it. Is their any way I can either selectivly execute > statements in the rc.conf during bootup (similar to the old dos > method), or a way I can force login, so I can remove the damaged > rc.conf. Yes. # fsck -p # mount -uw / # vi /etc/rc.conf # or any other editor or # mv /etc/rc.conf /etc/rc.conf.BROKEN # mount -ur / # exit or # reboot -- Josh > > Thanks > > Colin. > _______________________________________________ > 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"