Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Nov 1997 19:48:32 +1100 (EST)
From:      "Daniel O'Callaghan" <danny@panda.hilink.com.au>
To:        Jason McKay <jmckay@argo.net.au>
Cc:        questions@FreeBSD.ORG, isp@FreeBSD.ORG
Subject:   Re: Boot Problems
Message-ID:  <Pine.BSF.3.91.971109194427.253N-100000@panda.hilink.com.au>
In-Reply-To: <2.2.32.19971109125313.00907c3c@argo.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sun, 9 Nov 1997, Jason McKay wrote:

> I edited my rc.conf file to add some named flags, the machine is now hanging
> when named is loading ...
> 
> How can I get back to my rc.conf file to remove the flags.

* How to recover when you are locked out (system hangs during boot 
  sequence, forgotten root password,...)
 
1. ctrl-alt-delete
2. At boot prompt enter '-s' for 'single user mode'
3. At 'Shell prompt' hit <enter> or type "/bin/csh"
4. mount /   (mounts / read-write)
5. mount /usr  (gives you /usr/* so you can use vi and shared libs)
6. Make your fixes (e.g. vipw, passwd, vi /etc/rc.conf)
7. <ctrl-D>  - system continues booting.

Have fun.

Danny



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.971109194427.253N-100000>