From owner-freebsd-questions@FreeBSD.ORG Sun Feb 1 03:48:30 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 1E95316A4CE for ; Sun, 1 Feb 2004 03:48:30 -0800 (PST) Received: from smtp.web.de (smtp01.web.de [217.72.192.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63BEE43D2F for ; Sun, 1 Feb 2004 03:48:18 -0800 (PST) (envelope-from Sebastian.Kutsch@web.de) Received: from [134.95.16.219] (helo=localhost) by smtp.web.de with asmtp (WEB.DE 4.99 #566) id 1AnG5C-0001z9-00 for freebsd-questions@freebsd.org; Sun, 01 Feb 2004 12:48:10 +0100 Date: Sun, 1 Feb 2004 12:46:29 +0100 From: Sebastian Kutsch To: freebsd-questions@freebsd.org Message-Id: <20040201124629.3dbed624.Sebastian.Kutsch@web.de> In-Reply-To: <20040201110604.GA14872@isorauta.ntc.nokia.com> References: <20040201110604.GA14872@isorauta.ntc.nokia.com> X-Mailer: Sylpheed version 0.9.9 (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: sebastian.kutsch@web.de 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:48:30 -0000 Hi, if you have a bootebel CD-Rom installed you can get a live CD from http://www.freesbie.org/ and boot with it. then you can mount your root-FS and edit the boot.config file. Sebastian On Sun, 1 Feb 2004 13:06:04 +0200 Mike Jackson wrote: > 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,