Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2003 07:13:43 -0700
From:      Joshua Oreman <oremanj@get-linux.org>
To:        Colin Watson <sb.mailinglist@lambdabroadband.com>
Cc:        questions@freebsd.org
Subject:   Re: Booting bit-by-bit (rc.conf broken)
Message-ID:  <20030903141343.GD28275@webserver>
In-Reply-To: <00bf01c37224$6a5a7c90$0b4e1151@blackbox>
References:  <00bf01c37224$6a5a7c90$0b4e1151@blackbox>

next in thread | previous in thread | raw e-mail | index | archive | help
[Format recovered]

On Wed, Sep 03, 2003 at 03:05:22PM +0100 or thereabouts, Colin Watson wrote:

> My rc.conf file appears to be broken in some way, and this is
> preventing my system from booting. It boots to a heavily resticted
> system, with only the / file system mounted and the statically
> linked binaries available. Problem is, I can't edit my rc.conf or
> remove it. Is their any way I can either selectivly execute
> statements in the rc.conf during bootup (similar to the old dos
> method), or a way I can force login, so I can remove the damaged
> rc.conf.

Yes.
# fsck -p
# mount -uw /

# vi /etc/rc.conf    # or any other editor
or
# mv /etc/rc.conf /etc/rc.conf.BROKEN

# mount -ur /

# exit
or
# reboot

-- Josh

> 
> Thanks 
> 
> Colin.
> _______________________________________________
> 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"



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