rc.conf.local error nn7j

Matthew Seaman m.seaman at infracaninophile.co.uk
Mon Apr 19 09:23:20 PDT 2004

On Mon, Apr 19, 2004 at 06:08:22AM -0000, Dan wrote:
> I made an error in the rc.conf.conf file used ;# for rem statement.  It hang on that statement at boot. Also can't  find shell get error message to use /bin/sh hit  return.  I can't vi the rc.conf.local file vi is not there.

Right -- you've rebooted, and your system can't come up properly, so
is dumping you into single user mode.

The fix is pretty simple though.  Hit return to get a shell prompt.
Now type:

    # fsck -p
    # mount -a

then edit the rc.conf file:

    # vi /etc/rc.conf

and finally:

    # reboot



Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040419/781a8792/attachment.bin

More information about the freebsd-questions mailing list