[Semibug] upgrading OpenBSD

Nick Holland nick at holland-consulting.net
Wed Oct 9 08:42:45 EDT 2019


On 10/9/19 6:34 AM, Nick Holland wrote:
> On 10/6/19 2:42 PM, Joe Gidi wrote:
...
>> Starting with the upcoming 6.6 release, you'll be able to upgrade with the
>> 'sysupgrade' command:
>> 
>> http://undeadly.org/cgi?action=article;sid=20191003065609
>> https://man.openbsd.org/sysupgrade
>> 
>> sysupgrade will download the new version and upgrade your system
>> automagically. After rebooting into 6.6, you'll want to run 'sysmerge' to
>> merge/update any config files that have changed, and run 'pkg_add -u' to
>> upgrade any installed packages.
>> 
>> Before you start, be sure to review the upgrade guide for any items that
>> need special attention:
>> 
>> http://www.openbsd.org/faq/upgrade66.html
>> 
> 
> If starting out...do a bsd.rd upgrade.  Download a new bsd.rd, copy it to
> the root of the file system, reboot, at the boot> prompt, enter "bsd.rd".
> Chose "Upgrade" and follow the prompts, usually just taking the defaults.
 
dammit.  facebook uses CTRL-ENTER to insert a new line, ENTER to send.
Thunderbird uses ENTER to insert a new line, CTRL-ENTER to send. 

Anyway, before I hit CTRL-ENTER, ...

sysupgrade does the bsd.rd upgrade with the defaults for you.  It's primary
purpose is systems that don't have easy access to the console to type
"bsd.rd" and answer the prompts.  

sysmerge is run automatically on first boot, but sometimes there are
things it can't deal with, so a second running after the first boot
isn't a bad idea.

pkg_add -u to update any packages you have in place.

It's really crazy easy.  With anything but a local mirror, most of the
time of the upgrade will be spent downloading files.  With a good
connection, you will be looking at around 15 minutes to do an upgrade
(obviously, that's a very rough estimate).

Nick.



More information about the Semibug mailing list