Date: Thu, 20 Nov 2014 18:42:41 +0800 From: Erich Dollansky <erichsfreebsdlist@alogt.com> To: "Dan O'Connor" <dan@ferrarishields.com> Cc: 'Marko Turk' <markoml@markoturk.info>, freebsd-questions@freebsd.org 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>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, On Wed, 19 Nov 2014 16:35:58 -0800 "Dan O'Connor" <dan@ferrarishields.com> wrote: > > > > Hi, > > > > On Wed, 19 Nov 2014 19:42:30 +0100 > > Marko Turk <markoml@markoturk.info> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141120184241.6310a3c5>