Describe FreeBSD-Update here.

1. FreeBSD Update

The freebsd-update(8) utility supports binary upgrades of i386 and amd64 systems running earlier FreeBSD releases. Systems running 7.[0123]-RELEASE, 8.0-RELEASE, 8.1-BETA1, or 8.1-RC[12] can upgrade as follows:

# freebsd-update upgrade -r 8.1-RELEASE

During this process, FreeBSD Update may ask the user to help by merging some configuration files or by confirming that the automatically performed merging was done correctly.

# freebsd-update install

The system must be rebooted with the newly installed kernel before continuing.

# shutdown -r now

After rebooting, freebsd-update needs to be run again to install the new userland components, and the system needs to be rebooted again:

# freebsd-update install

# shutdown -r now

更新中に /var があふれて、最初からやり直しです。-- ToshinoriMaeno 2010-07-24 09:45:56

1.1. freebsd 9.1 RC2

amd64/i386に対してはFreeBSD Updateで9.0-RELEASE,9.1-BETA1,9.1-RC1からアップグレードする方法も説明があります。まず,次の手順でカーネルをアップデートしたのち,一旦システムを再起動します。

freebsd-update upgrade -r 9.1-RC2
freebsd-update install
shutdown -r now

システムが起動してきたら次の手順でユーザランドをアップデートして,再びシステムを再起動します。

freebsd-update install
shutdown -r now