💾 Archived View for gemini.solobsd.org › upgrade.gmi captured on 2023-01-29 at 02:18:27. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-03-01)

-=-=-=-=-=-=-

Upgrading OpenBSD 6.4 to 6.5 on Vultr

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](https://www.openbsd.org/faq/upgrade65.html#BeforeUpdate) webpage and read what you need to do before start.

Get the ramdisk kernel and put it on /

`# PKG_PATH='http://fastly.cdn.openbsd.org/pub/OpenBSD'`

`# 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](https://www.openbsd.org/faq/upgrade65.html#ConfigChanges) 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.

Enyoy!