site

source files for beau's website
git clone https://git.beauhilton.com/site.git
Log | Files | Refs

commit e8eca7018037a62df268545b896b2c5b60eb9036
parent 986bc2685b4dcfa27765c23d3e8cfb7d79da4d71
Author: Beau <cbeauhilton@gmail.com>
Date:   Fri, 11 Nov 2022 13:51:47 -0600

new post

Diffstat:
Mfeed.xml | 7+++++++
Mposts.md | 7+++++--
Aposts/ugbsd.md | 46++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 58 insertions(+), 2 deletions(-)

diff --git a/feed.xml b/feed.xml @@ -11,6 +11,13 @@ <webMaster>beau@beauhilton.com (Beau Hilton)</webMaster> <lastBuildDate>2022-11-11T00:00:01Z</lastBuildDate> <item> + <title>upgrade old OpenBSD installs</title> + <link>https://beauhilton.com/ugbsd.html</link> + <guid>https://beauhilton.com/ugbsd.html</guid> + <pubDate>2022-11-11T13:04:26Z</pubDate> + <description>Upgrade (possibly very) old versions of OpenBSD by finding a generous mirror.</description> + </item> + <item> <title>geocheatcode</title> <link>https://beauhilton.com/geocheatcode.html</link> <guid>https://beauhilton.com/geocheatcode.html</guid> diff --git a/posts.md b/posts.md @@ -1,9 +1,12 @@ # Posts +## [upgrade old OpenBSD installs](posts/ugbsd.html) + ## [geocheatcode](posts/geocheatcode.html) -## [Set Up Enterprise Wifi on Arch Linux](posts/employee-wifi.html) +## [set up enterprise wifi on arch linux](posts/employee-wifi.html) + +## [morning report 08/2021](posts/mr-2021.html) -## [Morning Report 08/2021](posts/mr-2021.html) See old posts [here](https://cbeauhilton.github.io) diff --git a/posts/ugbsd.md b/posts/ugbsd.md @@ -0,0 +1,46 @@ +# Upgrading out-of-date OpenBSD installs + + +First of all, don't do how I do. +Upgrade your installs regularly. +OpenBSD makes it very easy. + +But, if you do happen to get behind... + +`sysupgrade` is very likely to fail. + + +## What happens when you try to upgrade a very old install? + + +Lots of 404 errors. + +The `sysupgrade` utility tries to grab the next version of the OS from one of the many mirrors +(the specific one your system will use is in `/etc/installurl`.) + +The default mirrors only keep the last 2 or 3 versions around, +so when `sysupgrade` constructs the url and tries to hit it for downloads, it will fail. + + +## Where to get old versions? + + +There are a couple of mirrors that keep almost all the old versions around. + +<https://mirror.yandex.ru/pub/OpenBSD/> +has files going back to OpenBSD 2.x - they seem like +the most serious archivists, at least of the mirrors I looked at. + +<https://mirror.sjtu.edu.cn/OpenBSD/> +has files going back to 6.5 as of this writing (2022-11-11), +also not too shabby. + +Do a little `vi /etc/installurl` and change the link to one of the above, +depending on how delinquent you've been. + +That should allow you to do serial `sysupgrade` commands until you catch up. + +When you get close to the current version, +consider switching back to a closer mirror, +both for faster installs +and to be kind to the folks who just saved your bacon.