From owner-freebsd-hackers Wed Dec 4 1:47:16 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2475D37B401 for ; Wed, 4 Dec 2002 01:47:15 -0800 (PST) Received: from falcon.mail.pas.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFE5443EBE for ; Wed, 4 Dec 2002 01:47:14 -0800 (PST) (envelope-from tlambert2@mindspring.com) Received: from pool0040.cvx40-bradley.dialup.earthlink.net ([216.244.42.40] helo=mindspring.com) by falcon.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18JW7a-0004lz-00; Wed, 04 Dec 2002 01:47:12 -0800 Message-ID: <3DED8D3A.C80D040@mindspring.com> Date: Tue, 03 Dec 2002 21:06:02 -0800 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Rashim Gupta Cc: freebsd-hackers@freebsd.org Subject: Re: booting multiple kernels References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Rashim Gupta wrote: > I have a machine to which I remotely log in and do > kernel programming. It has two kernel versions - one is WORKING and the > other is TEST - the one I am presently working on. Is it possible that > the bootloader tries to first load TEST but in case TEST panics then > it loads the WORKING version of kernel without user intervention ? My > initial guess would be to use loader scripts. Any suggestions? You want the FORTH "bootnext" replacement that Jon Mini and James Harris worked on. This replaces the "nextboot" program, which was broken when FreeBSD went to the FORTH bootloader during the a.out->ELF transition. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message