Blame
Date:
Wed Feb 1 05:00:29 2023 UTC
Message:
Daily backup
01
2023-01-22
jrmu
version=pmwiki-2.2.130 ordered=1 urlencoded=1
02
2023-01-22
jrmu
agent=w3m/0.5.3+git20210102
03
2023-01-22
jrmu
author=jrmu
04
2023-01-22
jrmu
charset=UTF-8
05
2023-01-22
jrmu
csum=
06
2023-01-22
jrmu
ctime=1651559690
07
2023-01-22
jrmu
host=38.87.162.154
08
2023-01-22
jrmu
name=Openbsd.Upgrade71
09
2023-01-22
jrmu
rev=2
10
2023-01-22
jrmu
targets=Openbsd.Bsdrd,Openbsd.Dump,Openbsd.Restore,Openbsd.Vmmuser,Openbsd.Cu,Openbsd.Buyvm,Openbsd.Pkgadd,Openbsd.Ssh,Openbsd.Top,Openbsd.Syspatch,Openbsd.Fwupdate
11
2023-01-22
jrmu
text=(:title OpenBSD 6.8 Upgrade Guide:)%0a%0aThis is an upgrade guide for [[https://openbsd.org/68.html|OpenBSD 6.8]] using [[openbsd/bsdrd|bsd.rd]]. It assumes you have OpenBSD 6.7 or 6.8 installed and working networking. It can be used to repair OpenBSD 6.7 or 6.8.%0a%0a'''NOTE''': This guide is '''no''' substitute for reading the [[https://www.openbsd.org/faq/|OpenBSD FAQ]]. In particular, you should read the [[https://www.openbsd.org/faq/upgrade68.html|6.8 Upgrade Guide]].%0a%0aCheck to see if you need to upgrade your OS. To find out your operating system version, type: @@uname -a@@. If it says @@OpenBSD fruit.ircnow.org 6.7 GENERIC#6 amd64@@, you can upgrade to 6.8 using this guide. If it says @@OpenBSD fruit.ircnow.org 6.8 GENERIC.MP#98 amd64@@, you can follow this guide to repair your OS. Otherwise, there is no need to upgrade.%0a%0a# Make sure to back up any files. Use [[Openbsd/dump|dump]] and [[Openbsd/restore|restore]].%0a# Make sure to notify all your users in advance that there will be downtime during the upgrade.%0a# You will need a way to view the serial console. If you are using [[Openbsd/Vmmuser|VMM]], you can view it using the [[Openbsd/cu|serial console]]. If you are using [[Openbsd/Buyvm|BuyVM]], you should use VNC. Make sure to have the serial console open so you can interrupt the normal bootup process during the upgrade.%0a# First, download bsd.rd and the SHA256 signature file from an [[https://openbsd.org/ftp.html|OpenBSD mirror]].%0a# Verify the signature, replace /bsd.rd with the new bsd.rd, then reboot:\\%0a[@%0a$ ftp https://ftp.openbsd.org/pub/OpenBSD/6.8/amd64/bsd.rd%0a$ ftp https://ftp.openbsd.org/pub/OpenBSD/6.8/amd64/SHA256.sig%0a$ signify -C -p /etc/signify/openbsd-68-base.pub -x SHA256.sig bsd.rd%0a$ doas cp bsd.rd /bsd.rd%0a$ doas shutdown -r now%0a@]\\%0aAttach:upgrade68-1.png\\%0a'''NOTE''': You must type something within 3 seconds or else bootup will continue automatically. If bootup does happen automatically, login and reboot by typing @@doas shutdown -r now@@.%0a# At the serial console (either cu or VNC), before automatic bootup, type @@boot /bsd.rd@@.\\%0aAttach:upgrade68-2.png%0a# If you did everything correctly, you should see OpenBSD 6.8 (RAMDISK_CD) in the boot screen. If you see OpenBSD 6.7, you did not follow the above steps correctly.\\%0aAttach:upgrade68-2b.png%0a# Type u for (U)pgrade. Upgrading will allow you to install OpenBSD 6.8. You can use this to either upgrade from 6.7 or to repair an existing 6.8 system.\\%0aAttach:upgrade68-3.png%0a# Press enter for vt220.%0a# To check which root disk, press ? for details. '''NOTE''': Be careful to install to the correct disk.%0a# There is no probably need to force check clean non-root filesystems, so just press enter.\\%0aAttach:upgrade68-3b.png%0a# You can get the base sets from cd (ISO), disk (such as USB flash drive), or http. For this tutorial, we will use http.%0a# For this tutorial, we will not use a proxy. Press enter for none.%0a# For the HTTP server, press ? to show a list of servers. Choose the one closest to your location.%0a# Leave the server directory as pub/OpenBSD/6.8/amd64 and press enter.%0a# Install all the sets. It is not possible to install missing sets using [[openbsd/pkgadd|pkg_add]]; you will be required to re-run the installer. So, we don't recommend skipping any sets. Missing sets may cause issues later.%0a# If downloading sets over http, make sure that the SHA256.sig file is verified.\\%0aAttach:upgrade68-4.png%0a# Press enter for done.%0a# Press enter to reboot.%0a# '''NOTE''': If you booted from ISO, flash drive, or some other external install media, you will need to make sure that the bootloader boots from the proper hard disk. If you're using BuyVM, see the [[Openbsd/Buyvm|BuyVM User Guide]] for how to switch the default boot order.%0a# The system will automatically boot OpenBSD 6.8.\\%0aAttach:upgrade68-5.png%0a# You will see a list of patches that need to be installed and conf files that need to be updated.%0a# At this point, you can now use [[openbsd/ssh|ssh]] to log in.%0a# Make sure to read and fix any error messages that you may see.\\%0aAttach:upgrade68-6.png%0a# To check if installation succeeded:\\%0a[@%0a$ uname -a%0aOpenBSD fruit.ircnow.org 6.8 GENERIC#179 amd64%0a@]%0a# If you see 6.7, installation did not succeed.%0a# To check if you have the proper amount of RAM and number of cores, run [[openbsd/top|top]].\\%0aAttach:upgrade68-7.png%0a# If you do not see the correct number of cores, make sure to reinstall all the base sets by following this upgrade guide from the beginning.%0a# You will want to [[Openbsd/syspatch|patch]] the system:\\%0a[@%0a$ doas syspatch%0a@]%0a# Then, you'll want to run [[https://man.openbsd.org/sysmerge|sysmerge]] to merge any configuration files:\\%0a[@%0a$ doas sysmerge%0a@]%0a# Then, make sure to upgrade your packages:\\%0a[@%0a$ doas pkg_add -u%0a@]%0a# You may optionally install any firmware by running [[openbsd/fwupdate|fw_update]]:\\%0a[@%0a$ doas fw_update -a%0a@]%0a# This is not advised, however, because some of the firmware may be proprietary.%0a# You will want to reboot after installing patches:\\%0a[@%0a$ doas shutdown -r now%0a@]%0a
12
2023-01-22
jrmu
time=1651559770
13
2023-01-22
jrmu
title=OpenBSD 6.8 Upgrade Guide
14
2023-01-22
jrmu
author:1651559770=jrmu
15
2023-01-22
jrmu
diff:1651559770:1651559690:=1,78c1%0a%3c (:title OpenBSD 6.8 Upgrade Guide:)%0a%3c %0a%3c This is an upgrade guide for [[https://openbsd.org/68.html|OpenBSD 6.8]] using [[openbsd/bsdrd|bsd.rd]]. It assumes you have OpenBSD 6.7 or 6.8 installed and working networking. It can be used to repair OpenBSD 6.7 or 6.8.%0a%3c %0a%3c '''NOTE''': This guide is '''no''' substitute for reading the [[https://www.openbsd.org/faq/|OpenBSD FAQ]]. In particular, you should read the [[https://www.openbsd.org/faq/upgrade68.html|6.8 Upgrade Guide]].%0a%3c %0a%3c Check to see if you need to upgrade your OS. To find out your operating system version, type: @@uname -a@@. If it says @@OpenBSD fruit.ircnow.org 6.7 GENERIC#6 amd64@@, you can upgrade to 6.8 using this guide. If it says @@OpenBSD fruit.ircnow.org 6.8 GENERIC.MP#98 amd64@@, you can follow this guide to repair your OS. Otherwise, there is no need to upgrade.%0a%3c %0a%3c # Make sure to back up any files. Use [[Openbsd/dump|dump]] and [[Openbsd/restore|restore]].%0a%3c # Make sure to notify all your users in advance that there will be downtime during the upgrade.%0a%3c # You will need a way to view the serial console. If you are using [[Openbsd/Vmmuser|VMM]], you can view it using the [[Openbsd/cu|serial console]]. If you are using [[Openbsd/Buyvm|BuyVM]], you should use VNC. Make sure to have the serial console open so you can interrupt the normal bootup process during the upgrade.%0a%3c # First, download bsd.rd and the SHA256 signature file from an [[https://openbsd.org/ftp.html|OpenBSD mirror]].%0a%3c # Verify the signature, replace /bsd.rd with the new bsd.rd, then reboot:\\%0a%3c [@%0a%3c $ ftp https://ftp.openbsd.org/pub/OpenBSD/6.8/amd64/bsd.rd%0a%3c $ ftp https://ftp.openbsd.org/pub/OpenBSD/6.8/amd64/SHA256.sig%0a%3c $ signify -C -p /etc/signify/openbsd-68-base.pub -x SHA256.sig bsd.rd%0a%3c $ doas cp bsd.rd /bsd.rd%0a%3c $ doas shutdown -r now%0a%3c @]\\%0a%3c Attach:upgrade68-1.png\\%0a%3c '''NOTE''': You must type something within 3 seconds or else bootup will continue automatically. If bootup does happen automatically, login and reboot by typing @@doas shutdown -r now@@.%0a%3c # At the serial console (either cu or VNC), before automatic bootup, type @@boot /bsd.rd@@.\\%0a%3c Attach:upgrade68-2.png%0a%3c # If you did everything correctly, you should see OpenBSD 6.8 (RAMDISK_CD) in the boot screen. If you see OpenBSD 6.7, you did not follow the above steps correctly.\\%0a%3c Attach:upgrade68-2b.png%0a%3c # Type u for (U)pgrade. Upgrading will allow you to install OpenBSD 6.8. You can use this to either upgrade from 6.7 or to repair an existing 6.8 system.\\%0a%3c Attach:upgrade68-3.png%0a%3c # Press enter for vt220.%0a%3c # To check which root disk, press ? for details. '''NOTE''': Be careful to install to the correct disk.%0a%3c # There is no probably need to force check clean non-root filesystems, so just press enter.\\%0a%3c Attach:upgrade68-3b.png%0a%3c # You can get the base sets from cd (ISO), disk (such as USB flash drive), or http. For this tutorial, we will use http.%0a%3c # For this tutorial, we will not use a proxy. Press enter for none.%0a%3c # For the HTTP server, press ? to show a list of servers. Choose the one closest to your location.%0a%3c # Leave the server directory as pub/OpenBSD/6.8/amd64 and press enter.%0a%3c # Install all the sets. It is not possible to install missing sets using [[openbsd/pkgadd|pkg_add]]; you will be required to re-run the installer. So, we don't recommend skipping any sets. Missing sets may cause issues later.%0a%3c # If downloading sets over http, make sure that the SHA256.sig file is verified.\\%0a%3c Attach:upgrade68-4.png%0a%3c # Press enter for done.%0a%3c # Press enter to reboot.%0a%3c # '''NOTE''': If you booted from ISO, flash drive, or some other external install media, you will need to make sure that the bootloader boots from the proper hard disk. If you're using BuyVM, see the [[Openbsd/Buyvm|BuyVM User Guide]] for how to switch the default boot order.%0a%3c # The system will automatically boot OpenBSD 6.8.\\%0a%3c Attach:upgrade68-5.png%0a%3c # You will see a list of patches that need to be installed and conf files that need to be updated.%0a%3c # At this point, you can now use [[openbsd/ssh|ssh]] to log in.%0a%3c # Make sure to read and fix any error messages that you may see.\\%0a%3c Attach:upgrade68-6.png%0a%3c # To check if installation succeeded:\\%0a%3c [@%0a%3c $ uname -a%0a%3c OpenBSD fruit.ircnow.org 6.8 GENERIC#179 amd64%0a%3c @]%0a%3c # If you see 6.7, installation did not succeed.%0a%3c # To check if you have the proper amount of RAM and number of cores, run [[openbsd/top|top]].\\%0a%3c Attach:upgrade68-7.png%0a%3c # If you do not see the correct number of cores, make sure to reinstall all the base sets by following this upgrade guide from the beginning.%0a%3c # You will want to [[Openbsd/syspatch|patch]] the system:\\%0a%3c [@%0a%3c $ doas syspatch%0a%3c @]%0a%3c # Then, you'll want to run [[https://man.openbsd.org/sysmerge|sysmerge]] to merge any configuration files:\\%0a%3c [@%0a%3c $ doas sysmerge%0a%3c @]%0a%3c # Then, make sure to upgrade your packages:\\%0a%3c [@%0a%3c $ doas pkg_add -u%0a%3c @]%0a%3c # You may optionally install any firmware by running [[openbsd/fwupdate|fw_update]]:\\%0a%3c [@%0a%3c $ doas fw_update -a%0a%3c @]%0a%3c # This is not advised, however, because some of the firmware may be proprietary.%0a%3c # You will want to reboot after installing patches:\\%0a%3c [@%0a%3c $ doas shutdown -r now%0a%3c @]%0a---%0a> (:redirect openbsd/upgrade70:)%0a
16
2023-01-22
jrmu
host:1651559770=38.87.162.154
17
2023-01-22
jrmu
author:1651559690=jrmu
18
2023-01-22
jrmu
diff:1651559690:1651559690:=1d0%0a%3c (:redirect openbsd/upgrade70:)%0a
19
2023-01-22
jrmu
host:1651559690=38.87.162.154
IRCNow