From owner-freebsd-current Mon Nov 2 00:18:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA00681 for freebsd-current-outgoing; Mon, 2 Nov 1998 00:18:24 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dingo.cdrom.com (castles312.castles.com [208.214.167.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA00675 for ; Mon, 2 Nov 1998 00:18:23 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id AAA08915; Mon, 2 Nov 1998 00:17:37 -0800 (PST) (envelope-from mike@dingo.cdrom.com) Message-Id: <199811020817.AAA08915@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Andrew Kenneth Milton cc: freebsd-current@FreeBSD.ORG Subject: Re: Booting Elf Kernel In-reply-to: Your message of "Mon, 02 Nov 1998 12:45:45 +1000." <199811020245.MAA19222@zeus.theinternet.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 02 Nov 1998 00:17:36 -0800 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Is it possible to boot an ELF kernel? Yes. > The Release Notes say that the kernel is still in aout format, but, is > there a way? I don't have any active LKM's to worry about, and I'm > reinstalling most of my stuff in ELF format anyway. You probably want to update to -current first. Following a 'make world', build an ELF kernel by setting KERNFORMAT to 'elf' in the environment before doing the kernel build. Install the kernel as /kernel.elf Reboot, and at the boot: prompt type '/boot/loader', then abort the kernel load and type 'boot kernel.elf'. If this works for you, the next step is to update the bootblocks with 'disklabel -B -b /boot/boot1 -s /boot/boot2 ' where is your boot slice. Remove any existing /boot.config file. This will now default to using the new loader to boot your system. Note that the new loader is still under development, so YMMV. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message