Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2003 21:22:09 -0700 (PDT)
From:      Doug White <dwhite@gumbysoft.com>
To:        John Birrell <jb@cimlogic.com.au>
Cc:        current@freebsd.org
Subject:   Re: config(8) KERNEL setting
Message-ID:  <20030903211948.Y88884@carver.gumbysoft.com>
In-Reply-To: <20030904041632.GA14639@freebsd1.cimlogic.com.au>
References:  <20030904041632.GA14639@freebsd1.cimlogic.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 4 Sep 2003, John Birrell wrote:

> however kern.post.mk only uses KERNEL_KO, so even though config(8) has
> set KERNEL for me, that name only gets used for the boot directory.
> There doesn't seem to be any way of getting KERNEL_KO set from the
> kernel config file.

If you change the name of the kernel binary itself, loader won't be able
to find it.  By renaming the /boot directory it goes into it is Doing the
Right Thing.

In 5.X, the "kernel" is the core kernel binary and the modules built with
it.  All of it goes into the same directory.  The /modules directory is
unused and should be deleted. When you specify a kernel to load in loader,
you ask for the /boot/foo directory name ("load foo") and loader does the
rest.

--
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org



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