Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jul 2002 20:31:17 -0500
From:      David Syphers <dsyphers@uchicago.edu>
To:        mystic_mac1@mac.com, chris@ooc2000.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Help! Syntax error in rc.conf has made my entire filesystem read only!!!!!!
Message-ID:  <200207022029.52399.dsyphers@uchicago.edu>
In-Reply-To: <A5CA4526-8E20-11D6-AA68-00306548FDCC@mac.com>
References:  <A5CA4526-8E20-11D6-AA68-00306548FDCC@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
You need to boot to single-user mode.  Do not choose bash there, choose 
/bin/sh.

To get a system you can work with, you must remount / read-write.  (fsck'ing 
the filesystems is just a good habit.)  Then mount /usr so you can use your 
favorite editor for rc.conf.

fsck -p
mount -u /
mount -a -t ufs

Then fix rc.conf, reboot, and enjoy.  Just be glad you didn't mess up your 
fstab file.  I did that once...

-David

-- 
Everyone who believes in telekinesis, raise my hand...

Astronomy and Astrophysics Center
The University of Chicago



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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