Date: Wed, 22 Aug 2007 15:03:58 -0400 From: Jerry McAllister <jerrymc@msu.edu> To: Lisandro Grullon <lisandrogrullon07@hotmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Need to edit rc.conf, but FS won't allow. Message-ID: <20070822190358.GA56955@gizmo.acns.msu.edu> In-Reply-To: <BAY116-W125635783A845AD00B2657A9D50@phx.gbl> References: <BAY116-W125635783A845AD00B2657A9D50@phx.gbl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 22, 2007 at 01:32:30PM -0400, Lisandro Grullon wrote: > > Hi all, > I was playing around with rc.conf under /etc and accidentally didn't quote > properly one of my "YES" entries, now the system won't boot. I tried > booting into single user and re-editing the file, yet the time I tried > saving it it tells me that the root files systm is read only. Is there > a way around this. Thanks in advance. Yes, when you boot single user, it comes up with root mounted read-only and no other file system mounted. You need to remount root. At minimum do: mount -u / Actually, from long habit, when I boot single user, I do the whole schmear as follows: fsck -p mount -u / mount -a swapon -a and then go on to fix up what I need. ////jerry > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070822190358.GA56955>