Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2009 09:51:31 -0500
From:      Steve Bertrand <steve@ibctech.ca>
To:        Pieter Donche <Pieter.Donche@ua.ac.be>
Cc:        "mail.list freebsd-questions" <freebsd-questions@freebsd.org>
Subject:   Re: / mounted read-only after error in /etc/rc.conf
Message-ID:  <49749373.5040500@ibctech.ca>
In-Reply-To: <Pine.GSO.4.63.0901191544230.13159@hmacs.cmi.ua.ac.be>
References:  <Pine.GSO.4.63.0901191544230.13159@hmacs.cmi.ua.ac.be>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Pieter Donche wrote:
> I made a typing error when chanign /etc/rc.conf
> (linux_enable=YES")
> when rebooting the system, the boot stops
> /etc/rc.conf: 22: Syntax error: Unterminated quote string
> Enter full pathname of shell or RETURN for /bin/sh:
> #
> this leaves me with
> /dev/ds0s1a on / (ufs, local, read-only)
> 
> since / is read-only I can not edit /etc/rc.conf to correct the error.
> 
> How to solve this?

Try:

# mount -u /

Which will try to re-mount the / partition as read/write.

Steve



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?49749373.5040500>