Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2009 09:54:41 -0500
From:      Robert Huff <roberthuff@rcn.com>
To:        Pieter Donche <Pieter.Donche@ua.ac.be>
Cc:        "mail.list freebsd-questions" <freebsd-questions@freebsd.org>
Subject:   / mounted read-only after error in /etc/rc.conf
Message-ID:  <18804.37937.713869.998623@jerusalem.litteratus.org>
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 writes:

>  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?

	1) boot to single user mode
	2) (if necessary) mount /usr by hand to get access to favorite
editor
	3) edit rc.conf
	4) re-boot


				Robert Huff




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