Skip site navigation (1)Skip section navigation (2)
Date:      23 Feb 2004 10:07:04 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Stephen Liu <satimis@icare.com.hk>
Cc:        freebsd-questions@freebsd.org
Subject:   [FAQ pointer] Re: How to start single user mode or safe mode
Message-ID:  <44smh125t3.fsf@be-well.ilk.org>
In-Reply-To: <403A1311.6000703@icare.com.hk>
References:  <403A1311.6000703@icare.com.hk>

next in thread | previous in thread | raw e-mail | index | archive | help
Stephen Liu <satimis@icare.com.hk> 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 <ENTER>
> # 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



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