From owner-freebsd-current Mon Nov 2 02:43:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA18015 for freebsd-current-outgoing; Mon, 2 Nov 1998 02:43:00 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from zeus.theinternet.com.au (zeus.theinternet.com.au [203.34.176.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA18009 for ; Mon, 2 Nov 1998 02:42:57 -0800 (PST) (envelope-from akm@zeus.theinternet.com.au) Received: (from akm@localhost) by zeus.theinternet.com.au (8.8.7/8.8.7) id UAA23800; Mon, 2 Nov 1998 20:41:16 +1000 (EST) (envelope-from akm) From: Andrew Kenneth Milton Message-Id: <199811021041.UAA23800@zeus.theinternet.com.au> Subject: Re: Booting Elf Kernel In-Reply-To: <199811020817.AAA08915@dingo.cdrom.com> from Mike Smith at "Nov 2, 98 00:17:36 am" To: mike@smith.net.au (Mike Smith) Date: Mon, 2 Nov 1998 20:41:16 +1000 (EST) Cc: freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (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 +----[ Mike Smith ]--------------------------------------------- | > 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 I'd got this far... of course it wouldn't boot :-) | Reboot, and at the boot: prompt type '/boot/loader', then abort the | kernel load and type 'boot kernel.elf'. I did some mucking around today. I got to the point of putting /boot/loader into boot.config and then got very confused... as it didn't want to load ',kernel.old' I've got it booted now in time to read this email... | 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 is my final step :-) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | Milton ACN: 082 081 472 | M:+61 416 022 411 |72 Col .Sig PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au|Specialist To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message