Upgrade encrypted OpenBSD from 6.2 to 6.3

I took the time to switch from OpenBSD 6.2 to 6.3 on my Cloud instance with encrypted disk. As usual, it went smooth and troubleless. For the record, here are the directions.

Upgrade process

Log in to the server and download the 6.3 bsd.rd image. Then reboot.

Using the Cloud Web console, enter the passphrase and select “boot: bsd.rd” to launch the installer.

As I understand it, the default install only creates devices for real disks. So there is a need to create the “virtual” device that hosts the encrypted data ; where the system is installed.

Welcome to the OpenBSD/amd64 X.X installation program.
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? s

# cd /dev
# sh MAKEDEV sd1
# exit

Then, the upgrade process can be run “as usual”.

Welcome to the OpenBSD/amd64 X.X installation program.
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? u

Which disk is the root disk? sd1


CONGRATULATIONS! Your OpenBSD install has been successfully completed!

# reboot

Sooooo simple. Time to reboot, run sysmerge if required, then syspatch. And finally, go into the pkg_add -u process to upgrade every binary packages.

Author: Joel Carnat

@work Technical Architect and SysAdmin ; @home OpenBSD and FOSS, Karate, Kobudō, Jōdō, Bodyweight workout, Photography & Music

3 thoughts on “Upgrade encrypted OpenBSD from 6.2 to 6.3”

  1. Just answer ‘u’ straight away and it should list sd1 as an option for the disk. I’ve done a lot of upgrades on softraid and I’ve never needed to run MAKEDEV to get the disk to show up.

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.