best overall upgrade from 8.x?

Dimitry Andric dim at
Sat Nov 15 15:21:07 UTC 2014

On 15 Nov 2014, at 13:53, Adrian Wontroba <aw1 at> wrote:
> On Sat, Nov 15, 2014 at 12:44:33PM +0100, Andrea Venturoli wrote:
>> On 11/15/14 05:48, Kevin Oberman wrote:
>>> I'd wait a month or so and, if no problems that might impact you pop up,
>>> I'd go with 10.1
>> Uh... is direct upgrade (using sources) possible from 8.4 to 10.1?
>> No need to step through 9.x?
> Even the move from 9.2 (a near year old 9/stable) to 10.1 (stable/10 as
> of about 3 weeks ago) is slightly problematic.
> Following the normal upgrade procedure of installkernel and then
> rebooting with the userland untouched runs into a problem whereby
> rc.conf falls apart with a shower of eval errors, no networking, ...
> I do not know the cause.

I almost certainly know the cause: you are supposed to reboot into
single user mode after installkernel.  A regular boot to full multi user
mode may or may not work, depending on numerous unpredictable
circumstances. :-)

> Fortunately the quick and dirty upgrade approach works for this case.
> I did not expect it to (8-)
> cd /usr/src
> mergemaster -p
> make installkernel
> make installworld
> mergemaster
> shutdown -r now

This is not the correct procedure, and just as above, it may or may not
work.  The new world you install with installworld can depend on kernel
features which are only available *after* you reboot with the kernel
just installed with installkernel.

The proper procedure, mentioned at the bottom of /usr/src/UPDATING, is:

        <make sure you have good level 0 dumps>
        make buildworld
        make kernel KERNCONF=YOUR_KERNEL_HERE
        <reboot in single user>                         [3]
        mergemaster -Fp                                 [5]
        make installworld
        mergemaster -Fi                                 [4]
        make delete-old                                 [6]

Here, "make kernel" is just shorthand for "make buildkernel" followed by
"make installkernel".


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <>

More information about the freebsd-stable mailing list