From owner-freebsd-questions Fri Jan 1 16:41:56 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA15672 for freebsd-questions-outgoing; Fri, 1 Jan 1999 16:41:56 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA15667 for ; Fri, 1 Jan 1999 16:41:53 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from ben by scientia.demon.co.uk with local (Exim 2.10 #3) id 0zwDvI-000Gvf-00; Fri, 1 Jan 1999 23:24:04 +0000 Date: Fri, 1 Jan 1999 23:24:04 +0000 From: Ben Smithurst To: Evren Yurtesen Cc: questions@FreeBSD.ORG Subject: Re: aout or elf? Message-ID: <19990101232404.A65069@scientia.demon.co.uk> References: <19981230102403.A22620@scientia.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Evren Yurtesen wrote: > hello > in my /etc/objformat > there writes elf > but when I compile a kernel with elf ... > (I set it in make.conf) then it does not boot > it say invalid formad > why is that? what is wrong? You cannot boot an ELF kernel directly. You'll need to do: cd /usr/src/sys/boot make all install (I think that's it) and then specify `/boot/loader' as the kernel to boot (you can put that in /boot.config as well) and then follow the instructions given. Use the boot command to boot a kernel, for example `boot kernel.elf' if that's what you've called your ELF kernel. -- Ben Smithurst ben@scientia.demon.co.uk send a blank message to ben+pgp@scientia.demon.co.uk for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message