stuck in single-user mode

Christian Hiris 4711 at chello.at
Mon May 3 18:07:07 PDT 2004


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 how
> 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 for 
a shell. then enter the following commands: 
  
# adjkerntz -i
# swapon -a
# fsck -p
# mount -u / 
# mount -a -t ufs
# ee /etc/rc.conf (or # vi /etc/rc.conf)
# reboot

regards
ch

> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040504/03ed2ade/attachment.bin


More information about the freebsd-questions mailing list