From owner-freebsd-questions Wed Nov 12 16:36:52 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA24734 for questions-outgoing; Wed, 12 Nov 1997 16:36:52 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from ghost.mep.ruhr-uni-bochum.de (ghost.mep.ruhr-uni-bochum.de [134.147.6.33]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA24727 for ; Wed, 12 Nov 1997 16:36:49 -0800 (PST) (envelope-from roberte@ghost.mep.ruhr-uni-bochum.de) Received: (from roberte@localhost) by ghost.mep.ruhr-uni-bochum.de (8.8.5/8.8.4) id BAA03250; Thu, 13 Nov 1997 01:36:39 +0100 (MEZ) From: Robert Eckardt Message-Id: <199711130036.BAA03250@ghost.mep.ruhr-uni-bochum.de> Subject: Re: Specify kernel for reboot ? In-Reply-To: <199711122321.PAA19755@monk.via.net> from Joe McGuckin at "Nov 12, 97 03:21:39 pm" To: joe@via.net (Joe McGuckin) Date: Thu, 13 Nov 1997 01:36:39 +0100 (MEZ) Cc: questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31H (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk It was Joe McGuckin who wrote: > > Is there a way to specify which kernel will be rebooted from? Yes. Look at nextboot(8). You'll also need NAMEBLOCK and may be NAMEBLOCK_WRITEBACK in your kernel config. See also /usr/src/sys/i386/boot/biosboot/README.386BSD Beware if you use the OS-BS 2.x boot loader, since it uses already the sector where nextboot places its information for the next boot. > It seems that it would be useful to be able to give an argument > to shutdown/reboot to tell it which kernel to use... Robert -- Robert Eckardt \\ FreeBSD -- solutions for a large universe.(tm) RobertE@MEP.Ruhr-Uni-Bochum.de \\ What do you want to boot tomorrow ?(tm) http://WWW.MEP.Ruhr-Uni-Bochum.de/~roberte For PGP-key finger roberte@gluon.MEP.Ruhr-Uni-Bochum.de