From owner-freebsd-current Thu Jan 21 23:04:55 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA01096 for freebsd-current-outgoing; Thu, 21 Jan 1999 23:04:55 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from ceia.nordier.com (m1-49-dbn.dial-up.net [196.34.155.49]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA01086 for ; Thu, 21 Jan 1999 23:04:50 -0800 (PST) (envelope-from rnordier@nordier.com) Received: (from rnordier@localhost) by ceia.nordier.com (8.8.7/8.6.12) id JAA15837; Fri, 22 Jan 1999 09:03:12 +0200 (SAT) From: Robert Nordier Message-Id: <199901220703.JAA15837@ceia.nordier.com> Subject: Re: Booting from 2nd IDE [Re: Experiences with aout-to-elf and new bootblocks] In-Reply-To: <99Jan22.110737est.40377@border.alcanet.com.au> from Peter Jeremy at "Jan 22, 99 11:08:12 am" To: peter.jeremy@auss2.alcatel.com.au (Peter Jeremy) Date: Fri, 22 Jan 1999 09:03:09 +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 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. -- Robert Nordier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message