Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 2014 16:35:58 -0800
From:      "Dan O'Connor" <dan@ferrarishields.com>
To:        "'Erich Dollansky'" <erichsfreebsdlist@alogt.com>, "'Marko Turk'" <markoml@markoturk.info>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: Handbook update section for custom kernel
Message-ID:  <033101d00459$f41b61a0$dc5224e0$@ferrarishields.com>
In-Reply-To: <20141120081504.4c04d4c0@X220.alogt.com>
References:  <20141119184230.GA36984@vps.markoturk.info> <20141120081504.4c04d4c0@X220.alogt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?033101d00459$f41b61a0$dc5224e0$>