Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jul 2003 13:39:12 +0200 (CEST)
From:      Konrad Heuer <kheuer2@gwdg.de>
To:        ph.schulz@gmx.de
Cc:        freebsd-questions@freebsd.org
Subject:   Re: File-system is read only b/c of "Syntax error: Unterminated quoted string" in rc.conf
Message-ID:  <20030711133632.V85256-100000@gwdu60.gwdg.de>
In-Reply-To: <26035.1057923094@www66.gmx.net>

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

On Fri, 11 Jul 2003 ph.schulz@gmx.de wrote:

> Hello everyone!
>  I've got a quick question:
>
>  I've changed my /etc/rc.conf, but unfortunately I made a typo. Now, my
> system doesn't boot anymore. I wanted to correct the rc.conf, but the root file
> system is read only. Is there any way that I can either edit, rename or even
> delete the /etc/rc.conf?
>  Btw, I can mount all the other file systems and I have full access to them.
>
>   Thank you for your time,
>     Phil

Just to make sure, boot into single user mode by interrupting the boot
countdown and entering "boot -s" at the boot loader prompt.

Then to make sure:
	fsck -y
        mount -a -t ufs
        vi /etc/rc.conf

Regards

Konrad Heuer (kheuer2@gwdg.de)  ____            ___  _______
GWDG                           / __/______ ___ / _ )/ __/ _ \
Am Fassberg                   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen             /_/ /_/  \__/\__/____/___/____/
Germany



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