Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jan 1999 23:24:04 +0000
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        Evren Yurtesen <yurtesen@ispro.net.tr>
Cc:        questions@FreeBSD.ORG
Subject:   Re: aout or elf?
Message-ID:  <19990101232404.A65069@scientia.demon.co.uk>
In-Reply-To: <Pine.BSF.4.05.9901012040070.18639-100000@finland.ispro.net.tr>
References:  <19981230102403.A22620@scientia.demon.co.uk> <Pine.BSF.4.05.9901012040070.18639-100000@finland.ispro.net.tr>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990101232404.A65069>