Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2004 17:22:54 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Dan <longterm@chatusa.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: rc.conf.local error  nn7j
Message-ID:  <20040419162253.GA51066@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <00c101c42629$a580c1d0$ca89ded1@dannewxp>
References:  <00c101c42629$a580c1d0$ca89ded1@dannewxp>

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

--gBBFr7Ir9EOA20Yy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 h=
ang 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.
>=20

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

	Cheers,

	Matthew

--=20
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

--gBBFr7Ir9EOA20Yy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAg/zddtESqEQa7a0RAu5fAJ9dwJhhk/m4OXENx1NZeycC7fqs3wCfUKTV
0l7o30HW2JxDrb32zqzyQP4=
=qmvC
-----END PGP SIGNATURE-----

--gBBFr7Ir9EOA20Yy--



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