The Dark Muon: You can find me on Mastodon and Twitter
Tested on OpenBSD 6.3, 6.4
First of all we take a backup of our data. In this case, I rolled out a snapshot of my VPS.
Then refer to the Pre-upgrade steps webpage and read what you need to do before start.
Get the ramdisk kernel and put it on /
# ftp -V $PKG_PATH/6.5/amd64/bsd.rd
# ftp -V $PKG_PATH/6.5/amd64/SHA256.sig
# signify -C -p /etc/signify/openbsd-65-base.pub -x SHA256.sig bsd.rd
# cp bsd.rd /
Now, boot your VPS from the install kernel. Use the webconsole. You know how to boot from a different kernel, right?
Your system will start the install assistant but this time you will select (U) to upgrade and the process will be very similar to a new install. Your system will now reboot.
Then go, read and apply all the Configuration changes that may affect your current system. Remove obsolete files, review the
dmesg -s output and correct any failures.
Finally, update all your packages with
pkg_add -u and re-run sysmerge in order to fix any changed files.
© 2018-2020 Guillermo García Rojas C.