Booting bit-by-bit (rc.conf broken)

Joshua Oreman oremanj at get-linux.org
Wed Sep 3 07:11:37 PDT 2003


[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 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"


More information about the freebsd-questions mailing list