From owner-freebsd-questions@FreeBSD.ORG Sun Jun 29 20:26:21 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 653F237B401 for ; Sun, 29 Jun 2003 20:26:21 -0700 (PDT) Received: from mail.bellavista.cz (mail.bellavista.cz [213.235.167.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8260444015 for ; Sun, 29 Jun 2003 20:26:20 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: from freepuppy.bellavista.cz (freepuppy.bellavista.cz [10.0.0.10]) by mail.bellavista.cz (Postfix) with ESMTP id 9E567379; Mon, 30 Jun 2003 05:26:19 +0200 (CEST) Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id B9ADB2FDAB2; Mon, 30 Jun 2003 05:26:16 +0200 (CEST) Date: Mon, 30 Jun 2003 05:26:16 +0200 From: Roman Neuhauser To: Keith Spencer Message-ID: <20030630032616.GK11229@freepuppy.bellavista.cz> Mail-Followup-To: Keith Spencer , Adam , freebsd-questions@freebsd.org References: <1056776531.93161.2.camel@jake> <20030628060458.24753.qmail@web12004.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030628060458.24753.qmail@web12004.mail.yahoo.com> User-Agent: Mutt/1.5.1i cc: freebsd-questions@freebsd.org Subject: Re: Help! I killed my rc.conf and cant boot correctly! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jun 2003 03:26:21 -0000 # bsd2000au@yahoo.com.au / 2003-06-28 16:04:58 +1000: > --- Adam wrote: > On Fri, > 2003-06-27 at 23:57, Keith Spencer wrote: > > > Want to hear a tale of stupidity and woe. I screwed up fbsd 4.7 > > > system rc.conf and can only seem to boot into a basic session. > > > Cant edit or save to /etc files. What to do and you guessed > > > it...noboot disk was made although I have another 4.7 fbsd machine > > > nearby. Tell me it's not fatal guys! > > > > I don't see why you wouldn't be able to boot into single-user mode, > > edit the rc.conf, then reboot. What exactly is the problem editing > > the files in /etc from SU mode? > > When the machine boots it drops straight into (I guess) single user > mode. The /usr/sbin /usr/bin cant be cd-ed to and the /etc dir says it > is read only file system! So I can't save to it. I have a "Schlacter > tute" fireall setup on it. With whatever security it entails. Any > clue? Can I interupt the boot and do something? > This is a mission critical machine darn it...Oh dear! mount -u / mount -a -t ufs swapon -a /usr/bin/vi /etc/rc.conf -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html