Date: Wed, 08 Jul 2015 11:43:41 -0400 From: "Chuck @ Mantis" <chuck@mantis.biz> To: freebsd-questions@freebsd.org Subject: Re: own kernel vs. update Message-ID: <559D452D.4040203@mantis.biz> In-Reply-To: <1436286035.549129.317483193.2DD044D1@webmail.messagingengine.com> References: <20150707172116.2aa2d38a@jive.levalinux.org> <1436286035.549129.317483193.2DD044D1@webmail.messagingengine.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7/7/2015 12:20 PM, Mark Felder wrote: > > 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. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" any reason this step shouldn't be in the handbook under making your own kernel? seems like a smart move having: kernel="foo,generic"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?559D452D.4040203>