Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Mar 2011 11:18:48 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Damien Fleuriot <ml@my.gd>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Finish upgrading remote server without physically being there?
Message-ID:  <alpine.BSF.2.00.1103021100590.61205@wonkity.com>
In-Reply-To: <4D6E6B16.7010508@my.gd>
References:  <AANLkTin39JjTsts2WwgDUV2QfZL745D0P3DqTkko8TFq@mail.gmail.com> <4D6E6B16.7010508@my.gd>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Wed, 2 Mar 2011, Damien Fleuriot wrote:

> Dropping to single user is not strictly necessary, in fact I never do.
>
> buildworld
> buildkernel
> installkernel
> reboot
> mergemaster -p
> installworld
> mergemaster -F
> rebuild your ports
> reboot

Some of these steps are best practices.  If you're lucky and don't have 
a major change in sources, some can be eliminated or simplified. 
'mergemaster -p' I never use, nor the boot to single-user and manually 
mount filesystems.

buildkernel and installkernel can be combined with the "kernel" target.

The reboot after an installkernel is optional but needed to test the new 
kernel before doing an installworld.

'mergemaster -Ui' is what I use after installworld.

Rebuilding ports is only necessary when you're changing major versions 
(FreeBSD 7->8).

Summing all that up, it's possible to update in one session, with only 
one reboot.  Whether that's a good idea at any given time depends on a 
bunch of things.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1103021100590.61205>