upgrade 5.3b7
Ruben de Groot
mail25 at bzerk.org
Mon Nov 15 09:15:17 GMT 2004
On Sun, Nov 14, 2004 at 10:22:58PM +0530, Subhro typed:
>> <snip>
>>
>> Read /usr/src/UPDATING
>>
>> > If i do make installkernel and reboot without make installworld. The
>> > old kernel will be loaded right ?
>>
>> Wrong. The new kernel will be loaded with the old world, which is
>> generally not a problem. You can then do an installworld and
>> mergemaster.
>
> This is a generalized statement. I would just add the word "Generally"
> before the previous quote of Ruben. However refer to /usr/src/UPDATING. The
> information there always overrides the handbook. For example, updating from
> 5.2.1 (or lower) to 5.3 first calls for an installworld before the kernel
> can be built. Trying to rebuild the kernel with buildkernel in an old world
> would surely fail. These kind of deviations are seen with major changes to
> the source tree, in this case it's the system compiler upgrade.
It's never a good idea to do an installworld before building (and installing)
the new kernel. Don't do this. I think you are referring to the 20040728
entry in UPDATING, which reads:
With the upgrade of the system compiler, the kernel has been upgraded
to match the new system compiler. This makes it impossible to build
a new kernel with the old compiler. Upgrade your system via
make buildworld and make kernel (see below) to fix this problem.
This clearly states that you *can* build the kernel *after* you do a make
buildworld. It does *not* say you have to do an installworld.
Ruben
More information about the freebsd-questions
mailing list