From owner-freebsd-questions@FreeBSD.ORG Thu Nov 20 10:42:51 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7D247AD4 for ; Thu, 20 Nov 2014 10:42:51 +0000 (UTC) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 549A63F8 for ; Thu, 20 Nov 2014 10:42:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=LZmrJpy8wjdU7lTzf9iHPEWWCxragoNEtyKpZUeRX7k=; b=hRdWgteJe/oJ2ckqP6zpSt/HH87q3UA7gqyfKauI9PrbGPtXKp9tY8g5X/Ssx47vqja+IXad4Ce3/W0QRHY36niX8K1seaceSFeBnn5k23K32j/sKw65IjjFEIwDFilBSGD3l6c/VDVgm8XouEg55YPnp4JiLByWjgyidU8aO98=; Received: from [114.124.30.161] (port=4893 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpa (Exim 4.84) (envelope-from ) id 1XrPCK-002jVa-Bh; Thu, 20 Nov 2014 03:42:49 -0700 Date: Thu, 20 Nov 2014 18:42:41 +0800 From: Erich Dollansky To: "Dan O'Connor" Subject: Re: Handbook update section for custom kernel Message-ID: <20141120184241.6310a3c5@X220.alogt.com> In-Reply-To: <033101d00459$f41b61a0$dc5224e0$@ferrarishields.com> References: <20141119184230.GA36984@vps.markoturk.info> <20141120081504.4c04d4c0@X220.alogt.com> <033101d00459$f41b61a0$dc5224e0$@ferrarishields.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: 'Marko Turk' , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2014 10:42:51 -0000 Hi, On Wed, 19 Nov 2014 16:35:58 -0800 "Dan O'Connor" wrote: > > > > Hi, > > > > On Wed, 19 Nov 2014 19:42:30 +0100 > > Marko Turk wrote: > > > > > in handbook, section 24.2.3.1. Custom Kernels with FreeBSD 9.X and > > > Later says: > > > "Before using freebsd-update, ensure that a copy of the GENERIC > > > kernel exists in /boot/GENERIC. If a custom kernel has only been > > > built once, the kernel in /boot/kernel.old is the GENERIC kernel. > > > Simply rename this directory to /boot/kernel." > > > > > > Should the last sentence be > > > "Simply rename this directory to /boot/GENERIC." > > > > > > or am I missing something? > > > > > shouldn't it be /boot/kernel in all cases? I have never seen a > /boot/GENERIC on > > my machines. Not even after a fresh install. > > > > Erich > > Mark, is correct. > > Your newnly-built custom kernel is /boot/kernel. > mv'ing /boot/kernel.old to /boot/kernel will overwrite the newly > built custom kernel with the old GENERIC kernel. > > Instead, rename /boot/kernel.old to /boot/GENERIC (I use > /boot/kernel.GENERIC) to preserve the old GENERIC kernel... > > Remember, this applies to the first time you build your custom > kernel. After subsequent kernel builds, /boot/kernel.old will be your > old custom kernel. Don't overwrite your saved GENERIC kernel with an > old custom kernel! > > -Dan > > what program creates /boot/GENERIC then? Erich