Date: Sun, 1 Feb 2004 11:42:51 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-questions@freebsd.org Subject: Re: boot.config problem, can't boot Message-ID: <20040201114251.GB14854@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20040201110604.GA14872@isorauta.ntc.nokia.com> References: <20040201110604.GA14872@isorauta.ntc.nokia.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040201114251.GB14854>