From owner-freebsd-questions@FreeBSD.ORG Sat Jun 28 15:07:04 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 0942737B401 for ; Sat, 28 Jun 2003 15:07:04 -0700 (PDT) Received: from web12006.mail.yahoo.com (web12006.mail.yahoo.com [216.136.172.214]) by mx1.FreeBSD.org (Postfix) with SMTP id 8C4B444049 for ; Sat, 28 Jun 2003 15:07:03 -0700 (PDT) (envelope-from bsd2000au@yahoo.com.au) Message-ID: <20030628220703.46743.qmail@web12006.mail.yahoo.com> Received: from [203.221.18.153] by web12006.mail.yahoo.com via HTTP; Sun, 29 Jun 2003 08:07:03 EST Date: Sun, 29 Jun 2003 08:07:03 +1000 (EST) From: =?iso-8859-1?q?Keith=20Spencer?= To: freebsd-questions@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Solved > 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: Sat, 28 Jun 2003 22:07:04 -0000 Yet again the FBSD community kick goals! Thanks heaps Keith --- Roland Wells wrote: > adam, > try: > "fsck -y" (check the filesystem) > "mount -uw /" (mount root filesystem read/write) > > if you saved a backup of the rc.conf, all you have > to do is: > > mv /etc/rc.conf_backup_file /etc/rc.conf > reboot > > hope that helps > > roland > > > > Thanks Adam, > 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! > Keith > > --- 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? > > > > -- > > Adam > > > http://mobile.yahoo.com.au - Yahoo! Mobile - Check & compose your email via SMS on your Telstra or Vodafone mobile.