From owner-freebsd-questions@freebsd.org Wed Jul 8 16:52:08 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D90F4996FA7 for ; Wed, 8 Jul 2015 16:52:08 +0000 (UTC) (envelope-from chuck@mantis.biz) Received: from zip.c7hosting.com (zip.c7hosting.com [96.47.41.151]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A5B651236 for ; Wed, 8 Jul 2015 16:52:08 +0000 (UTC) (envelope-from chuck@mantis.biz) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mantis.biz; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=WweGO9L4r+6g8gh6GE6W3U5FnfBoHyBzmLkMlDCIYI0=; b=qS9UYpGAC80zQtyToj9ng1ymdoPEP6uk3t6cfpbSmWswrosl6nH6XiopZcwlsg+UT83DjThnnV0hcGxtAxkGRZP4B9NPKjhcThOkdG4REKD+hPA9ZcEgb+On9VXFIsEV; Received: from [69.158.105.20] (port=55375 helo=[192.168.2.13]) by zip.c7hosting.com with esmtpa (Exim 4.85) (envelope-from ) id 1ZCrVc-0000uI-Lb for freebsd-questions@freebsd.org; Wed, 08 Jul 2015 11:43:40 -0400 Message-ID: <559D452D.4040203@mantis.biz> Date: Wed, 08 Jul 2015 11:43:41 -0400 From: "Chuck @ Mantis" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: own kernel vs. update References: <20150707172116.2aa2d38a@jive.levalinux.org> <1436286035.549129.317483193.2DD044D1@webmail.messagingengine.com> In-Reply-To: <1436286035.549129.317483193.2DD044D1@webmail.messagingengine.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - zip.c7hosting.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - mantis.biz X-Get-Message-Sender-Via: zip.c7hosting.com: authenticated_id: chuck@mantis.biz X-Source: X-Source-Args: X-Source-Dir: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jul 2015 16:52:08 -0000 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"