From owner-freebsd-current Fri Jan 22 00:42:26 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA10034 for freebsd-current-outgoing; Fri, 22 Jan 1999 00:42:26 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ceia.nordier.com (c2-17-dbn.dial-up.net [196.34.155.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA10027 for ; Fri, 22 Jan 1999 00:42:21 -0800 (PST) (envelope-from rnordier@nordier.com) Received: (from rnordier@localhost) by ceia.nordier.com (8.8.7/8.6.12) id KAA16785; Fri, 22 Jan 1999 10:41:15 +0200 (SAT) From: Robert Nordier Message-Id: <199901220841.KAA16785@ceia.nordier.com> Subject: Re: Booting from 2nd IDE [Re: Experiences with aout-to-elf and new bootblocks] In-Reply-To: <199901220703.JAA15837@ceia.nordier.com> from Robert Nordier at "Jan 22, 99 09:03:09 am" To: peter.jeremy@auss2.alcatel.com.au (Peter Jeremy) Date: Fri, 22 Jan 1999 10:41:12 +0200 (SAT) Cc: current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I wrote: > Peter Jeremy wrote: > > > Mark Blackman wrote: > > >FWIW, I've done it under 2.2.7 by > > > > > >1) installing booteasy on both wd0 *AND* wd2 > > >2) altering the boot.config to > > > 1:wd(2,a)kernel > > > > This works for an a.out 3.0 kernel, but the old bootloader can't handle > > ELF kernels, so this isn't a usable solution. > > The new boot blocks, installed by > > disklabel -B $DRIVE > > do handle (both a.out and) ELF kernels, despite looking very similar > to the old a.out-only ones. The idea is to provide a fallback > means of booting a kernel in either format. > > So using a /boot.config statement like the above (or hitting any > key before seeing the /boot/loader prompt, to get the old "boot:" > prompt instead), is a recommended workaround for any temporary > /boot/loader problems. I should have added that, where more than one version of FreeBSD is installed on the same machine, updating the default boot disk to the latest boot blocks is also suggested. A /boot.config like 1:wd(2,a) would then pass control directly to a non-default copy of /boot/loader. -- Robert Nordier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message