From owner-freebsd-questions Mon Oct 9 9:19:22 2000 Delivered-To: freebsd-questions@freebsd.org Received: from smtpproxy1.mitre.org (mb-20-100.mitre.org [129.83.20.100]) by hub.freebsd.org (Postfix) with ESMTP id 8A17737B503 for ; Mon, 9 Oct 2000 09:19:18 -0700 (PDT) Received: from avsrv1.mitre.org (avsrv1.mitre.org [129.83.20.58]) by smtpproxy1.mitre.org (8.9.3/8.9.3) with ESMTP id MAA18014 for ; Mon, 9 Oct 2000 12:19:11 -0400 (EDT) Received: from mailsrv2.mitre.org (mailsrv2.mitre.org [129.83.221.17]) by smtpsrv1.mitre.org (8.9.3/8.9.3) with ESMTP id MAA27266 for ; Mon, 9 Oct 2000 12:18:52 -0400 (EDT) Received: from mitre.org ([128.29.145.140]) by mailsrv2.mitre.org (Netscape Messaging Server 4.1) with ESMTP id G267ZX00.9NR; Mon, 9 Oct 2000 12:19:09 -0400 Message-ID: <39E1F011.13A6CEBC@mitre.org> Date: Mon, 09 Oct 2000 12:19:29 -0400 From: "Andresen,Jason R." Organization: The MITRE Corporation X-Mailer: Mozilla 4.75 [en]C-20000818M (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: huppe@mailtag.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: I'm locked out References: <39E1EEAC.CB16CFB1@mailtag.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Len Huppe wrote: > > Hi All, > > I have a typo/syntax error in my /etc/rc.conf file, and I am now locked > out of my system. I don't know how to get back in and edit the file. > The kernel lets me run a shell but the root partition is mounted as > read-only. Can somebody tell me how I can mount the drive and correct > the typo? > > I tried running a "fixit" session from the live filesystem on CD 2 of > the distribution set,but it won't let me run the mount command. > Boot single user (boot -s) and when you get a shell, type mount / to mount / rw and affect repairs to your rc.conf. -- _ _ _ ___ ____ ___ ______________________________________ / \/ \ | ||_ _|| _ \|___| | Jason Andresen -- jandrese@mitre.org / /\/\ \ | | | | | |/ /|_|_ | Views expressed may not reflect those /_/ \_\|_| |_| |_|\_\|___| | of the Mitre Corporation. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message