Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 2004 09:43:26 +0100
From:      Ruben de Groot <mail25@bzerk.org>
To:        Subhro <subhro.kar@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: upgrade 5.3b7
Message-ID:  <20041115084326.GA70816@ei.bzerk.org>
In-Reply-To: <41978d7c.751bdeae.269c.0003@smtp.gmail.com>
References:  <20041114135721.GA2501@ei.bzerk.org> <41978d7c.751bdeae.269c.0003@smtp.gmail.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041115084326.GA70816>