From owner-freebsd-questions@FreeBSD.ORG Mon Feb 23 07:07:06 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 7BB9816A4CE for ; Mon, 23 Feb 2004 07:07:06 -0800 (PST) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 451CA43D1F for ; Mon, 23 Feb 2004 07:07:06 -0800 (PST) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.no-ip.com ([66.30.196.44]) by comcast.net (sccrmhc13) with ESMTP id <20040223150705016003mfdbe>; Mon, 23 Feb 2004 15:07:05 +0000 Received: by be-well.no-ip.com (Postfix, from userid 1147) id EF317E; Mon, 23 Feb 2004 10:07:04 -0500 (EST) Sender: lowell@be-well.ilk.org To: Stephen Liu References: <403A1311.6000703@icare.com.hk> From: Lowell Gilbert Date: 23 Feb 2004 10:07:04 -0500 In-Reply-To: <403A1311.6000703@icare.com.hk> Message-ID: <44smh125t3.fsf@be-well.ilk.org> Lines: 30 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: [FAQ pointer] Re: How to start single user mode or safe mode 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: Mon, 23 Feb 2004 15:07:06 -0000 Stephen Liu writes: > Hi all folks, > > Accidentally I made a mistake > > # ee /etc/rc.conf > ..... > hostname=localhost > .... > > and could not start the PC > > At booting > ...... > Enter full pathname of shell or RETURN for /bin/sh: > Hit > # ee (could not work) > > I rebooted the PC. At booting, selecting [3] or [4] could not boot to > 'safe mode' nor 'single user mode' > > Kindly advise how to boot to 'single user mode' or 'safe mode' The precise answer depends on what version of FreeBSD you're running, which you failed to mention. You can work it out from the FreeBSD FAQ entry titled "I made a mistake in rc.conf, or another startup file, and now I cannot edit it because the filesystem is read-only. What should I do?", which you can read at: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#RCCONF-READONLY