From owner-freebsd-questions@FreeBSD.ORG Sun Feb 1 03:43:07 2004 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 5FB1916A4CE for ; Sun, 1 Feb 2004 03:43:07 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2151343D48 for ; Sun, 1 Feb 2004 03:43:05 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i11Bgp9D015052 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 1 Feb 2004 11:42:51 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i11Bgpfs015051 for freebsd-questions@freebsd.org; Sun, 1 Feb 2004 11:42:51 GMT (envelope-from matthew) Date: Sun, 1 Feb 2004 11:42:51 +0000 From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: <20040201114251.GB14854@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , freebsd-questions@freebsd.org References: <20040201110604.GA14872@isorauta.ntc.nokia.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Fba/0zbH8Xs+Fj9o" Content-Disposition: inline In-Reply-To: <20040201110604.GA14872@isorauta.ntc.nokia.com> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk Subject: Re: boot.config problem, can't boot 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: Sun, 01 Feb 2004 11:43:07 -0000 --Fba/0zbH8Xs+Fj9o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 01, 2004 at 01:06:04PM +0200, Mike Jackson wrote: > I was doing some work on my gateway and decided to tighten up the > security a bit... >=20 > In essence, I had "-h" in /boot.config, but I commented it out (because > I thought that somehow comments would be understood). So, now I have > "#-h" in /boot.config, which by the way I set the immutable flag on > according to one unofficial HOWTO I was reading. BTW, the comment in the > /boot.config was not part of that HOWTO. It was my own lack of > understanding about how that file is parsed during boot. Yes, I feel > stupid, but I'm also wondering why the file can't include a comment. I > think that this a bug. >=20 > And then I rebooted for some other reason. And now, I can't get past > the boot: prompt. The #-h is not understood and I can't override it. >=20 > There are some changes to files which are on that box that I'd like to > keep, which have been made since the last backup. Is there any way to > recover from this situation, or is it "re-install" time? If you've got disk two from the install set, you should be able to boot the repair system from that, mount your hard drive on it and edit your boot.config file. Then just reboot as usual. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --Fba/0zbH8Xs+Fj9o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAHOY7dtESqEQa7a0RAgXzAJkBdqFHafnrx9tIXlXD4uPx0oIM8wCffMnT sXbhtmP35m/izEVwYTSrt5k= =ZHS6 -----END PGP SIGNATURE----- --Fba/0zbH8Xs+Fj9o--