Summary
The of their OS on 8 Oct 2024 as their 57th release 💫
.
Tutorial
Here is a step-by-step guide with a set of command-lines to run.
1. Pre-upgrade: Validate and customize
The official tutorial includes is usually a good choice.
Validate available disk size
/usr should be greater than 1.1GB.
$ df -h
Filesystem Size Used Avail Capacity Mounted on
(...)
/dev/sd1e 7.6G 3.2G 4.0G 45% /usr
OK :)
Validate compatibility with the current usage
See .
The latter this time includes is available as the response file.
Of course, you can skip this and go next if it's unnecessary. The default behavior is sufficient in most cases.
Well, the OpenBSD manual page on can be applied.
2. Upgrade with sysupgrade
OK. You must be ready.
* Caution: The command below, sysupgrade, is unable to stop once it is run.
Let's just run it, if ready:
$ doas sysupgrade
It will print out like this:
Fetching from https://cdn.openbsd.org/pub/OpenBSD/7.6/amd64/
SHA256.sig 100% |***********************************************************| 2324 00:00
Signature Verified
INSTALL.amd64 100% |**********************************************************| 44889 00:00
base76.tgz 100% |***********************************************************| 414 MB 00:32
bsd 100% |***********************************************************| 28007 KB 00:02
bsd.mp 100% |***********************************************************| 28139 KB 00:02
bsd.rd 100% |***********************************************************| 4600 KB 00:00
comp76.tgz 100% |***********************************************************| 81512 KB 00:06
game76.tgz 100% |***********************************************************| 2746 KB 00:00
man76.tgz 100% |***********************************************************| 8039 KB 00:00
xbase76.tgz 100% |***********************************************************| 60681 KB 00:05
xfont76.tgz 100% |***********************************************************| 23020 KB 00:01
xserv76.tgz 100% |***********************************************************| 20070 KB 00:01
xshare76.tgz 100% |***********************************************************| 4538 KB 00:00
Verifying sets.
Fetching updated firmware.
fw_update: add none; update intel|
Upgrading.
Connection to puja.scqr.lighting closed by remote host.
Connection to puja.scqr.lighting closed.
The machine will reboot and upgrade the system. It will reboot again and and helps a lot.
In some cases, configuration files cannot be modified automatically. Run
CODE# sysmerge
to check and perform these configuration changes.
It means manually running sysmerge in addition may be sometimes necessary.
Remember you sometimes have to manually merging conf files such as:
/etc/login.conf
Run:
$ doas sysmerge
When there is difference to be manually merged, you will see the results first. Then you will be asked:
Use 'd' to delete the temporary ./etc/login.conf
Use 'i' to install the temporary ./etc/login.conf
Use 'm' to merge the temporary and installed versions
Use 'v' to view the diff results again
Default is to leave the temporary file to deal with by hand
How should I deal with this? [Leave it for later]
Each of the top 3 options work like:
d: to preserve the current file.
i: to overwrite it with the new filesysupgradebrought.
m: to merge them manually and interactively.
If you type m to start merge mode, you will be asked to type each of them at each difference:
lto choose the left diff,
rto choose the right.
Then you will see the options to deal with the merged file:
Use 'e' to edit the merged file
Use 'i' to install the merged file
Use 'n' to view a diff between the merged and new files
Use 'o' to view a diff between the old and merged files
Use 'r' to re-do the merge
Use 'v' to view the merged file
Use 'x' to delete the merged file and go back to previous menu
Default is to leave the temporary file to deal with by hand
===> How should I deal with the merged file? [Leave it for later]
If you type e, editor will run with the merged file.
If you type i, the merged file will be installed directly:
===> Merging /etc/login.conf (running cap_mkdb(1), needs a relog)
4. Apply syspatch (skippable)
The next two tasks below are usual just in order to update the system, too.
syspatch is an important command to install binary patches officially offered by OpenBSD successively as found to be needed.
$ doas syspatch
5. Update packages
, my default shell, starts normally, because I have experienced trouble which crashed it with describes.
There is nothing this time.
7. Remove old files
This is a simple step. All what to do is just follow in the official tutorial. You may use some of:
- VLC, mpv, FFmpeg supporting hardware video acceleration
- PHP
9. Reboot
Almost done ! Finally and optionally run:
$ doas reboot
Conclusion
Hope the new system and you enjoy together long :)
With great appreciation to the OpenBSD project and the community.
SOCIAL SHARE CARD GENERATOR