Wednesday, December 11, 2013

FreeBSD 9.1 to 9.2 Upgrade with freebsd-update

FreeBSD 9.2 brings a very nice update to ZFS : LZ4 compression.  Upgrading from 9.1 to 9.2 is quite easy if you have a standard install (no customization of the code).

The basic process, which should work for other versions as well is this:

1) Get your system up-to-date with the latest patches for your version of FreeBSD. This isn't necessary, but I think may avoid some problems.

freebsd-update fetch
freebsd-update install

2) Upgrade the kernel

freebsd-update upgrade -r 9.2-RELEASE
freebsd-update install

3) Update userland (finishes off the 2 part install)

freebsd-update install

4) Update pkg if needed

pkg update

5) Enjoy

With my 9.1 -> 9.2 update, I didn't have any messy mergemaster conf files to pour through, nor did my packages notify me that I needed to upgrade them - One of the more painless upgrades I've made.


  1. # freebsd-update fetch
    Looking up mirrors... 5 mirrors found.
    Fetching metadata signature for 9.1-RELEASE from done.
    Fetching metadata index... done.
    Inspecting system... done.
    Preparing to download files... done.

    The following files will be added as part of updating to 9.1-RELEASE-p10:


    1. Hey,

      I get that too, but it doesn't stop my update. Does it stop yours?