Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 May 2004 03:06:48 +0200
From:      Christian Hiris <4711@chello.at>
To:        freebsd-questions@freebsd.org, William <wbenson987@earthlink.net>
Subject:   Re: stuck in single-user mode
Message-ID:  <200405040307.03592.4711@chello.at>
In-Reply-To: <20581387.1083630364197.JavaMail.root@kermit.psp.pas.earthlink.net>
References:  <20581387.1083630364197.JavaMail.root@kermit.psp.pas.earthlink.net>

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

--Boundary-02=_3yulAsbxke2BhxK
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Tuesday 04 May 2004 02:26, William wrote:
> hi, i'm more or less a newbie to BSD administration. anyway, i forgot to
> close a quote on one of the lines in /etc/rc.conf. now the server on boots
> into single-user mode. problem is it won't let me edit the file so i can
> fix it. it goes into "read-only" mode. even if i could write to the file i
> can't seem to find vi or any other editor for that matter. any ideas on h=
ow
> i can get back into multi-user mode. all help is much appreciated. i'm
> running 4.4 current on an pentium III box.
>
> thanks in advance
>
> William Benson

when your systems has booted into single user mode, hit <CR> when promted f=
or=20
a shell. then enter the following commands:=20
 =20
# adjkerntz -i
# swapon -a
# fsck -p
# mount -u /=20
# mount -a -t ufs
# ee /etc/rc.conf (or # vi /etc/rc.conf)
# reboot

regards
ch

> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"

--Boundary-02=_3yulAsbxke2BhxK
Content-Type: application/pgp-signature
Content-Description: signature

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

iD8DBQBAluy3cyi/EZQbawsRAhBUAJ96MNhsiC9GZWm1VTMV8zNFdexgegCfcf44
QNpM89A5MdkqpoP8ediEmLU=
=xoZ2
-----END PGP SIGNATURE-----

--Boundary-02=_3yulAsbxke2BhxK--



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