OpenBSD Upgrade Guide: 6.6 to 6.7


[FAQ Index] | [6.5 -> 6.6] [6.7 -> 6.8]

Upgrades are only supported from one release to the release immediately following it.

Read through and understand this process before attempting it. For critical or physically remote machines, test it on an identical, local system first.

Start by performing the pre-upgrade steps. Next, boot from the install kernel, bsd.rd: use bootable install media, or place the 6.7 version of bsd.rd in the root of your filesystem and instruct the boot loader to boot this kernel. Once this kernel is booted, choose the (U)pgrade option and follow the prompts.

An unattended upgrade method was introduced in version 6.6 which provides the simplest method for performing this upgrade. The sysupgrade(8) program will download all install sets, verify their signatures, and reboot to do the upgrade. Using this method means sysupgrade does the download and verification of bsd.rd for you.

Another option is using the manual upgrade process (although this is not recommended and is the most error-prone method).

After upgrading the sets, apply the configuration changes and remove the old files. Finish up by upgrading the packages: pkg_add -u.

You may wish to check the errata page for any post-release fixes.

Before using any upgrade method


Before rebooting into the install kernel

Configuration and syntax changes

Files to remove

Special packages


Upgrade without the install kernel

This is NOT the recommended process. Use the install kernel method if at all possible!

Sometimes, you need to do an upgrade of a machine for which the normal upgrade process is not possible. The most common case is a machine in a remote location where there is no easy access to the system console.

Preparation

Upgrading manually

[FAQ Index] | [6.5 -> 6.6] [6.7 -> 6.8]


$OpenBSD: upgrade67.html,v 1.12 2020/10/18 13:23:14 tj Exp $