Date: Tue, 07 Jul 2015 11:20:35 -0500 From: Mark Felder <feld@FreeBSD.org> To: freebsd-questions@freebsd.org Subject: Re: own kernel vs. update Message-ID: <1436286035.549129.317483193.2DD044D1@webmail.messagingengine.com> In-Reply-To: <20150707172116.2aa2d38a@jive.levalinux.org> References: <20150707172116.2aa2d38a@jive.levalinux.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 7, 2015, at 10:21, Lev wrote: > So, I built my own kernel to have OSS4 support. Then I updated the base > system to p14, and I saw that the kernel and zfs.ko and ufs.ko is > overwritten in /boot/kernel. > > Is this okay? How can I prevent upgrades to overwrite my own kernel? > > Sahll I recompile my kernel? If the source is not updated, why the > binary modules? > > Thanks, > Levente > When I do this I like to install my kernel to a custom directory make installkernel KERNCONF=whatever KODIR=/boot/foo Now the kernel goes into /boot/foo You can ensure the system uses this kernel at boot by putting kernel="foo" in /boot/loader.conf You can also put kernels="foo,bar,baz" in loader.conf if you want the boot menu to have those kernels listed as options.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1436286035.549129.317483193.2DD044D1>