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.
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
sysmerge if required, then
And finally, go into the
pkg_add -u process to upgrade every binary packages.