Date: Mon, 30 Jul 2001 09:17:50 -0600 From: Warner Losh <imp@harmony.village.org> To: Rohit Grover <rgrover@panasas.com> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: messed up /etc/rc.conf Message-ID: <200107301517.f6UFHow36692@harmony.village.org> In-Reply-To: Your message of "Mon, 30 Jul 2001 07:55:44 PDT." <01073007591802.01042@tiltill.panasas.com> References: <01073007591802.01042@tiltill.panasas.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <01073007591802.01042@tiltill.panasas.com> Rohit Grover writes: : I made a mistake while modifying my /etc/rc.conf. I forgot to : put the terminating quote for a string. Now, my machine fails to boot : correctly. Upon boot, it gives me an option to launch a shell to : correct the problem. Interestingly, / is mounted as read-only and so : I cannot correct /etc/rc.conf. Please help. Your best bet is to boot singlue user, then do fsck -p /; mount -uw /; mv /etc/rc.conf /etcrc.conf-; reboot; correct the problem; reboot Or fsck -p / mount -uw / fsck -p /var mount /var fcsk -p /usr mount /usr vi /etc/rc.copnf Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107301517.f6UFHow36692>