Handbook update section for custom kernel

Brandon Schneider brandon.schneider at icloud.com
Thu Nov 20 20:11:43 UTC 2014


Erich, you create the /boot/GENERIC.

On 11/20/2014 04:42 AM, Erich Dollansky wrote:
> Hi,
>
> On Wed, 19 Nov 2014 16:35:58 -0800
> "Dan O'Connor" <dan at ferrarishields.com> wrote:
>
>>> Hi,
>>>
>>> On Wed, 19 Nov 2014 19:42:30 +0100
>>> Marko Turk <markoml at 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
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list