From owner-freebsd-questions@FreeBSD.ORG Sun Feb 1 03:06:10 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 F3B1516A4CE for ; Sun, 1 Feb 2004 03:06:09 -0800 (PST) Received: from mgw-x4.nokia.com (mgw-x4.nokia.com [131.228.20.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B97243D39 for ; Sun, 1 Feb 2004 03:06:07 -0800 (PST) (envelope-from mjj@isorauta.ntc.nokia.com) Received: from esvir03nok.nokia.com (esvir03nokt.ntc.nokia.com [172.21.143.35])i11B66218747 for ; Sun, 1 Feb 2004 13:06:06 +0200 (EET) Received: from esebh003.NOE.Nokia.com (unverified) by esvir03nok.nokia.com for ; Sun, 1 Feb 2004 13:06:05 +0200 Received: from isorauta.ntc.nokia.com ([172.22.105.162]) by esebh003.NOE.Nokia.com with Microsoft SMTPSVC(5.0.2195.6747); Sun, 1 Feb 2004 13:06:04 +0200 Received: (qmail 14916 invoked by uid 500); 1 Feb 2004 11:06:04 -0000 Date: Sun, 1 Feb 2004 13:06:04 +0200 From: Mike Jackson To: freebsd-questions@freebsd.org Message-ID: <20040201110604.GA14872@isorauta.ntc.nokia.com> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.5.4i X-OriginalArrivalTime: 01 Feb 2004 11:06:04.0697 (UTC) FILETIME=[62911090:01C3E8B3] Subject: 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:06:10 -0000 Hi, I was doing some work on my gateway and decided to tighten up the security a bit... 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. 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. 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? Thanks, --=20 Mike Jackson