/ mounted read-only after error in /etc/rc.conf
Robert Huff
roberthuff at rcn.com
Mon Jan 19 06:54:44 PST 2009
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
More information about the freebsd-questions
mailing list